Can you help me correct my coding , in which I'd like to trail both TP and SL, may be I am too optimistic but it seems do not working. please help to correct it : it is a function looks like this following:
////////////////////// trailing profit BOOL function ///////// void TrailingProfit() { if profit<=100 useLossToClose=false; else useLossToClose=true;
if profit>profitToClose lossToClose=profitToClose; profitToClose=profitToClose+50;