1) Added color when the rate crosses over the upper or lower boundaries. I find a bright color helps me spot the crossover better. 2) Changed the standard deviations from a fixed value of 2 to user input. 3) Converted to v5.
Hello, does it measure the deviation from the moving average in terms of pips? I can't find that in the indicator
soheilhack
⋅
heloo hi
im hesam from iran
one question for you?
do you have Moving average deviation rate for mql4?
please send cod mql4 Moving average deviation rate for me .
thank you
The_Chart_Analyst
⋅
Thank you for sharing your code. I have made a few cosmetic changes to it, thought I would share here if you are ok with that. The changes are:
1) Added color when the rate crosses over the upper or lower boundaries. I find a bright color helps me spot the crossover better. 2) Changed the standard deviations from a fixed value of 2 to user input. 3) Converted to v5.
// Moving Average Deviation Rate by daisuke_gewinn // Modified by trendfirst Jan 23, 2023 // Added color when rate goes above/below Hi/Lo lines // Changed Standard Deviations from fixed value to user input //@version=5 indicator('MA Deviation', overlay=false)
//input maPeriod = input(21, title='Moving average period') NoStdDev = input(2, title="Number of Std Deviations") //Number of standard deviations for plus and minus lines
//deviation rate sma = ta.sma(close, maPeriod) rate = close / sma * 100 - 100
初心者です
移動平均乖離率を tradingviewで出す方法がわからず
こちらのサイトにたどり着きました
普通の乖離率より、使いやすそうでびっくりしてます!
スプリクトの登録?というのはやったことが無いのですが、具体的な手順はどうすればいいのでしょうか?