QuantNomad

Kozlod - Heikin-Ashi Bar Color Change Strategy

You can use this script to backtest Heikin-Ashi bar color change strategy.
You have to apply this script to usual candles and not Heikin-Ashi!!!

Background color indicates HA bar color. On change you'll see green/red arrows and alert will be fired.

Also you can find in the code calculations of all HA OHLC values.
發布通知: Cleaning the code
開源腳本

秉持真正的TradingView精神,該腳本的作者將其開源發佈,因此交易者可以理解和驗證它。為作者加油!您可以免費使用它,但是在發佈中重複使用此程式碼受網站規則的約束。您可以把它加入到常用以在圖表上使用它。

想在圖表上使用此腳本?
Courses:
PineScript Programming: https://qntly.com/pineprog
TradingView Essen: https://qntly.com/tve

Access to Pro Indic.: https://qntly.com/proind

YouTube: https://qntly.com/youtube
Discord: https://qntly.com/discord
Telegram: https://qntly.com/tel

評論

Thanks bro ... interesting code .
+1 回覆
Why to use this only on normal candles?
回覆
QuantNomad dpanday
@dpanday, Because if you'll apply strategy on Heikin Ashi candles your backtesting won't be valid. Your orders will be calculated based on HA OHLC but it's not real OHLC and often these levels are not reachable in reality.
Here I try to explain: https://www.youtube.com/watch?v=oTSW0-opte8
回覆
dpanday QuantNomad
@QuantNomad, So how to get this script profitable on regular candles?
回覆