Goal: I want to use 30 pips for Take Profit for the initial trade. This TP is sent with the trade to the broker server and visible to other traders. I also want to use 25 pips for hidden TP which is only visible to me.
How-to: Here is an example EA configuration how to achieve the above:
Description: The EA enters the initial trade with a random direction if the market is not yet traded. The EA sets the 30 pips TP for the open initial trade. This TP is sent to the broker server therefore the broker can see it and close the trade when the market price hits the TP. The EA also monitors the market price and closes off the initial trade when the price hits the 25 pips hidden TP.