Thanks for any help
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
How to draw an up arrow
Collapse
X
-
Hello DTSSTS,
Thanks for your post.
In your example screenshot the Y value (or price level) is at 0, so your arrow would be at the price level of 0, this is the default behavior of the strategy builder when you do not provide where you want to place the arrow vertically on the chart. The 0 for "bars ago is the "when" in time the arrow is placed and 0 would be the bar that is being processed when your conditions to draw the arrow are true.
Also, when draw objects use the same tag name, you will only see the latest arrow and this is the default behavior in the strategy builder to minimize the draw objects. If you would like to see all the historical occurrences of the arrow, you would need to make your draw object tag name unique per instance of drawing the object.
Here is a short video that addresses how to use price to place the draw objects as well as how to create unique tag names per occurrence: https://Paul-ninjaTrader.tinytake.co...A4M184NTkwOTg3Paul H.NinjaTrader Customer Service
-
what i was trying to do was to plot a drawing in the price area or just below. So what would be an approapiate Y setting as prices vary etc
Also i was wanting to draw where the Slope was > 0.12 of a MA as to research an appropreite setting for use in a strat
Comment
-
Hello DTSSTS,
Thanks for your reply.
In the video I provided I showed using either High or Low price. These are typically used because when you scroll your chart left or right and the price scale is on autoscale the arrows will usually be visible. You can also use any indicator that provides a plot.
Regarding slope, I've attached an example where if the slope of a 20 period SMA is > 0.12, for each bar where that is true, to draw a blue dot on the 20 period moving average.
Paul H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Padan, Today, 02:02 AM
|
7 responses
19 views
0 likes
|
Last Post Today, 12:59 PM | ||
Started by Lele2k24, Yesterday, 11:24 AM
|
9 responses
31 views
0 likes
|
Last Post
by Lele2k24
Today, 12:56 PM
|
||
Started by Adam Klaus, 03-26-2024, 07:43 PM
|
2 responses
21 views
0 likes
|
Last Post
by mcosta72
Today, 12:54 PM
|
||
Started by spottysallrite, Today, 11:31 AM
|
4 responses
10 views
0 likes
|
Last Post Today, 12:53 PM | ||
Started by cozypinto, 12-22-2023, 10:13 AM
|
4 responses
94 views
0 likes
|
Last Post
by Harvard
Today, 12:50 PM
|
Comment