Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
please help with the determination of the maximum price volume in the bar
Collapse
X
-
please help with the determination of the maximum price volume in the bar
good day, help please, I can't think of how to make a program to determine at what price the bar has passed the maximum volume?Tags: None
-
Hello Papercut110,
Thank you for your note.
To record the price at the moment the current bars volume has exceeded a value you’ve set as maximum volume, you would want to have your indicator/strategies CalculateOnBarClose=False, so that the condition is analyzed in real time and when the condition becomes true, you can have price set to a variable which you can then reference.
For example, in the strategy wizard, you’ll start by unchecking CalculateonBarClose. Next you’ll create a a User Defined Input called MaxVolume. Then on the Conditions and Actions tab, under When the following conditions are true, you’ll check Volume[0]>MaxVolume, and under Do the Following, you’ll set Variable0=Close[0]. I have provided a copy to the code below.
I’ve included a links to our helpguide as well as a youtube video covering Strategy Wizard.
Youtube: https://www.youtube.com/watch?v=FmBi...D7105&index=10
Helpguide: http://ninjatrader.com/support/helpG...rd_screens.htm
Please let us know if you need further assistance.Attached FilesAlan P.NinjaTrader Customer Service
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 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
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment