OPEN-SOURCE SCRIPT

Heikin Ashi Signals with Positions -Suraj

// Signal Conditions
newBuySignal = not inBuy and not inShort and haClose > haClose[1]
newSellSignal = not inShort and inBuy and haHigh < haHigh[1] and haLow > haLow[1] // Inside Candle
newShortSignal = not inShort and not inBuy and haOpen == haHigh
newCoverSignal = inShort and haClose > haHigh[1]
Fractal

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer