NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-08-2009, 07:36 PM   #1
Shansen
Senior Member
 
Join Date: Jan 2009
Location: Melbourne
Posts: 178
Thanks: 3
Thanked 0 times in 0 posts
Default Isolating swing highs / lows

All,

The attached picture shows price action overlaid with SMA(20) and Swing(20). I am trying to isolate the first bar of of each SwingHigh and SwingLow, as illustrated with white dots. Once located these points would have to be referenced from latest bar (i.e. currentbar, as the current bar changes though the passing of time).

Any ideas on how to isolate the first bar of each swing high/low, would be greatly appreciated.

Thanks
Shannon
Attached Images
File Type: jpg ES 03-09 5_03_2009 (60 Min).jpg (36.7 KB, 98 views)
Last edited by Shansen; 03-09-2009 at 02:19 AM.
Shansen is offline  
Reply With Quote
 

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
Stochastic Swing highs glenbiggs Strategy Development 1 01-04-2009 11:36 PM
Please Fix Bug Where Highs & Lows are Incorrectly plotted by 1-4 ticks robhef Suggestions And Feedback 1 10-13-2008 12:56 PM
Taking Highs and Lows depending on an indicator stefy Strategy Development 9 08-14-2008 12:27 PM
New highs/lows qitrader Indicator Development 2 10-03-2007 06:52 AM
highs and lows marker tradingkevin Suggestions And Feedback 2 05-10-2007 06:55 PM


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