Code the following
Setprofittarget(2000);
Setstoploss(1000);
Code an exit that gets out on the close of the trading session.
Setexitonclose;
Code a trailing stop that activates after a $500 positive excursion, and trails price by 2 %.
Setpercenttrailing(500,2);
Login
Password
Signup Here Lost Password