zavier / Publications
Forum
How to change signal when SL is hit
Hi all, I have a string CurrentSignal = "NONE"; I have my SL code. So once I have a buy or sell signal it will activate the thrailing stop however, after it takes profit using thrailing stop I got no where to reset my CurrentSignal to "NONE". How can I reset it? CODE: if(type==OP_BUY) {