Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Is there a simple way that I can specify that a certain event should one be used once
Collapse
X
-
Is there a simple way that I can specify that a certain event should one be used once
I am trying to use the strategy wizard to create an arrow to be placed below a break out candle when the weekly high is broken by a candle. I can do this but then the arrow is placed on many other candles that are also above the weekly high. How can I specify that I want this done once perhaps per each n number of candles so that it cuts down on the clutter or some other ways to reduce the clutter of these arrows? Thank you.
Tags: None
-
2 choices:Originally posted by bijan View PostI am trying to use the strategy wizard to create an arrow to be placed below a break out candle when the weekly high is broken by a candle. I can do this but then the arrow is placed on many other candles that are also above the weekly high. How can I specify that I want this done once perhaps per each n number of candles so that it cuts down on the clutter or some other ways to reduce the clutter of these arrows? Thank you.
http://screencast.com/t/65mMzPXJ3km
Either use the CrossAbove()/CrossBelow() functions, which will show the cross as a price transition. Alternatively, code it so that only price bars that actually cross the level on that bar are valid. Put in another way, that means that the level is somewhere inside the bar, which codes simply as "barHigh is above level, and barLow is below level".
Both of those can be directly coded by the wizard. Heck, you an even use them with an "OR", so that you are using both conditions.
That is the definition of "broken by", the phrase that you used. OTOH, what you coded is "price is above the line".Last edited by koganam; 10-07-2012, 11:33 AM.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
650 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
370 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 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
574 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
577 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment