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.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by PhillT, 04-19-2024, 02:16 PM
    4 responses
    31 views
    0 likes
    Last Post PhillT
    by PhillT
     
    Started by ageeholdings, 05-01-2024, 05:22 AM
    5 responses
    36 views
    0 likes
    Last Post ageeholdings  
    Started by reynoldsn, Today, 02:34 PM
    0 responses
    10 views
    0 likes
    Last Post reynoldsn  
    Started by nightstalker, Today, 02:05 PM
    0 responses
    18 views
    0 likes
    Last Post nightstalker  
    Started by llanqui, Yesterday, 09:59 AM
    8 responses
    30 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Working...
    X