Search found 34 matches

Re: Vertical Line drawn at specified hour. How to make it refresh daily?

I will. Many thanks again mladen. I learn a "new thing" or new technique on occasions such as this and add to my own knowledge. I appreciate you remembered my request. On a separate matter, we used to have a small "thanks"/"like" button to click so as to acknowledge / e...

Re: Vertical Line drawn at specified hour. How to make it refresh daily?

Yes, I would like a vertical line to appear at the hour number used in inputs, for each day, and to continue to draw over time with each new day. The only way I can get it to do this is to constantly change timeframes forward/back or open inputs and close it again to force re-initialising.

Re: Vertical Line drawn at specified hour. How to make it refresh daily?

Newton51 Try like this : #property indicator_chart_window input int Hour_Num = 8; input int Minute_Num = 0; input color Line_Color = clrSilver; int init() { return (0); } int deinit() { int objs_total_0 = ObjectsTotal(); for (int i = objs_total_0 - 1; i >= 0; i--) if (StringFind(ObjectName(i), &quo...

Re: Coding Help

I stand corrected You can do that - see the following code - and it works in run-time too Comment("Current fixed minimum : "+(string)WindowPriceMin(WindowFind(shortName))+"\n"+ "Current fixed maximum : "+(string)WindowPriceMax(WindowFind(shortName))); Thank you so much...

Re: Coding Help

Thanks mladen. I feared this was the case. I was hoping I could assign a double max = INDICATOR_MAXIMUM etc. I'll waste no more time on this then and just manually update the values. I appreciate your prompt reply.

Re: Coding Help

I don't see how I can edit/update my earlier query. The problem I am trying to solve is associated with the MT4 auto-scaling. Since posting the above, I have manually entered the scale maximum and scale minimum and get the result I am trying to measure. So my question is simply .... Is there a way t...

Re: Coding Help

I have a set of indicators which are set up to monitor one currency each. They are all in their own sub-windows. I am noticing on one chart sub-window there may be a "big move" upwards and on another a "big move" downwards. But when I look at the "numbers" the magnitude...

Vertical Line drawn at specified hour. How to make it refresh daily?

I've used this indicator for several years. As new MT4 builds keep updating, I noticed it no longer adds a new vertical line each day. I have been changing TF forward and back to refresh and it's good for another day. But I wonder if some kind person would make the changes necessary for it to just w...

Return to the advanced search