Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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 Aviram Y, Today, 05:29 AM
|
3 responses
10 views
0 likes
|
Last Post Today, 07:52 AM | ||
Started by algospoke, 04-17-2024, 06:40 PM
|
3 responses
26 views
0 likes
|
Last Post Today, 07:41 AM | ||
Started by bmartz, 03-12-2024, 06:12 AM
|
3 responses
30 views
0 likes
|
Last Post Today, 07:38 AM | ||
Is it possible to have a drawing, such as a line, cycle through different colors?
by gentlebenthebear
Started by gentlebenthebear, Today, 01:30 AM
|
1 response
8 views
0 likes
|
Last Post Today, 07:30 AM | ||
Started by cls71, Today, 04:45 AM
|
1 response
7 views
0 likes
|
Last Post Today, 07:25 AM |
Comment