I am currently learning to write some code in Ninjascript. I would like to ask you if it is possible and if it is how, to save a bar that for example crosses the low of the previous day.
After having saved that bar, I would like to recall at a later stage in the strategy the High of this particular bar, so that if current Close is greater than High of saved bar I can go long.
Thank you very much as always for your help

David

Comment