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 GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,227 views
    0 likes
    Last Post xiinteractive  
    Started by andrewtrades, Today, 04:57 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    7 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    440 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    11 views
    0 likes
    Last Post FAQtrader  
    Working...
    X