TARGET FIXING
-
Dear Friends,
I made an EA in which
Buy order with fixed profit of 150 pips (eg: Buy @ 1830 with tp 1831.50)
Trailing Orders "Pips away from open price" is -650 pips (Buy @ 1823.5 )
When trailing order is placed after -650 pips, it is fixing the target as same as first order (1831.50) but i need at 1828.3 for both orders so it will give 300 pips in total.Target requirement
First order 150 pips
Second order 300 pips (Target for both orders at same place)
Third order 450 pips (Target for three orders at same place)
Fourth order 600 pips (Target for four orders at same place)Please advise which block to be used and which option to be used.

-
@karthiey Can you please share the link to the project?
-
@l-andorrà https://fxdreema.com/shared/MPKNquL7c
Sir in simple, it should average the 1st order entry price and 2nd order entry price and from their it should put 150 pips as target. If 3 orders, then average the three entry price and put 150 pips target from their.
-
@karthiey I see one only buy block. I understand this is just a sketch of your project. The problem I see is that you will have different price levels for each open price. That cannot be averaged in any way. I guess you mean averaging the COMBINED profit of all trades to be 150 pips maybe?
-
@l-andorrà As you said, each open price is at different price levels and i want to average the price levels and to fix 150 pips profit. However you said it is not possible. Thank you sir.
-
@karthiey said in TARGET FIXING:
@l-andorrà As you said, each open price is at different price levels and i want to average the price levels and to fix 150 pips profit. However you said it is not possible. Thank you sir.
i'm not sure, but this question has been asked many times, you can search on the forum "take profit average" "one take profit for grid" etc.....
This is an example for calculating the average of different entry prices and different lot sizes together also.
I've never tried very well, it seems to work, please try it yourself. I hope it's useful. -
@ambrogio I will try this out and let me see the result. Thank you so much for your response.
-
@karthiiy you're welcome! let me know