Quote:
|
Originally Posted by newdigital
...1. Open script in MetaEditor and set your desirable default settings.
Default settings in the script are started and finished
by this line //+--------------------------+
|
I just checked it.
Works fine!
First of all you need to modify the settings.
Explanation of the settings inside the script:
Code:
Order_Find_Radius = 10;
It is distance between the price to open the order and where you drop this sctipt. Default is 10. If you are sniper so you may set to zero. It does not affecting on anything a lot because you should open the order manually before. So it is affecting on the following: will this script recognize the order to modify or not. I prefer 10 or more. 20 for example. Because I am not a sniper by mouse
Code:
Take_Profit = 50;
int Stop_Loss = 50;
It is understandable: stop loss and take profit value. You may set it to 100 (both) to move easy after.
Understabdable.
Code:
Expiration_Shift = 0;
It is for pending orders only. Value is in bas. For example, if you are attaching (moving) ther script to H4 chart and Expiration_Shift = 3 so it means that the order will be expired in 12 hours (3 bars x 4 H timeframe).
How to use this script:
1. Open the order.
2. Move this script by mouse to the place with order price on the chart. If you get the error so it means that you are not sniper and you moved the script far away from the order on the chart. Just increase Order_Find_Radius value in this case. I prefer 20 for example (20 pips target aroud the order open price on the chart).
3. Wait. Pop up window will be opened (see image attached). Ignore this pop-up window (do not click on "OK" or "Cancel", just ignore). If this pop-up window prevent you to see or move the lines on the chart so just move this window to somewhere by mouse.
4. You should see the lines. Just wait 2 or 3 seconds. To speed up this process, or if you do not see red/green stop loss and take profit lines so simple click on the chart by mouse in any place.
5. Move take profit line and stop loss line what ven distance you want (by mouse on the chart). How to move? Double mouse click on the line and move.
6. So, now only you may press "OK" in pop-up window. Afer that order will be modified.
7. If you want to modify once again so move this script to the "open order place" and repeat it.
It looks complicated but it is very simple. Just set your desirable Order_Find_Radius and use your mouse.