Right now ONLY plots 1 arrow up on the latest MA cross above and the latest arrow on MA cross bellow. I want to be able to see all of the crosses based on criteria on the entire chart and not just the latest.
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
Arrow only plots the latest MA cross above and the latest cross bellow
Collapse
X
-
Arrow only plots the latest MA cross above and the latest cross bellow
How can I plot arrows in my strategy since the beginning of the chart data... What parameter do I need to change to do so?
Right now ONLY plots 1 arrow up on the latest MA cross above and the latest arrow on MA cross bellow. I want to be able to see all of the crosses based on criteria on the entire chart and not just the latest.
1 PhotoTags: None
-
Hello CROforce,
Thank you for writing in.
You will need to make each instance of your draw object unique, the Tag Name should be different for each arrow.
So for the Tag parameter you could write, "tag1"+CurrentBar.ToString(),
Then each time you call your draw.arrow method, the name of that arrow will be named tag1 plus whatever bar number is current.
Please let us know if you need further assistance.Alan P.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
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
3 views
0 likes
|
Last Post Today, 09:55 AM | ||
Started by geddyisodin, 04-25-2024, 05:20 AM
|
8 responses
58 views
0 likes
|
Last Post Yesterday, 10:45 AM | ||
Started by halgo_boulder, 04-20-2024, 08:44 AM
|
2 responses
21 views
0 likes
|
Last Post Today, 09:41 AM | ||
Started by mishhh, 05-25-2010, 08:54 AM
|
19 responses
6,189 views
0 likes
|
Last Post
by rene69851
Today, 09:29 AM
|
||
Started by gwenael, Today, 09:29 AM
|
0 responses
5 views
0 likes
|
Last Post
by gwenael
Today, 09:29 AM
|
Comment