Range breakout trading system: ------------------------------- NO.of candles to check : Method to check candles : 1. Day's first candle to forward 2. Day's last candle to backward Add filter indicator : 1. True 2. False Show Lines : 1. True 2. False Show Arrows : 1. True 2. False Indicator for filter entries (for buy/sell/stoploss ) 1. Trend Filter : settings by default 21 ================================================================= Logic for plotting Buy arrow with alert notifications: ----------------------------------------------------- First 2 conditions are very important First condition is No.of candles to check : say example 6 2nd condition is from where to check highest high and lowest low for example, we select Option 2 : so, this has to check and draw two lines, for highest high and lowest low of past 6 hours candles now, any candle closes above highest high of past 6 candles as per logic we need to check trend filter, if it is also uptrend, plot a buy arrow immeidately along with push/alert notifications, by mentioning name of the script, time, and price (opening price) exit/stoploss/target : ---------------------- when trend filter changes to negative trend, alert for exit buy positions re entry : ----------- as per logic , when it met. --------------------------------------------------------------------------------- Sell conditions : ----------------- any candle closes below lowest low of past 6 candles, check trend indicator if trend indicator also downside, plot a sell arrow immeidately exit / stoploss / target : ---------------------------- when trend indicator changes to uptrend, close buy positions with alert important note : i put 6 as example , and whatever no.of candles given those to be added for highest high/lowest low calculation