OPEN-SOURCE SCRIPT

Linear Average Price

מעודכן
What is "Linear Average Price"?
"Linear Average Price" is both a trend and an overbought oversold indicator .

What it does?
it creates a trendline and trading zones.

How it does it?
To create the trend line, it averages the difference between each data and chooses it as the slope of the line it creates. then it positions this line so that it passes right through the middle of the data at hand. It uses standard deviation to create trading zones.

How to use it?
It can be used both to have an idea about the trend direction and to determine buy-sell zones. You can choose how many candles the indicator will calculate from the "lenght" section. The "range" part is the coefficient of the standard deviation and can be used to expand or collapse zones.




הערות שחרור
source added.
Now you can use this indicator with other indicators. All you have to do is to select an indicator from the "source" section, and then if the indicator you selected is in the lower section, then take the "linear average price" indicator into the lower section.
rsi with linear average price: תמונת-בזק
macd with linear average price:תמונת-בזק
default value is set to 200.
buysellzonebuysellzonesLinear RegressionoverboughtoversoldtrendTrend Analysistrendlinesettrendtrading

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור