TradingView
ridvansozen1
19. Mrz. 2021 19:32

Heikin-Ashi MACD 

Bitcoin / TetherUSBinance

Beschreibung

"Heikin-Ashi, also sometimes spelled Heiken-Ashi, means "average bar" in Japanese. The Heikin-Ashi technique can be used in conjunction with candlestick charts when trading securities to spot market trends and predict future prices. It's useful for making candlestick charts more readable and trends easier to analyze. For example, traders can use Heikin-Ashi charts to know when to stay in trades while a trend persists but get out when the trend pauses or reverses. Most profits are generated when markets are trending, so predicting trends correctly is necessary."


HA bars help us to smooth the price action, and I think MACD gives me a lot of signals and I need to eliminate them and add MACD strategy on Heiken-Ashi candles to look performance.

Mostly, it eliminates %75 of the signals, and most of the time it did increase backtest performance significantly.

There is still a way to it to combine other indicators for complete strategy, but at least We can achieve better MACD with this approach.

Versionshinweise

Stop loss and target profit parameters were added.
Kommentare
beratbot371
Türkçe açıklama yapsaydın keşke.
ridvansozen1
@beratbot371, olur paşam
Alpandino
Hi. It seems a good work. I have a few questions to understand the mechanism:
1) why do you use stop=close? This means that the stop loss is really close to buy price... is not too dangerous?
2) with the "else" clause you are deleting the oca order at very next candle. Or I don't understand well?

Anyway on the chart the action of the stop loss and the action of the cancel order don't appear. Do you can explain why?

Thank you!
ridvansozen1
@Alpandino, Hi, with else candle , I did not put order if it did not meet condition, I do not well version 4 in pince script and this tempalte is from my early scripts (v2 and v3), then I may miss something or I may add some uselesss things, for stop loss, I add it in close but ı did not add any stop los or target profit condition, because of this , there is no stop loss appear in the graph.
Mehr