How to place orders with various TP- Levels in v11?
How to take Profits at various Levels of the Trade in v11? i.e. The Trade has reached a Level and I want to take out 50% Profit with the remaining 50% caring on.
There you go (sell half position after 30 pips gained):
IF MyLongConditions AND Not OnMarket THEN
BUY 2 contracts at Market
SET STOP ...
SET TARGET .....
ENDIF
IF LongOnMarket AND ((close - PositionPrice) > 30 * PipSize) THEN
SELL 1 contract at Market
ENDIF
SeppT – Your topic has been moved. It is an auto strategy question and not a platform issue.
Please post your future topics in the correct forum:
_ ProRealTime Platform Support: only platform related issues.
_ ProOrder: only strategy topics.
_ ProBuilder: only indicator topics.
_ ProScreener: only screener topics
_ General Discussion: any other topics.
_ Welcome New Members: for new forum members to introduce themselves.
Hi Roberto,
Tank you for your response and the code. I however won’t to do this on manual trades not as an auto strategy.
Manual trade is even easier surely … Buy 2 then sell 1 ?? 🙂
Thanks for your responce. I Figured that much, What Im trying to figure is how to take out 50% at TP1 a further 25% (of the remaining 50%) at TP2… and the rest can run till exit criteria is met.
So in manual trade … Buy 2, sell 1, then sell 0.25 then 0.75 runs until it meets your exit criteria?