I am really newbie on ninja trader script. I am trying to calculate certain percentage of current bar since this one opened. I am configuring the calculation as Calculate = Calculate.onEachTick but, my biggest challenge so far is on how to get the current price (price when the tick changes). I know that close[0] is for bar closed but I don't need to get that price but the one intrabar before it close to calculate on each tick until match with condition to trigger a long or short position depending on other conditions that I have in strategy.
Thank you very much in advance for your time and answers.

Comment