Posted By: AdamWu
How to plot stop TradeStopLimit - 08/06/20 15:03
For open_trades, I would like to plot the min price (where trade will stop loss), and max price (where trade will take profit). I tried this, but:
1. Are TradeTrailLimit, TradeStopLimit the right parameters? I set Stop, Trail, TrailStep, and TrailSlope.
2. They are plot to a new chat, how can I plot them to the main price chart?
1. Are TradeTrailLimit, TradeStopLimit the right parameters? I set Stop, Trail, TrailStep, and TrailSlope.
2. They are plot to a new chat, how can I plot them to the main price chart?
Code
for(open_trades) { plot("Dotted",TradeTrailLimit,DOT,RED); plot("Dotted",TradeStopLimit,DOT,GREEN); }