Anton, if you plot a sma 20 period and a bband of a sma 20 being that the bollinger band is based on a moving average the 20 period sma and the middle bband line will completely overlap each other. On your picture if your using a 20 period sma bollinger bands then the dark blue line must be a different type or period ma.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
How are you using it?
Maybe he is using it as a regular averages crosses (but I really don't know the details)
Hi mladen,
Thanks for your effort to help. But the bands is different compare the bands by applying manually.
Please advice.
Thanks and Regards,
anton
anton here you go : bollinger_bands_of_ma_of_ma_1.01.mq4
Hi whisperer,
I will share how I use it, after the indi is correct as manually constructed.
Regards,
anton
How are you using it?
Anton, if you plot a sma 20 period and a bband of a sma 20 being that the bollinger band is based on a moving average the 20 period sma and the middle bband line will completely overlap each other. On your picture if your using a 20 period sma bollinger bands then the dark blue line must be a different type or period ma.
Hi mladen,
Thanks for your effort to help. But the bands is different compare the bands by applying manually.
Please advice.
Thanks and Regards,
antonanton
Bollinger band is calculated the following way :
1. first a moving average of a price is acalulated
2. a standard deviation of the price compared to that moving average is calculated
3. standard deviation is added and subtracted from the moving average and that way you get upper and lower band
Now, what is not correct?
If you use moving average instead of the "raw" price, just replace "price" with "moving average" in statements 1 and 2
regards
Hi mladen,
Thanks for your kind attention.
The difference is the bands of the BB.
Please check the attached charts to compare.
Regards,
anton
Hi mladen,
Thanks for your kind attention.
The difference is the bands of the BB.
Please check the attached charts to compare.
Regards,
antonHere is a version that will work like that : bollinger_bands_of_ma_of_ma_1.02.mq4
Isn't it a basic Bollinger bands template that has every MT4 terminal? Didn't notice any difference.
Actually it is not
The last uses moving average instead of price (basic BB uses only price or previous indicator value - in which case those are two indicators, not one)
Hi mladen,
Great. It works well.
BTW, what concept do you use the BB of ma of ma 1.01?
How does the calculation?
Thanks and Best Regards,
anton
Here is a version that will work like that : bollinger_bands_of_ma_of_ma_1.02.mq4
Hi mladen,
Great. It works well.
BTW, what concept do you use the BB of ma of ma 1.01?
How does the calculation?
Thanks and Best Regards,
antonSame as the last one except the BB is applied to the ma of ma not just ma