Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Excluding an event based on past period activity
Collapse
X
-
Hello MickeyHR,
You can still do this if you would like to see the lowest price of a moving average. Since MIN takes in a Data Series, you can pass it an indicator like SMA and it will still function the same.
Example:
int lowestSMAValue = MIN(SMA(14), 4);
-
Thank's.Originally posted by NinjaTrader_JC View PostHello MickeyHR,
Yes, that would be possible to do. The best way you may be able to accomplish this would be to use the MIN method. Here is a link to our Help Guide that goes over this and demonstrates how to use this as well.
http://www.ninjatrader.com/support/h...inimum_min.htm
I should have naturally stated that my aim is to have a changing critical value. Based on a moving average.
So unfortunately according to my understanding, if the critical value (moving average) has increased to a value which is above a MIN based minimum of say 30 bars back it would create a false indication by basing the trigger on that past MIN which actually at that time was above the critical level.
So... Are there any other methods I could use to include the look back period?
Leave a comment:
-
Hello MickeyHR,
Yes, that would be possible to do. The best way you may be able to accomplish this would be to use the MIN method. Here is a link to our Help Guide that goes over this and demonstrates how to use this as well.
Leave a comment:
-
Excluding an event based on past period activity
Hopefully the topic is at least somewhat explanatory...
Is there a method by which I could filter signals from getting triggered?
Here is a sample scenario:
If price bar low has gotten below a certain level at any point within a certain look back period do not generate a signal (even if the low would get back above that critical level).
Cheers
Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
37 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
23 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
162 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
98 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
152 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|

Leave a comment: