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.
-Brett
-
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.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
27 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:33 PM
|
||
Started by wzgy0920, 04-23-2024, 09:53 PM
|
2 responses
49 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
193 views
0 likes
|
Last Post
by Hasadafa
Yesterday, 10:19 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
11 responses
3,235 views
0 likes
|
Last Post Yesterday, 08:07 PM |
Comment