I am using 2 moving averages for and short and using a trailing stop profit As I cant use a stop loss and profit target as well with Proorder I wanted to close out when my close fell through the 1st Moving average for a long and up through first moving average for a short
I tried writing the following but the program did not like use of word “close”
If longmarket and c < indicator1 then close at market
any suggestions or can I write something else for a stop loss or profit target
Many thanks
Richard Hexton
To close a LONG trade you have to use the instruction SELL, to close a SHORT trade you have to use EXITSHORT, instead.
Thank you appreciated – new tot this!!