Page 16 of 193

Re: Bollinger Band type indicators for MT4

Posted: Tue May 30, 2017 10:10 am
by mrtools
Rakiura wrote: Tue May 30, 2017 9:08 am Mntiwana

Do I need a dll file in libraries folder for "Bollinger bands lsma filtered.mq4" to work because when I drag the indicator onto the chart I cant see the indicator. Even though it is on my indicators list?

Thanks
Justin
Justin, no dll required, very possibly could be a build 1090 issue, check here how to fix https://www.forex-station.com/viewtopic ... 1295355596

Re: Bollinger Band type indicators for MT4

Posted: Wed May 31, 2017 4:11 am
by MrPip
Here is a version that compares two methods of calculating LSMA.
One is using the summation method posted over 10 years ago,
The new version was a discovery found on forex-tsd I think, combining SMA and LWMA for less overhead and plots the same.

Minor differences mentioned in the one using mtf MA's might be due to use of Point instead of myPoint when rounding.
Where can I find source code so I can compare the method used to calculate LSMA?

Re: Bollinger Band type indicators for MT4

Posted: Wed May 31, 2017 5:40 am
by mntiwana
MrPip wrote: Wed May 31, 2017 4:11 am Here is a version that compares two methods of calculating LSMA.
One is using the summation method posted over 10 years ago,
The new version was a discovery found on forex-tsd I think, combining SMA and LWMA for less overhead and plots the same.

Minor differences mentioned in the one using mtf MA's might be due to use of Point instead of myPoint when rounding.
Where can I find source code so I can compare the method used to calculate LSMA?
Hi MrPip
As for comparison purpose,here are all 2 LSMA indicators - one from Averages ver (so called linear regression value) - the other from LSMA nrp version - in picture #1 both with period 30,price close and hiding each other,means 1 line,same exact thing visually --- then in picture #2 - one with period 30 the other with period 31 both close price for to see able -
picture #3 applied LSMA (least squares ma) with period 30 price close from BB LSMA (forming ladder style line)
code attached

Re: Bollinger Band type indicators for MT4

Posted: Wed May 31, 2017 10:31 am
by MrPip
The code looks like they both use SMA and LWMA.
The only difference I can see is I round to the nearest pip.

Re: Bollinger Band type indicators for MT4

Posted: Wed May 31, 2017 4:32 pm
by mntiwana
MrPip wrote: Wed May 31, 2017 10:31 am The code looks like they both use SMA and LWMA.
The only difference I can see is I round to the nearest pip.
Yes,seems alike you said :)

Re: Bollinger Band type indicators for MT4

Posted: Fri Jun 09, 2017 12:00 pm
by mntiwana
BbSq-OsMA
BB Squeezed OSMA with usual parameters and histo style

Re: Bollinger Band type indicators for MT4

Posted: Fri Jun 09, 2017 10:54 pm
by mntiwana
bbsqueeze
A version with usual parameters including momentum periods option

Re: Bollinger Band type indicators for MT4

Posted: Fri Jun 09, 2017 11:05 pm
by mntiwana
bb squeeze
A bit different method but with same parameters to previous (the one in above post) - extra colors
in picture lowest sw is previous ver (red/green) - and next upper sw is this version (red/blue)
both with default parameters

Re: Bollinger Band type indicators for MT4

Posted: Fri Jun 09, 2017 11:34 pm
by mntiwana
Bollinger Squeeze
Some interesting Bollinger Squeezed indicator with 5 types triggering option (stoch,cci,rsi,macd or mom) - period option and shift too - in upper picture with macd - then mom and then rsi - all default parameters

Re: Bollinger Band type indicators for MT4

Posted: Sat Jun 10, 2017 1:40 am
by Dimitri
mntiwana wrote: Fri Jun 09, 2017 11:34 pm Bollinger Squeeze
Some interesting Bollinger Squeezed indicator with 5 types triggering option (stoch,cci,rsi,macd or mom) - period option and shift too - in upper picture with macd - then mom and then rsi - all default parameters
Dear Mntiwana,
Thank you for your nice indicators you are sharing with the community. Is that possible to share the indicator used on the main chart ... ??? looks interesting ...
Waiting as always for your reaction ...
Best Regards
Dimitri