Info About Pending Order
-
Hi guys i have a question about pending orders...
my EA after entering a trade (for example buy trade with TP and SL at 10 pips, amount 0.1% risk based on balance), should place a pending order in the opposite direction at the same price level of the stop loss of the first trade, with the SAME amount of lots which it was opened the first trade...how do I programming in the pending order the same amount of lots of first trade ?
Thanks
-
One way is to put numbers in both blocks (the one to create a trade and the other to create a pending order). You know the open price of the trade... well, almost, if there is no slippage... and you know where the SL will be, so you can put the pending order at 10 pips from the current price. But if you want to exactly copy the values from the trade, try this - https://fxdreema.com/shared/vOGLv415
Be careful with these % settings for MM. In some % options the correct value is like 100%, while in other options 2.5% is the normal. Sometimes people are trying options where the default value is 100%, they try something like 5% there and they they are asking me why the lot size is always the minimum
-
Thanks a lot for support this tool is GREAT!
One last question:
how do I make the EA work for currencies that don't have the same decimal format: I mean on EURUSD the EA work Great because the pips value have this format : 1.0000 (4 decimal places), on USDJPY the EA does't select the right input levels because it has this format: 100.01how can I solve this problem?
Thanks
-
Click on the settings icon and look at the Point format rules. I tried to explain it there, hopefully you will get it