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.
Does your broker have Sunday data?
MrTools, I noticed that this version is SMA whereas HA is usually LWMA? Which is correct plse?
Looking forward to hearing from you.
No, I checked that first. They don't and hence my question.
Thx for replying.
It is not using SMA for calculation. Where you see the SMA is where the price is extracted using iMA() (with period set to 1). That is the fastest way of getting correct price and that is why iMA() is used for that - but only for that. All the calculation once when the price is extracted is done in the iHull() function
As far as I see, on Mondays what was the current week, becomes the prior week and the current weeks is filled with current days data
Thank you ever so much for teaching me, Mladen. Always great to be taught by you.
Much appreciate you.
Yes, that is also what I see, but every Monday those figures change significantly.
Anyway, I will just write them down by the end of the week and not bother about them on Monday.
could you add buffers for EA use??
What should be in the buffers?
I believe the forex numbers are all ready on the chart, I think they are :
TCObj_Hprice, OBJ_TEXT, 0, TimeBegin - 3600, PriceHigh);
ObjectSet (TCObj_Hprice, OBJPROP_BACK, false);
ObjectSetText (TCObj_Hprice, Hprice, 9, "Verdana Italic", TC_price_clr);
ObjectMove (TCObj_Hprice, 0, TimeBegin - 3600, PriceHigh);
ObjectCreate (TCObj_Lprice, OBJ_TEXT, 0, TimeBegin - 3600, PriceLow);
ObjectSet (TCObj_Lprice, OBJPROP_BACK, false);
ObjectSetText (TCObj_Lprice, Lprice, 9, "Verdana Italic", TC_price_clr);
ObjectMove (TCObj_Lprice, 0, TimeBegin - 3600, PriceLow);