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 judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
57 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
35 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
19 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
9 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment