TradingView
DreamsDefined
2018年10月3日早上1點06分

Real Price for Heikin Ashi Charts 

USD/CADOANDA

描述

The indicator is in the top left of the screen! That's all there is, by design.

This is a super simple indicator that allows you to see what the real price of a candle was when using Heikin Ashi charts, while not cluttering up your screen.

HA charts are a great way to help those who can be spooked by the chaos of the markets (I'm one!), but they have a big drawback in that the price you see on a HA candle is often significantly different from the real price that you would trade on. This brings issues of unrealistic expectations of profits/losses, and also makes back testing a strategy very difficult. I still wouldn't recommend ever using TradingView's "strategy" tool when using HA charts, but using this indicator you can do accurate manual back tests.

There's nothing plotted on the screen given that there's no real point in it, but you can make the lines appear if you wish - just go into settings and change the transparency.

The order of the numbers on the indicator match the OHLC (Open, High, Low, Close) format.

There's also settings to turn off one or more of the OHLC values, simply open the settings and go to Inputs. This could be useful for some people, as the High and Low values of HA candles are the same as regular candles. Only the Open and Close are different.

Any queries let me know.

DreamsDefined
評論
primski
thanks man, helped a lot.

for //@version=4, just replace "ticker" with "syminfo.ticker" and "period" with "timeframe.period"
Bojjesem
Very useful to check the real prices on HA charts. I have a simple MA strategy on HA charts, but instead of using HA open and close prices, I wanted to use the real prices in back testing for entry and exit orders. Can you help me understand how i can do it ? I see the strategy.entry and exit orders doesnot have an option of close and open prices for long and short positions ? Really appreciate your time and help.
sam_packer
@Bojjesem, hi there, I too have a similar problem when using HA for a Weis Wave indicator. Have you found a solution for this issue? Thanks for your time
cosimo86
Very useful and practical indicator. You made my life way easier ;)
DreamsDefined
@cosimo86, Great to hear! Glad it's helped :)
MattBritain
Thanks mate, this really helps with backtesting HA strategies. I changed your script to plot just the close price of each candle over the HA candle.
DreamsDefined
@MattBritain, Great! Glad it was useful for you :)
mikehenschke
Genius!
mikehenschke
.... and Thank you. Can't wait to check this out.
DreamsDefined
@mikehenschke, Thanks! Hope it's useful for you :)
更多