Thank you.
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
"Attach To" property for indicator drawn objects
Collapse
X
-
"Attach To" property for indicator drawn objects
I would like to request the "Attach To" property that is available on manual draw objects to also be available on draw objects created by code.
Thank you.Tags: None
-
Attaching a created object to a chart, not an indicator (chart)
When I use the method DrawRectangle or DrawLine to create a rectangle and/or line it creates the object on the chart and attaches it to (Attach to) the indicator which created it (logically). Is there a way to create these objects (rectangles and lines) which ARE NOT attached to the indicator but only attached to the chart & data series? Or, is there a way to alter the “Attach to” parameter from within NinjaScript?
The reason I do not want the object attached to the indicator is because I may want to manually delete the object. Currently, when I try to manually delete the object, I get a warning which states, “The object was drawn by an indicator or strategy. Removing this object will also remove the indicator/strategy which created this object”
Comment
-
PnlPaul,
You cannot adjust the settings of the attach to via NinjaScript. However, you can remove certain objects but this will need to be done in the script. You would not be able to do this manually when the draw objects are place by an indicator.
Let me know if I can be of further assistance.Cal H.NinjaTrader Customer Service
Comment
-
I have an Indicator which drawns Fibo Retracements. This fibo object becomes attached to the indicator, so when I'm reloading indicators it's getting refreshed as well.
When I open object drawn by indicator, "Attach To" field is inavtice (greyed out).
What I want is to draw Fibo retracements figure with my indicator and then attach this figure to current chart instead of indicator.
Is it possible to do?
Thanks.
Comment
-
Hello soulrider,
There is not a supported method of drawing an object with an indicator and this not being attached to the indicator.
Also I am not aware of an unsupported method of doing this.
If you know that NeoHarmonics has a method to achieve this, I recommend contacting NeoHarmonics and seeing if they will provide you with this unsupported code.Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by IanS00, 03-27-2024, 11:24 AM
|
2 responses
10 views
0 likes
|
Last Post Today, 02:00 AM | ||
Started by Mariawilcoxi, Today, 01:32 AM
|
0 responses
1 view
0 likes
|
Last Post
by Mariawilcoxi
Today, 01:32 AM
|
||
Started by gleichnerany, Today, 01:17 AM
|
0 responses
4 views
0 likes
|
Last Post
by gleichnerany
Today, 01:17 AM
|
||
Started by WHICKED, 03-27-2024, 12:33 PM
|
4 responses
45 views
0 likes
|
Last Post Today, 12:28 AM | ||
Started by f.saeidi, Today, 12:12 AM
|
0 responses
6 views
0 likes
|
Last Post
by f.saeidi
Today, 12:12 AM
|
Comment