Can someone please help me with a simple 'stop and reverse' code? If Im long 1 and get stopped out I would like to reverse and get short at the price I got stopped at, or vice versa for a short....The line Im using for the stop is:
SetStopContract;
SetStopLoss(Amount);
Im just not sure how to reverse the position at the stop price....Thankyou