• 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 Austiner87, Today, 08:16 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by 7robert, Today, 07:27 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by GLFX005, Today, 07:18 AM
    2 responses
    6 views
    0 likes
    Last Post GLFX005
    by GLFX005
     
    Started by Erhard, Today, 04:24 AM
    5 responses
    25 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by brunoviveiros, Today, 04:26 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X