Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Vertical Lines on Daily Chart
Collapse
X
-
Vertical Lines on Daily Chart
We have numerous excellent intraday vertical lines and shaded areas for time ranges, but I cannot find any such lines for a daily chart. Is there an indicator for: 1) drawing vertical lines on a specified date? 2) calendar day series e.g. draw a line today and then every 7 calendar days or 7 trading days etc?Tags: None
-
Hello AlphaOptions,
I took a look around the forums and I was able to find something similiar, but I don't think this is quite what you are after.
http://ninjatrader.com/support/forum...877#post164877
The behavior you have described would not require much code to achieve.
Basically, a time filter and a DrawVerticalLine() call.
For example:
Code:if (ToDay(Time[0]) == 20160426) { DrawVerticalLine("vertline" + CurrentBar, 0, Color.Green); }
Code:private DateTime drawTime; [Description("")] [GridCategory("Parameters")] public DateTime DrawTime { get { return drawTime; } set { drawTime = value; } } if (ToDay(Time[0]) == ToDay(DrawTime)
Chelsea B.NinjaTrader Customer Service
-
Chelsea - thank you for trying to help me. The scripting you outlined was very gracious, but I am afraid I have no idea how to do something like that. I do appreciate the efforts and for responding so quickly.
Comment
-
Hello AlphaOptions,
If the BarInterval script in the post I have linked in my previous post does not do the trick, you can also contact one of our professional NinjaScript Consultants who would be eager to create or modify this script at your request or assist you with your script. Please let me know if you would like our business development follow up with you with a list of professional NinjaScript Consultants who would be happy to create this script or any others at your request.Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Waxavi, Today, 02:10 AM
|
0 responses
6 views
0 likes
|
Last Post
by Waxavi
Today, 02:10 AM
|
||
Started by TradeForge, Today, 02:09 AM
|
0 responses
11 views
0 likes
|
Last Post
by TradeForge
Today, 02:09 AM
|
||
Started by Waxavi, Today, 02:00 AM
|
0 responses
2 views
0 likes
|
Last Post
by Waxavi
Today, 02:00 AM
|
||
Started by elirion, Today, 01:36 AM
|
0 responses
4 views
0 likes
|
Last Post
by elirion
Today, 01:36 AM
|
||
Is it possible to have a drawing, such as a line, cycle through different colors?
by gentlebenthebear
Started by gentlebenthebear, Today, 01:30 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 01:30 AM |
Comment