Understanding NinjaScript Lifecycle and How to Use OnStateChange() in NinjaTrader

Share it with your friends Like

Thanks! Share it with your friends!

Close

This video provides an overview of NinjaScript Lifecycle and the use of the OnStateChange() method within NinjaTrader.

Best Practices: https://ninjatrader.com/support/helpGuides/nt8/en-us/index.html?ninjascript_best_practices.htm#StateResourceManagement
LifeCycle: https://ninjatrader.com/support/helpGuides/nt8/en-us/?understanding_the_lifecycle_of.htm
OnStateChange: https://ninjatrader.com/support/helpGuides/nt8/en-us/?onstatechange.htm
GetRealtimeOrder(): https://ninjatrader.com/support/helpGuides/nt8/en-us/getrealtimeorder.htm

Comments

VoodooD0g says:

i estimated your puls at roughly 150bpm, that was real cute 😀

Kotenok Kotenok says:

Thank you. How to use Enterlong() in indicator? showing error unrecognized.. how to solve it ?

Spencer Davis says:

good video thanks

Guido T says:

thank you, it is a very informative video. English is not my mother language, so I had to slow down the play speed by 20%. but I will watch and listen the video again and again several times until I can acquire most of what it says.I think this is core starting point to really understand how NT8 works. On your next videos on this subject (if ever) please try to pretend in your mind your have to explain these concepts also to "programming babies", with limited technical vocabulary, if possible try to simplify terminology as much as possible. Thank you.

Comments are disabled for this post.