Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
EasyLanguage to NinjaScript
Collapse
X
-
You will use the IObjectName instead. Like IRay: http://ninjatrader.com/support/helpGuides/nt7/iray.htm
I will give that a go.
BackColor is what you need for the background: http://ninjatrader.com/support/helpG.../backcolor.htm
Thanks.
You need to review the NinjaScript documentation: http://ninjatrader.com/support/helpG..._reference.htm
ok.
For the TradeStation symbols, can you please confirm you followed the directions at the following link?[/QUOTE]
yes, esh16 is working fine into ES 03-16 but $spx.x is not working into ^SP500
-
Hello RobinT,
You will use the IObjectName instead. Like IRay: http://ninjatrader.com/support/helpGuides/nt7/iray.htm
BackColor is what you need for the background: http://ninjatrader.com/support/helpG.../backcolor.htm
You need to review the NinjaScript documentation: http://ninjatrader.com/support/helpG..._reference.htm
For the TradeStation symbols, can you please confirm you followed the directions at the following link?
Leave a comment:
-
Suppose I find my line using:
foreach (IDrawObject draw in DrawObjects )
{
if (draw.DrawType.ToString() == "Ray" & draw.Tag == "TL81" )
{Print (draw.Tag + " " + draw.DrawType ) ; }
}
How do I change the parameters or get them from draw ?
Leave a comment:
-
I am still not getting any data from Tradestation for $ symbols like $spx.x or $vix.x
futures ok.
Leave a comment:
-
You would need to cycle through the DrawObjects on the chart, please refer to the information at the following link: http://ninjatrader.com/support/helpG...drawobject.htm
I want to cycle through some (not all) of the objects and I want to know how to get to the object via the tag.
Are you asking how to get the drawing objects from multiple charts or the price values from multiple charts? You will need to expand upon your inquiry further so that I may understand.
I have a chart with two panels and an instrument in each panel. The indicator gets data from panel 1, how do I get data from panel 2?
Please visit the following link: http://ninjatrader.com/support/helpG.../indicator.htm[/QUOTE]
That does not help me with the chart parameters like backgound color.
Leave a comment:
-
Hello RobinT,
Thank you for your patience.
I would not use DrawExtendedLine or DrawRay for this. I am wondering if a simple negative barsAgo value would not be what you are looking for. For example:Originally posted by RobinT View PostI am looking for a Horizontal line from a start point and extends right as time progresses. I can use:
Drawline (
and set the endtime to DateTime.Now on every bar
is there a way of using DrawExtendedLine ( and have it not extend left as I dont want that.
would I be correct in thinking a Ray does what I want and when I am finished with the line I can convert it into a Drawline (). It says a ray extend in one direction, but it doesn't say which direction.
Code:DrawLine("tag", 2, Close[0], -2, Close[0], Color.Black);You would need to cycle through the DrawObjects on the chart, please refer to the information at the following link: http://ninjatrader.com/support/helpG...drawobject.htmOriginally posted by RobinT View PostI have a number of Rays, each with its own unique tag, "TL01", "TL99" etc. Once these are plotted how do I get and change the parameters using the tag. I want to get the Startdate and I want to change the color.
Are you asking how to get the drawing objects from multiple charts or the price values from multiple charts? You will need to expand upon your inquiry further so that I may understand.Originally posted by RobinT View Postalso if I have multiple charts, how do I get data from multiple data streams.
Please visit the following link: http://ninjatrader.com/support/helpG.../indicator.htmOriginally posted by RobinT View PostWhere can I find a list of programmable properties like:
HorizontalGridLines = false;
Leave a comment:
-
What I am trying to do is change the color and style of my lines from the tags only, TL10 - TL99
Leave a comment:
-
I can use Print ( DrawObjects["TL11"].DrawType.ToString() ) ;
ok,
but how do I get the other parameters from just the tag ?
Leave a comment:
-
Where can I find a list of programmable properties like:
HorizontalGridLines = false;
Leave a comment:
-
also if I have multiple charts, how do I get data from multiple data streams.
Leave a comment:
-
I have a number of Rays, each with its own unique tag, "TL01", "TL99" etc. Once these are plotted how do I get and change the parameters using the tag. I want to get the Startdate and I want to change the color.
Leave a comment:
-
would I be correct in thinking a Ray does what I want and when I am finished with the line I can convert it into a Drawline (). It says a ray extend in one direction, but it doesn't say which direction.
Leave a comment:
-
I am looking for a Horizontal line from a start point and extends right as time progresses. I can use:
Drawline (
and set the endtime to DateTime.Now on every bar
is there a way of using DrawExtendedLine ( and have it not extend left as I dont want that.
Leave a comment:
-
RobinT,
I think what you are looking for would be under Tools > Edit NinjaScript > CustomPlotSample.
Leave a comment:
-
If someone could point me to posts about line drawing, I would be grateful.
Leave a comment:
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by kinfxhk, 07-14-2026, 09:39 AM
|
0 responses
128 views
0 likes
|
Last Post
by kinfxhk
07-14-2026, 09:39 AM
|
||
|
Started by kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
105 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
86 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
105 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
86 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|

Leave a comment: