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!
See more
See less

Partner 728x90

Collapse

change arrow type

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

    change arrow type

    Hi. I want to change the arrow currently used in an indicator

    presume there's individual codes for each arrow, symbol, glyph, is there a list
    available of the codes, and, illustrations of them so I could choose what I want ?

    also want to space the arrows higher/lower from the price bars
    is that just a matter of entering a larger number ?

    #2
    Hello tradr,
    Thanks for writing in and I am happy to assist you.

    The DrawObjects function holds the collection of all the drawobjects generated by the NinjaScript code and draw objects manually drawn by users.


    To space the arrows higher or lower the chart, you can multiply it by an appropriate tick size.
    For example the below code offsets the arrow by 5 ticks from low.
    Code:
    this.DrawArrowUp("up", 0, Low[0] - 5 * TickSize, Color.Green);
    Please let me know if I can assist you any further.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ender_wiggum, Today, 09:50 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by rajendrasubedi2023, Today, 09:50 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by geotrades1, Today, 10:02 AM
    0 responses
    4 views
    0 likes
    Last Post geotrades1  
    Started by bmartz, Today, 09:30 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by geddyisodin, Today, 05:20 AM
    3 responses
    24 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X