Using IsRising and IsFalling conditions in the Strategy Builder

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Educational Resources > Reference Samples > Strategy >

Using IsRising and IsFalling conditions in the Strategy Builder

Previous page Return to chapter overview Next page

NinjaTrader 8's Strategy Builder includes access to many methods and properties, including the IsRising() and IsFalling() methods. It is possible to check if an indicator (or any Series<t>) is rising or falling using these methods. You can also use High values, Low values, or any other Series<t> with IsRising() or IsFalling() to qualitatively determine the direction of the DataSeries. This simple sample demonstrates IsRising() and IsFalling() in the Strategy Builder.

 

Note: This is a Strategy Builder sample.

 

 

Key concepts in this example

Using IsRising() and IsFalling() in the Strategy Builder

 

Important methods and properties used include

IsRising()
IsFalling()

 

Other methods and properties of interest include:

EnterLong()
ExitLong()

 

Import instructions

1.Download the file contained in this Help Guide topic to your PC desktop
2.From the Control Center window, select the menu Tools > Import > NinjaScript
3.Select the downloaded file

 

SampleIsFallingIsRising.zip