RafaelZioni

HL avg MTF

RafaelZioni 已更新   
This indicator try to find trends more accurate
So first step is to make candle MTF and to find the average of high and low of the MTF candle. I think a ratio of 4/1 is good .
so this seen in the lime /red line
after we take this line and transform it to linear regression type . I use here 50 candle size seen in blue line
if close are above the blue line then we are above the avg of the high and low of the mtf candle .. this indicate a positive trend. if we close is bellow the blue line then it a negative trend and it good time to short it .
also very important is the direction of the blue line as it give us the direction of the trend


發布通知:
add trend color instead the blue line using the code that fikira posted
I think now it better
thanks for fikira for this improvment
發布通知:
change the way the XY which is the mean line of high and low +add signal to it
This is a modified script based on Alex grover trend detection method for link to original study for this method 'scroll down in script for lik
發布通知:
try to fix issue of repaint
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?