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 TheWhiteDragon, 01-21-2019, 12:44 PM
|
4 responses
541 views
0 likes
|
Last Post
by PaulMohn
Today, 04:09 AM
|
||
Started by GLFX005, Today, 03:23 AM
|
0 responses
3 views
0 likes
|
Last Post
by GLFX005
Today, 03:23 AM
|
||
Started by XXtrader, Yesterday, 11:30 PM
|
2 responses
11 views
0 likes
|
Last Post
by XXtrader
Today, 03:07 AM
|
||
Started by Waxavi, Today, 02:10 AM
|
0 responses
7 views
0 likes
|
Last Post
by Waxavi
Today, 02:10 AM
|
||
Started by TradeForge, Today, 02:09 AM
|
0 responses
14 views
0 likes
|
Last Post
by TradeForge
Today, 02:09 AM
|
Comment