Heikin Ashi EMA v5 no repaint

This script was inspired by the "Heikin/Kaufman Strategy" from marco valente built on v2.

The script was rebuilt on the v5 and most importantly removed the repaint function that was driving surrealistic backtesting inflated numbers.

This script is now fully functional and not repainting - At the time of testing worked efficiently 90% WR and 2x profit factor on CFD WTI OIL with a 15m time frame indexed on price.

You should utilize this script with caution, especially on high volatility cycles you can try plotting against a volatility relative index or stop.

I also strongly recommend understanding the fundamentals of WTI OIL to balance the indications of the strategy with fundamentals.

Thanks to Clovis Warlop and Nilesh Sharma for their contribution.

Gustavo Bramao

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 a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?