Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Displaying only the most recent value of an indicator on a chart
Collapse
X
-
Displaying only the most recent value of an indicator on a chart
Hi, I have an indicator that changes values constantly through the day and would like to add it to my chart. But, I don't want to chart the historical values, just display the current value. Is there a way to calculate the current value only on the chart? The value does not need to change once it's displayed.Tags: None
-
Do you need historical bars info for it to calculate? Otherwise you could just set the value on the first realtime bar you enable it on - http://www.ninjatrader.com/support/h...historical.htm
-
Hi Bertrand,
No, it would not require historical bars for the calculation. I don't understand the reference to the Historical link, though.
The indicator in question is relative volume. It determines a factor between 0 and 1 based on the time of day (it's not completely linear), and then uses the following calculation:
(volumeToday / (avgDailyVolume * timeFactor))
The result is a prediction of how many shares this stock will trade by the end of the day based on the time of day and current volume. A value of 1 means that the stock will end the day with its average daily volume; a value of 1.2 means that it will end the day with 20% above its average daily volume. The value of this indicator changes during the day, but I don't care about its past values.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
56 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
37 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
17 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
19 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
49 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment