In regression channel, calculating mode refers to what prices will it use in calculation and what kind of a channel it will make.
mode 0 -> uses the "classical" calculation : close for regression line and close is used for deviations calculation
mode 1 -> uses high for one regression line and low for another regression line. Deviations are also calculated using high and low
mode 2 -> uses close for regression line and high and low for deviations.
modes 1 and 2 are asymmetrical : upper part of the channel is calculated using high price and lower is calculated low price so they do not (and almost never are) have to be the same (in distance from regression line) at all. Frankly, I like the mode 1 the best (that chart is one of the usual ones I have : regardless of the recalculating nature of regression channel, I find it helpful in my trading)
As of days : here is a version that will translate the number of days you want to use into bars (set the daysCalculation to true and set the daysNumber to desired number of days). It will work that way for time frames less than or equal to daily time frame. For weekly and monthly charts it will use the bars parameter instead regardless of the daysCalculation setting). Here is an 11 day example of a regression channel (mode 1 : highs and lows for all)
ValeoFX: Mladen, I downloaded a "Regression Channel.mq4" from you and sadly I did not put the reference Thraed number to it. Only reminder is 8 September and I will have to start hunting it down round that time, probably more than a year ago now.
What I need to know please, is whether the "Calculating Mode" (set to 0 ) should be read as 0 = SMA and 1 = EMA, etc.
I read an interesting article by Richard L. Muehlberg on trading the Regression Channels and he mentions using an 11-day period on one of his charts and 9 on another and both showed absolute "indications" of when to trade. Is it possible to get such an addition or not? You may have information that could negate the need for settings such as those mentioned above in which case I would like to hear about them, plse.
nevar: Mladen Is it pssible or you to add confidence bands to poly oscillator?Thnks.
Here is this version (using different calculation). This version has a shift parameter added to the confidence bands too (one the example shift is set to 2) : polyfitoscillator_v2__cb_2.mq4
Plese try it out and check for error in the data window. I am usung build 633 and sometimes I get a strage errors - getting a bit tired from these "beta" versions that work once this way and some other way on second run and can not pinpoint what is going on
When did they release this 633 ?MQL4 is becoming real pain in the bum!Update this update that !What is our main purpose updating and recoding or trading?
Mladen and TSD ,
Why not create a new trading platfom?You have created such a big trading community.You can easily beat these Russian idiots in their own game.
Regression channel ...
ValeoFX
In regression channel, calculating mode refers to what prices will it use in calculation and what kind of a channel it will make.
Update version posted here : https://www.mql5.com/en/forum/general
Mladen, I downloaded a "Regression Channel.mq4" from you and sadly I did not put the reference Thraed number to it. Only reminder is 8 September and I will have to start hunting it down round that time, probably more than a year ago now.
What I need to know please, is whether the "Calculating Mode" (set to 0 ) should be read as 0 = SMA and 1 = EMA, etc.
I read an interesting article by Richard L. Muehlberg on trading the Regression Channels and he mentions using an 11-day period on one of his charts and 9 on another and both showed absolute "indications" of when to trade. Is it possible to get such an addition or not? You may have information that could negate the need for settings such as those mentioned above in which case I would like to hear about them, plse.
I look forward to hearing from you.
Best regards.Mladen Is it pssible or you to add confidence bands to poly oscillator?Thnks.
Here is this version (using different calculation). This version has a shift parameter added to the confidence bands too (one the example shift is set to 2) : polyfitoscillator_v2__cb_2.mq4
Plese try it out and check for error in the data window. I am usung build 633 and sometimes I get a strage errors - getting a bit tired from these "beta" versions that work once this way and some other way on second run and can not pinpoint what is going on
When did they release this 633 ?MQL4 is becoming real pain in the bum!Update this update that !What is our main purpose updating and recoding or trading?
Mladen and TSD ,
Why not create a new trading platfom?You have created such a big trading community.You can easily beat these Russian idiots in their own game.
I can't find NonLag Hull MA in color nmc and NonLag MA in color nmc,
could anybody please give me the links?
I can't find NonLag Hull MA in color nmc and NonLag MA in color nmc, could anybody please give me the links?
wojtek
I am assuming that you meanr zero lag hull moving average : zero-lag-hull-moving-average-2-nmc.mq4And this is the non repainting NonLag ma NMC : nonlag_ma_nrp_2_nmc_2.mq4
great, that's it; thanks a lot!
nevar
mrtools will be available later, so I am answering this one.
Arrows when high-low breaks or arrows when some price closes outside the channel for the first time?Similar to this indicator https://www.mql5.com/en/forum/general
I tink it is using high low breaks.
Mladen
Is it possible to update zero mean kalman https://www.mql5.com/en/forum/general with nrp colouring ?And Nonlinear Kalman ma https://www.mql5.com/en/forum/general when you have time, no rush thank you very much.
Mladen,
BTW, is there any chance for a positive answer to the question from this post, please?:
https://www.mql5.com/en/forum/general
Similar to this indicator https://www.mql5.com/en/forum/general I tink it is using high low breaks.
Hi Nevar, added the dots in the same manner as the averages bands.