Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

User drawings handling in script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    User drawings handling in script

    Hello,

    I want to ask please if one can work with user drawn horizontal-line in a script. Is it possible to refer to a certain drawing object - that is drawn manually and not by script conditions - and to move that drawing tool then referring to certain conditions in the script?

    I tried but I cant get it.

    Thank you
    Tony

    #2
    Hello,

    Thank you for the question.

    For accessing drawing objects, you could see the following post: http://ninjatrader.com/support/forum...1&postcount=10

    Regarding changing the object, there are very limited items you can do with a drawing tool when you are not calling it by DrawDot as an example, when looping through the collection much of the properties would be read only. Additionally is it not possible to remove manually drawn objects from script so in general this is not a good approach.

    You could also take a look at this indicator as it uses some other undocumented drawing tool methods which may be of use : http://ninjatrader.com/support/forum...d=4&linkid=472


    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, Yesterday, 11:51 AM
    0 responses
    10 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, Yesterday, 11:48 AM
    0 responses
    11 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-25-2026, 09:53 PM
    0 responses
    11 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    9 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 03-23-2026, 11:13 AM
    0 responses
    16 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X