NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Educational Resources > Reference Samples

Reference Samples Official NinjaScript reference code samples

Reply
 
Thread Tools Display Modes
Old 08-05-2009, 01:43 PM   #1
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default Strategy: Using Rising and Falling conditions in the Strategy Wizard

Reference sample for NinjaTrader 6.5.xxxx.x or greater.

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

NOTE: This is a Strategy Wizard sample.

This reference sample demonstrates the following concepts:
  • Using Rising() and Falling() in the Strategy Wizard
Important methods and properties used include:Other methods and properties of interest include:Import instructions for NinjaTrader 6.5.XXXX.X or greater:
  1. Download the file contained in this thread to your PC desktop
  2. From the Control Center window, select the menu File > Utilities > Import NinjaScript
  3. Select the downloaded file
Attached Files
File Type: zip SampleFallingRising.zip (3.8 KB, 996 views)
NinjaTrader_Josh is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Josh for this post:
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sequential Conditions in Strategy Wizard Thorserb2 Strategy Analyzer 3 05-15-2008 08:19 PM
Using Rising/falling In Strategy Wizard Willl Strategy Development 3 04-10-2008 10:25 AM
Indicator Rising/falling As Enty Condition Willl Strategy Development 1 04-02-2008 12:07 PM
Strategy: Halting a Strategy Once User Defined Conditions Are Met NinjaTrader_Josh Reference Samples 0 01-04-2008 12:09 AM
Rising/Falling Colors on a MA nolantx Indicator Development 1 05-25-2007 11:04 AM


All times are GMT -6. The time now is 04:37 PM.