Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Time Regions
Collapse
X
-
The indicator mentioned does not handle time zones and different daylight savings schedules correctly. You would need to define your trading session by entering begin time, end time and time zone. Then draw vertical lines at a fixed interval within the selected session. Attached is a screenshot of an indicator that shows how it could be done. You could also have a look at the source code of this indicator.Originally posted by SLASH View Post
-
Then you would need to identify the session start and add vertical lines as needed. The problem here is that the volume bars will not align to the vertical lines but will overlap from one into the next segment.Originally posted by SLASH View PostI want vertical lines after every few minutes(say 5 min or 15 min or 30 min, or 60 min etc) ,all my session on my volume bar chart .
NinjaTrader comes with a script method DrawVerticalLine(), which you can use to achieve what you wish. Best use the syntax
Code:DrawVerticalLine(string tag, DateTime time, Color color, DashStyle dashStyle, int width)
Last edited by Harry; 04-22-2015, 07:16 AM.
Comment
-
Thanks Harry, found this indicator here post 7 http://www.ninjatrader.com/support/f...+vertical+line
how can I draw these lines to panel 2 and 3 too ?
Comment
-
Hello SLASH,
Thank you for your response.
The indicators can draw on their own panel or the price panel only. Please take a look at the DrawOnPricePanel at the following link: http://www.ninjatrader.com/support/h...pricepanel.htm
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
579 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 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
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment