I have a strategy that I wrote in EasyLanguage and I want to convert it to run using Ninja Script.
I run it on a daily chart and look for a certain pattern to set up and when it does I set a limit order to place a trade. It checks for the pattern to setup at every tick throughout the day.
In EasyLanguage I set the following at the very top of the file to make this work.
[Intrabarordergeneration=True]
I noticed that there is an enum -
Calculate.OnEachTick
Will this do the trick?
Comment