I need one MT4 indicator (supply and demand) converted to TradingView Pine Script indicator. To my knowledge, this indicator doesn\’t repaint or back paint and hence the TradingView pine script shall also not repaint.<b><u> It needs to be the exact same in look and behaviour.</u></b> There must not be any limitations except for the max 500 boxes / 500 lines limitations of TradingView. The similar thing must be replicated in TradingView pine script, because the strategy back test will be dependent on it. You have to remember the following things:
1. There should be input choice as per the mq4 source code:
2. Default colurs may please be kept as:
a. Supply Zone – color.new(color.yellow, 85)
b. DemandZone – color.new(color.aqua, 85)
2. If there is successful breakout/breakdown of the zone, the whole zone must be deleted as it is behaving in mq4 code on MT4 platform.
3. The upper value of the supply zone and the lower value of the demand zone should be displayed as a label after the last bar, instead of the current view in MT4. The value should be available to consider for the condition of crossover and crossunder and alerts generated.