• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Force Snap mode to price in custom drawing tool

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

    Force Snap mode to price in custom drawing tool

    I'm working on a custom drawing tool , is there any way i can force the chartanchors to snap to price ?
    If not.. is there a way to change the current snap mode ?


    #2
    Hello Erwin Beckers,

    While it is not guaranteed to work, you can try changing the chartControl properties. Below is a public link to the help guide.
    https://ninjatrader.com/support/help...properties.htm


    The for sure way would be to control this with the custom logic in the drawing tool.

    As an example, the Regression drawing tool forces the anchors y values to a calculated value. You could instead force this to the high of the bar or any other calculated price.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mike3238, Yesterday, 07:09 PM
    1 response
    19 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Rashid Garuba, Today, 11:37 AM
    0 responses
    8 views
    0 likes
    Last Post Rashid Garuba  
    Started by elkhatabi, Today, 11:19 AM
    0 responses
    5 views
    0 likes
    Last Post elkhatabi  
    Started by hurleydood, Today, 10:07 AM
    0 responses
    6 views
    0 likes
    Last Post hurleydood  
    Started by Irukandji, Today, 09:43 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ThomasC  
    Working...
    X