The indicator calculates swings from the previous session but I would like to start fresh at session start. I have been trying to reset different variables prior to a session start but have not had any success with resetting the swings.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
PriceActionSwing reset
Collapse
X
-
PriceActionSwing reset
How would I reset the swings portion of this indicator?
The indicator calculates swings from the previous session but I would like to start fresh at session start. I have been trying to reset different variables prior to a session start but have not had any success with resetting the swings.Tags: None
-
Hello,
Thanks for the note.
This would require a coding change in the indicator and basically you would want to change the current reset to the following:
if (FirstBarOfSession)
//Reset swing indicator.
Though normally we are not able to do custom coding what I can do is take a quick look at the indicator. Can you link me to the indicator and I will see if I can offer more advice. I did a search on the forum for this name and could not locate it.
-BrettBrettNinjaTrader Product Management
-
Hi Brett,
Thanks for responding and for your help!
The indicator is here:
Comment
-
Hello,
Thanks for posting.
Unfortunately this indicator is a very complex one, it would most likely take some in depth coding to change this indicator logic that I am unfortunately not able to do for you.You may need to ping a NinjaScript consultant to help you with making this change.
Let me know if I can be of further assistance.BrettNinjaTrader Product Management
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
574 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
332 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment