- Credits
- 11
Let me think about how I can code this.Wonderful Tanaka San, perfect option. Now some feedback about it's working.
Check below picture, you will understand what happened. When EA pick single first order on signal, power order placed properly however lot size should be increased to 10% based on original order, currently it is 5%. Or best if you can create a box to feed value in percent how big value should be we like to pick.
Issue happened when EA picks martingale and I understand the reason. When first order pick's pending order placed at same time, it supposed to place either when price is only 5 pips away from TP or instead placing pending order, when price reach 2 pips away TP, EA will directly open order instead of placing pending order.
Now what happened below, order picked when first order was not in range, market reverse and martingale applied so TP of breakeven stuck and increased rather, I hope you get my point.
View attachment 94075
More easier way in steps:
1-) First order will be picked on signal with 10 pip
2-) No pending power order, EA will wait till price reach up to 2 pips to TP
3-) As soon as price will reach 2 pips away to TP, robot will open order immediately instead of pending order. Brokers will never understand and mess with pending orders.
4-) In case price reverse and martingale applied, power order will follow step 2(above)
5-) Power order will always opens directly only when price is 2 pips away from breakeven or lets say TP because breakeven is also TP for all martingale orders.
Above is suitable for robot trading, however when I am doing manual trading, I keep changing the order which looks fine only in manual trading but for robot trading, above procedure is more secure.
Tanaka san if you have more better idea, please you can implement but there is no hurry for it, I understand your busy schedule, you can make make it anytime at your convenience, but when it will be successfully made, I will post u all my final versions of robots to add this option
I am very thankful to your time and support. Arigato![]()
By the way, I don't get it.
If 1st order is 0.1 LOT, then 10% increased lot size =0.11 lot?lot size should be increased to 10% based on original order
What if 1st order is 0.1LOT, then what is power order lot size?




