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 Davide999, 05-18-2023, 03:55 AM
|
4 responses
555 views
1 like
|
Last Post
by kcwasher
Today, 09:08 AM
|
||
Started by Stanfillirenfro, Today, 07:23 AM
|
2 responses
10 views
0 likes
|
Last Post Today, 09:06 AM | ||
Started by rexsole, Today, 08:39 AM
|
2 responses
7 views
0 likes
|
Last Post Today, 09:06 AM | ||
Started by cmtjoancolmenero, Yesterday, 03:58 PM
|
6 responses
29 views
0 likes
|
Last Post Today, 08:55 AM | ||
Started by gbourque, Today, 06:39 AM
|
2 responses
14 views
0 likes
|
Last Post
by gbourque
Today, 07:05 AM
|
Comment