![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi Everyone,
hope this is in the right place , forgive me if not.
I am trying to find Standard Error Bands to use in MT4. If anyone knows of one or could creat one , it would be greatly appreciated. I also would like a FibCmo indicator. Here are codes I have found for them.
Standard Error Bands
21 Period Upper Band (smoothed)
Mov((21 * Sum(Cum(1) * C,21) - Sum(Cum(1),21) * Sum(C,21)) /
(21 * Sum(Pwr(Cum(1),2),21) - Pwr(Sum(Cum(1),21),2))* Cum(1) +
(Mov(C,21,S) - Mov(Cum(1),21,S) * (21 * Sum(Cum(1)* C,21) -
Sum(Cum(1),21) * Sum(C,21))/ (21 * Sum(Pwr(Cum(1),2),21)-
Pwr(Sum(Cum(1),21),2))) +2*(Sqrt(((Sum(Power(C,2),21)-
Power(Sum(C,21),2)/21))- ((Sum(Cum(1)*C,21))-((Sum(Cum(1),21)*Sum(C,21)/21)))/
((Sum(Power(Cum(1),2),21)) - (Power(Sum(Cum(1),21),2)/21)) *
((Sum(Cum(1)*C,21))-((Sum(Cum(1),21)*Sum(C,21)/21))))/19),3,S)
21 Period Lower Band (smoothed)
Mov((21 * Sum(Cum(1) * C,21) - Sum(Cum(1),21) * Sum(C,21)) /
(21 * Sum(Pwr(Cum(1),2),21) - Pwr(Sum(Cum(1),21),2))* Cum(1) +
(Mov(C,21,S) - Mov(Cum(1),21,S) * (21 * Sum(Cum(1)* C,21) - Sum(Cum(1),21) *
Sum(C,21))/ (21 * Sum(Pwr(Cum(1),2),21) -Pwr(Sum(Cum(1),21),2))) -
2*(Sqrt(((Sum(Power(C,2),21)-(Power(Sum(C,21),2)/21))-((Sum(Cum(1)*C,21))-
((Sum(Cum(1),21) * Sum(C,21)/21))) / ((Sum(Power(Cum(1),2),21))-
(Power(Sum(Cum(1),21),2)/21))*((Sum(Cum(1)*C,21))-
((Sum(Cum(1),21)*Sum(C,21)/21)))) /19)),3,S)
21 Period R2 (smoothed)
Mov((Pwr(Corr(Cum(1),C,21,0),2)),3,S)
21 Period Regression Slope
(((Sum(Cum(1)*C,21))-(Sum(Cum(1),21)*Sum(C,21)/21)) /
((Sum(Power(Cum(1),2),21))-(Power(Sum(Cum(1),21),2)/21)))
21 Period %A
((C-Fml("21 Period Lower Band (smoothed)"))/
(Fml("21 Period Upper Band (smoothed)") -
Fml("21 Period Lower Band (smoothed)")))
21 Period Regression (smoothed)
Mov((21*Sum(Cum(1)*C,21)-Sum(Cum(1),21)*Sum(C,21)) /
(21*Sum(Pwr(Cum(1),2),21) - Pwr(Sum(Cum(1),21),2))*Cum(1) +
(Mov(C,21,S)- Mov(Cum(1),21,S)*(21*Sum(Cum(1)* C,21) -
Sum(Cum(1),21)*Sum(C,21))/(21*Sum(Pwr(Cum(1),2),21)- Pwr(Sum(Cum(1),21),2))),3,S)
Binary Bandwidth Indicator
If((ATR(55)/(BBandTop(C,21,S,2) - BBandBot(C,21,S,2)))>.50,+1,0)
Fib Cmo
(CMO(C,3)+CMO(C,5)+CMO(C,8))/3
any help would be awesome,
thanks
surffisher