What is the best way to build a virtual SL - TP that converts to a market order after X pips?
-
Good Day,
I am looking to create 2 separate "In Trade" sequences.
A virtual trailing stop at X pips that "Close Trade"
A virtual TP at X pips that "Close partial"
The purpose is to avoid publishing a SL and TP stop orders.The attached EA opens a trade.
Establishes a variable SL and TP
Draw a line were the virtual SL and TP are supposed to be
Alerts (Prints on Screen - Statistics)https://fxdreema.com/shared/D9x9j8cec
I have created the basis for these virtual stops but I have encountered the following errors.
EA - Does - Enter a trade
EA - Does NOT - Draw the line or print the statistics.Any suggestions?
Next will be to create a Virtual SL - Loop that will update the SL variable "on tick" and trigger a market order if Virtual SL is triggered.
-
Do not use Terminal Variables. Just use 'normal' ones.