Hi Guys can anybody please code 3 line break for zerodha pi?
Its a form of charting tool available in Kite and Pi
Something about 3 line break - invented in Japan, Three Line Break charts ignore time and only change when prices move a certain amount. In this regard, these charts are quite similar to Point & Figure charts. Three Line Break charts show a series of vertical white and black lines. White lines represent rising prices, while black lines portray falling prices. Prices continue in the same direction until a reversal is warranted. A reversal occurs when the closing price exceeds the high or low of the prior two lines.
buy signal should be generated when candle turns green( exceeds the high of previous 3 candles and sell signal when exceeds low of previous 3 candles)