Order Script Modifiion
Results 1 to 6 of 6

Thread: Order Script Modifiion

  1. #1
    Hi there,

    could a kind soul help me alter this simple script.

    What I want it to do, will be automatically calculate the lot size, dependent on a input risk% of EQUITY (not equilibrium ).

    Risk input: 0.5% (default)

    Take Profit: 300 (default)

    Stop Loss: 100 (default)

    So that the script dependent on the above automatically computes the lot size and places the trade when dragged to the chart. .

    Thanks a lot, I hope anyone can help me a bit

    BR

    PC
    https://www.nigeriaforextrading.com/...7819222355.mq4

  2. #2
    Here it is.
    Should you find mistakes, please report.

    Edit: It didn´t work on ECN, therefore I made it ECN-compatible.
    Please utilize the new attachment.

    You will find just two more files aside from the script.
    One enter the experts/include folder,
    the other into experts/libraries folder.

    You need to restart mt4 to have the script working.
    https://www.nigeriaforextrading.com/...1236108623.zip

  3. #3
    Thanks a million!

    I could test and report back

    BR

    PC

    Quote Originally Posted by ;
    This is.
    If you find errors, please report.

  4. #4
    Pipcruiser,
    I updated the script.
    Now it works on most of brokers.
    It has the choice to choose a MagicNumber too, for some that is helpfull.

  5. #5
    Really like this script, thank you!

    Can it be feasible to have the stop loss and take profit set through an Average Daily Range multiplied by a user specified amount? eg. 0.25 for SL and 2.00 for TP

    This could make quickly applying it into numerous pairs much easier (30 pips on cable is quite different to 30 pips in something like USDJPY at the moment).

    ML


    edit:
    discovered this. It doesn't use ADR however ATR is definitely near enough:
    https://www.nigeriaforextrading.com/...t-clients.html

  6. #6
    Anyone?

    Thx

    PC

    Quote Originally Posted by ;
    Hi there,

    could a kind soul help me alter this simple script.

    What I need it to do, is automatically figure out the lot size, based on an input risk% of EQUITY (not balance).

    Risk input: 0.5% (default)

    Take Profit: 300 (default)

    Stop reduction: 100 (default)

    So that the script based on the above automatically calculates the lot dimensions and places the trade when dragged to the chart. .

    Thanks a lot, I hope anybody can help me a bit

    BR

    PC

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.