![]() |
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
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Senior Member
Join Date: Jan 2009
Location: Melbourne
Posts: 178
Thanks: 3
Thanked 0 times in 0 posts
|
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
Last edited by Shansen; 03-09-2009 at 02:19 AM.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
|
Hi Shansen, please check the first method in this link to see how to access the bar a Swing High / Low occured - http://www.ninjatrader-support.com/H...eV6/Swing.html
If you need the value of the Swing points, please check into the second set of methods.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |