Wichita Falls TX/United States
Experience: Intermediate
Platform: NinjaTrader
Trading: Soybeans, Crude, Natural Gas
Posts: 82 since Dec 2013
Thanks Given: 37
Thanks Received: 65
|
I have question about plotting lines on a chart........I'm starting a journey into programming and have a question. When we draw a line on a chart via the mouse event I would consider that a draw object.
When the program plots a line on the chart via code I would consider that a plot.
My question is this.
If I want to plot a line on a chart via the code based on an event, can the plot object still be referred to as draw.
for example
State == State.SetDefaults
AddPlot(new Stroke(Brushes.SteelBlue, DashStyleHelper.Dash,
///////////////////////////////////////////////////////
State == State.Historical
{
if (!Bars.BarsType.IsIntraday)
{
Draw.TextFixed(this, "NinjaScriptInfo",
This is snippets from the NT 8 PriorDayOHLC
I think my questioned is answered but just want to make sure.........I tend to over think things a little.
Thank you
|