this is my Day 1 of strategy development on Ninja Trader. Apologies if i am asking some obvious questions here. I thought the documentation was very limited.
I want to load historical daily data (say last 6 months) in Init() function to calculate some historical statistics before I can use them in my indicator calculation (OnBarUpdate) function for real time calculation. I should be able to send orders from onBarUpdate if my criterion is satisfied.
Could you direct me to an example which can perform these tasks?
Some more simple questions:
1. I wanted to be able to debug the code. I downloaded Visual Studio for the development but all the youtube videos shows NinjaScript editor for development.
2. I want to access strategy positions and manage the risk. Any example for this scenario?
3. On NinjaTrader web page I saw some reference to DLL building (for more advanced developers). I didn't see any example or more documentation on this. Where do I start on this case?
4. Is there a way to continuesly roll contracts automaticall in backtest? any examples?
Regards,
toughgetsgoing
Comment