Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Drawing Verticle Lines on MACD Crosses...Multiple Instances
Collapse
X
-
Drawing Verticle Lines on MACD Crosses...Multiple Instances
So I used strategy builder to draw a line on the chart panel when the MACD crosses and stays above or below the smoothing for a certain number of bars. It works, but it only paints the most recent instance...be it a cross up or down, doesn't matter. Of course I want it to paint all instances for the data loaded and run live time. What am I missing in the strategy builder to make this happen? I am sure this is a common request but I couldn't find it in search. Thanks ;-)Tags: None
-
Thanks Chris. So I changed Set 1 and Set 2 tag names to "tag1" and "tag2" and that picks up the most recent up and down turn respectively and rolls them going forward. That is great for real time trading, but if I have 10 days of data loaded and wanted every instance marked, what would I have to name the tags? Thanks.
Comment
-
Hello 90bideven,
Thanks for your reply.
Chris meant that you should change the tag name of the drawing object itself (the vertical line) to include the current bar number.
Here is a short video that walks through this: https://paul-ninjatrader.tinytake.co...MF8xMTMwNTc0MA
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
46 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
66 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment