A few updates to the previous post. In order to catch more exact points of TP and SL, the scrypt takes "high" as the source of SMA if the percentage is greater than 0 ( > 0), and "low" as the source when the given percentage is less than 0 ( < 0). So there are two basic SMA line ( one with "high", the other one with "low"), and the other lines would be results of...
Hey Trailing SL or TP with Alerts (MV) if you want trailing Stoploss Alerts Alert condition select by default Symbol Less Than Select Trailing SL or TP with Alerts (MV) Second Plot if you want trailing Takeprofit Alerts Alert condition Select by default Symbol Greater Than Select Trailing SL or TP with Alerts (MV) First plot