- Cleapicks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
adding a flatline plot type
Collapse
X
-
adding a flatline plot type
I would like to suggest NinjaTrader to add a new plot type which is similar to the PLOTTYPE_FLATLINES in eSignal EFS. Basically when an indicator line (i.e. resistance/support line) changes very fast so that it changes value at each bar, the line is drawn like a staircase instead of connecting the value at each bar with a line.
- CleapicksTags: None
-
Could you consider adding "Flatlines" as a new plot style in the future release. When using "Square", the short vertical lines connecting the points where the horizontal R/S line jumps seem really distracting and annoying.
In the attached example, the red and green lines are resistance and support lines. You can see how annoying those vertical lines are. Whithout them, the chart would look much cleaner.
Originally posted by NinjaTrader_Ray View PostTry using the "Square" plot style, not exact but similar.
Comment
-
Great, it seems Hash style is what I was looking for although it draws with dashed lines instead of solid lines in eSignal EFS. Anyway it is better than the square style when drawing R/S lines. Thanks, Ben.
Originally posted by NinjaTrader_Ben View PostHello,
Did you try the hash plot style?
Comment
-
Hello Ben,
PlotStyle does not contain a definition for "Solid". The following code can not be compiled. What is wrong in my code? Or Solid is not defined?
Add(new Plot(new Pen(Color.Blue, 2), PlotStyle.solid, "Plot0"));
Originally posted by NinjaTrader_Ben View PostHello,
You can also change the Dash style to solid or dashed.
Comment
-
Hello,
The reason it will not compile is that "PlotStyle.solid" is not a valid parameter. Please see the following link for valid parameter for creating a plot:
Try something like this for a solid line:
Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0"));DenNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Touch-Ups, Today, 10:36 AM
|
0 responses
5 views
0 likes
|
Last Post
by Touch-Ups
Today, 10:36 AM
|
||
Started by geddyisodin, 04-25-2024, 05:20 AM
|
8 responses
61 views
0 likes
|
Last Post Yesterday, 10:45 AM | ||
Started by jxs_xrj, 01-12-2020, 09:49 AM
|
4 responses
3,289 views
1 like
|
Last Post
by jgualdronc
Today, 10:02 AM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 09:55 AM | ||
Started by halgo_boulder, 04-20-2024, 08:44 AM
|
2 responses
24 views
0 likes
|
Last Post Today, 09:41 AM |
Comment