Just to set the stage, I worked as a programmer for more than 3 decades but am an ML4 noob. I've made it my weekend project to get a foothold in this language and am starting out but modifying an indicator that does not seem to be doing what it should.
My questions are:
Does Bar[0] refer to the current bar, i.e. the bar that is just now being created?
If so, what value might I expect to have returned from Close(Bar[0])? Please excuse the incorrect syntax. The indicator I'm "improving" is testing this value and, since the bar is not yet completed, giving a funky result (I think).
Thanks for any help offered,
Lou G
My questions are:
Does Bar[0] refer to the current bar, i.e. the bar that is just now being created?
If so, what value might I expect to have returned from Close(Bar[0])? Please excuse the incorrect syntax. The indicator I'm "improving" is testing this value and, since the bar is not yet completed, giving a funky result (I think).
Thanks for any help offered,
Lou G
Old Benjamin was right