Forums › ProRealTime English forum › ProOrder support › Why are these stoplosses not removed? › Reply To: Why are these stoplosses not removed?
03/20/2019 at 9:09 AM
#94122
I’ve just read your code more closely and I think you mis-understand how SET STOP LOSS/pLOSS/%LOSS/$LOSS works. The code will only set the order for the last SET STOP instruction that is read. Usually people have it at the end of the code for this reason. Calculate the distance the stop needs to be in the code and then give one instruction at the end of the code. I assume your supertendindicator and psarindicator values are calculated as a distance in pips rather than as a price?