In CalculateOnBarClose = true, or because in historical mode, suppose an entry was made by means of buystop entry, so the entry is not taking place at the open of the bar necessarily, but at somewhere in the period of it's duration.
I want to have something that evaluates chart conditions at the close of THAT bar, the bar in which entry occurred.
I have been thinking about this too long and would love to have someone clear-minded to tell me the answer if they know: After entry takes place and that bar has closed, would BarsSinceEntry() return 0 or 1 at that point? That's all I need to know and I apologize that I'm not just working it out for myself but I'm rushing to complete some other things in a complex strategy at the moment -- thank you!
Comment