Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Reset an Indicator for start of Session
Collapse
X
-
Reset an Indicator for start of Session
Hello - is there a way to reset an Indicator so that it is at zero at the start of the session? That is what the VWAP does. I would like to do this with a MACD or an RGaussian Filter. I can't find anything through Search.The Sample Trade Limiter link has code for resetting a tradeCounter for a Strategy. I don't see how to apply this to an indicator. Thank you for any help you can give.Official NinjaScript reference code samplesTags: None
-
Hello JohnS52,
This would need to be custom coded logic.
Below is a link to an example that uses Bars.FirstBarOfSession.
Hello, I've updated the DailyLossLimit and DailyLosLimitMultiTrade examples that were posted on the forum for NinjaTrader 7 for NinjaTrader 8. These are often requested and I felt they are good examples to have for NT8. DailyLossLimitExample_NT7 - http://ninjatrader.com/support/forum...241#post451241 (http://ninjatraderChelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
637 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
366 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
107 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
569 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
572 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|
Comment