Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
If I wanted to find the lowest bar in a series of bars
Collapse
X
-
Query the "Swing" indicator with a swing strength of 1.Originally posted by kaywai View Postand I would like to exclude the current bar from that series, how would i do that?
ref: http://www.ninjatrader.com/support/h...html?swing.htm
-
Hi Koganam,
The swing indicator would only work under certain conditions, no?
If my series of bars are comparing close vs close[bars ago] and i am using those counts to ascertain the lowest low of that series, but wanting to exclude the current bar, would the swing indicator work?
Regards
Kay Wai
Comment
-
Your question leaves me a bit lost. I cannot see what a close to close comparison has to do with the lowest low.Originally posted by kaywai View PostHi Koganam,
The swing indicator would only work under certain conditions, no?
If my series of bars are comparing close vs close[bars ago] and i am using those counts to ascertain the lowest low of that series, but wanting to exclude the current bar, would the swing indicator work?
The lowest low is an absolute, so yes, the swing low point, determined from the Swing indicator, indexed to start at the bar before the current bar, will give you the lowest point in the lookback period, as by indexing to the prior bar, the current bar is automatically excluded.
Comment
-
Hi Koganam,
Sorry for the confusion.
As I am using a quasi-****** indicator which compares Close vs Close[barsago] and using those counts to determine the lowest low in the entire setup. By setting a flag to indicate the end of the setup, and checking for the lowest low based on the setup counts, there have been occassions where the lowest low is the CurrentBar. This is why I asked how could I determine the lowest low of a series of bars which excludes the CurrentBar.
Anyhoo, I have resolved the issue using a series of CurrentBar variables. Thanks for helping though. Appreciate it.
Kay Wai
Comment
-
You are correct on that Koganam. I'm doing so to decide which trades to enter and which trades to ignore and it's not really related to the TDST line....My rules and counts are not conventional, which is why the code is different.
As TD says on occassion, it's not only about the 9s....
Comment
-
Ah. My rules are different too, BTW. i.e., I do not trade the TDSeq the way it is described in the book either. LOLOriginally posted by kaywai View PostYou are correct on that Koganam. I'm doing so to decide which trades to enter and which trades to ignore and it's not really related to the TDST line....My rules and counts are not conventional, which is why the code is different.
As TD says on occassion, it's not only about the 9s....
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
582 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
338 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
552 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment