The following EasyLanguage sample strategy "NTSample" is installed during the set up procedure. This sample is intended to demonstrate the use of NinjaTrader functions in EasyLanguage and NOT to illustrate any best practice or approach in function implementations.
|
{ Copyright (c) 2005, NinjaTrader LLC ninjatrader@ninjatrader.com } inputs: FastLength(9), SlowLength(18) ;
if LastBarOnChart and NTConnected(1) then begin
|