User Defined Methods in Ninjatrader indicator and strategy
You can create user defined methods (global methods or functions) that can be accessed by all custom indicators and strategies.…
Store all series values instead of only the last 256 values in Ninjascript
protected override void Initialize() { // Store all series values instead of only the last 256 values MaximumBarsLookBack = MaximumBarsLookBack.Infinite;…
E-Mail Mail setup in Ninjatrader
Below is a list of known e-mail settings and information demonstrating configuring e-mail alerts within NinjaTrader. Included are screen shots…
debugging the behavior of your orders in Ninjatrader NT7
Sometimes the orders are not working as we expect. So we need to track them to see what’s going on…
Advanced Order Handling Ninjatrader NT7
In NT strategy, the order will expire at the end of a bar, if you want the orders remain live…
Least Recent Occurence (LRO), very useful function in NinjaTrader
Definition Returns the number of bars ago that the test condition evaluated to true within the specified look back period…
Compare 3 level zz semafor MT4 with ZigZag Session High Low NT7
The following pics are the screenshot for both indicators with (100,75,15) as period values. Although, both of the indicators look…
The parameter barsAgo may not work in some function in Ninjatrader Ninjascript
For example: DrawText(string tag, string text, int barsAgo, double y, Color color) protected override void OnBarUpdate() { DrawText(“tag1”, “Text to…
Alert is not supported in SCAN and custom quote in thinkorswim
Alerts can’t be used in SCAN and custom quote. We cannot put an alert script into a custom quote or…