Thanks for the prompt reply. It's certainly along the lines of what I had in mind. I will tweak it and repost shortly coupled with a snapshot of my screen.
Thanks & regards
Chalkin Money Flow Index on Jurik - zero-cross method
Please refer to the attached screenshot depicting how I intend using the CFM zero-cross. It would be handy to have arrows and alerts for the zero-cross.
Here is a version with arrows on zero cross added (alert on zero cross were already added in the previous versions too)
MrTools, thank you for the Hull HA which brings me to an idea and request for you to turn the attached TrendEnvelope indicator into a 15-LWMA-Tr.Env. with the settings as per the programming of the Hull above.
The TrendEnvelope was developed by igorad2003 at TrendLaboratory in 2007.
I have already changed my Tr.Env. to giving me the 15-LWMA on close, but I would love to see whether there is an improvement, if we use the same settings as per the Hull HA which I print here for your convenience and maybe my lack of better explanation. Reason is that the candles consistently outperform the 15-TrEnv-LWMA on close. I like what I see and if you cannot do it, I will have to use the two in conjunction, but I ask myself "why can it not be done?"
The coding for Hull HA is:
double maOpen = 2.0*iMA(NULL,0,HalfPeriod,0,MODE_LWMA,PRICE_OPEN, pos) - iMA(NULL,0,HMAPeriod,0,MODE_LWMA,PRICE_OPEN, pos);
double maClose = 2.0*iMA(NULL,0,HalfPeriod,0,MODE_LWMA,PRICE_CLOSE,pos) - iMA(NULL,0,HMAPeriod,0,MODE_LWMA,PRICE_CLOSE,pos);
double maLow = 2.0*iMA(NULL,0,HalfPeriod,0,MODE_LWMA,PRICE_LOW, pos) - iMA(NULL,0,HMAPeriod,0,MODE_LWMA,PRICE_LOW, pos);
double maHigh = 2.0*iMA(NULL,0,HalfPeriod,0,MODE_LWMA,PRICE_HIGH, pos) - iMA(NULL,0,HMAPeriod,0,MODE_LWMA,PRICE_HIGH, pos);
Looking forward to hearing from you.
Do you want a Hull moving average (since that calculation is a first step of hull calculation - it lacks one more step) to replace LWMA? The complete Hull average formula goes like this :
HMA = LWMA(2*LWMA(Price,Length/2)-LWMA(Price,Length), SquareRoot(Length))
Thank you sincerely Mladen for the prompt professional service!!! This CFM histo looks really good. Much appreciated pal.
Apologize for the version I posted, had seen it done correctly but for whatever reason got stuck on this version, anyway with help from Mladen(Thanks) this would be the correct Hull version, after testing this version let me know if you still want to change the Tr.Env.
edit:::: went ahead and made a hull trend envelope for you to try using the correct hull
Good morning Mladen,
Yes thanks that is the intention. Having said that I also see that MrTools very kindly posted the Hull TrEnv at the bottom which I will run today and report back.
I also have a small favour to ask of you plse, but I will put that in a seperate post for clarity sake.
Success for the week ahead.
Thank you for the update plus the Hull Tr.Env. which I will try today.
Much appreciate your assistance in this regard.
Would you mind looking at the attached indicator (Dail_Range_Stats) for me? It changes the readings of the prior week on Mondays in its entirety.
Thanking you in advance,