With the SuperTrend indicator i`m trying to get the historical text markers for the occurance,when the developing bar[0](COBC=false) touches the dotvalue of the bar[0].So far i can only get the markers while the bar is developing,but when i hit F5 it disappears.Any suggestions on how to keep the markers on the chart,without them being dissapeared,are greatly appreciated!
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
Historical text markers
Collapse
X
-
Historical text markers
Hello,Support and All,
With the SuperTrend indicator i`m trying to get the historical text markers for the occurance,when the developing bar[0](COBC=false) touches the dotvalue of the bar[0].So far i can only get the markers while the bar is developing,but when i hit F5 it disappears.Any suggestions on how to keep the markers on the chart,without them being dissapeared,are greatly appreciated!Tags: None
-
Hello outsource,
If the object is being drawn in real-time then it also needs to be drawn historically as well.
When you hit F5 the indicator will reload, removing any drawn objects, and will go through all of the historical data again and redraw them.
If in the historical data you are also drawing the object then it will appear when you refresh the chart.
Are you drawing the object historically when the conditions are true?
(If you re-use the tag name, it will be re-drawn in the new location in real-time once the condition is true for it to draw)Chelsea B.NinjaTrader Customer Service
-
Originally posted by NinjaTrader_ChelseaB View PostHello outsource,
If the object is being drawn in real-time then it also needs to be drawn historically as well.
When you hit F5 the indicator will reload, removing any drawn objects, and will go through all of the historical data again and redraw them.
If in the historical data you are also drawing the object then it will appear when you refresh the chart.
Are you drawing the object historically when the conditions are true?
(If you re-use the tag name, it will be re-drawn in the new location in real-time once the condition is true for it to draw)
just like i said,it draws the text markers only while the bar is developing,when the conditions are met,but doesn`t keep them historically.
Did you see the source.Tags have nothing to do with it,i think.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by AgriTrdr, 07-16-2023, 12:54 PM
|
39 responses
272 views
0 likes
|
Last Post
by f.saeidi
Today, 10:23 AM
|
||
Started by ninza33, Today, 09:10 AM
|
1 response
10 views
0 likes
|
Last Post Today, 09:46 AM | ||
Started by goodknight777, Today, 08:43 AM
|
1 response
6 views
0 likes
|
Last Post Today, 09:25 AM | ||
Started by kramnor2001, Yesterday, 02:30 PM
|
3 responses
21 views
0 likes
|
Last Post
by kramnor2001
Today, 09:20 AM
|
||
Started by Padan, Today, 02:02 AM
|
3 responses
12 views
0 likes
|
Last Post Today, 08:54 AM |
Comment