• 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

  • Erwin Beckers
    started a topic Force Snap mode to price in custom drawing tool

    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 ?


  • NinjaTrader_ChelseaB
    replied
    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.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by Atilla, Today, 04:26 AM
0 responses
0 views
0 likes
Last Post Atilla
by Atilla
 
Started by FelixMMM, Today, 04:11 AM
0 responses
0 views
0 likes
Last Post FelixMMM  
Started by TazoTodua, Today, 02:02 AM
0 responses
2 views
0 likes
Last Post TazoTodua  
Started by rehema, Today, 01:29 AM
0 responses
5 views
0 likes
Last Post rehema
by rehema
 
Started by Papercut110, Yesterday, 11:25 PM
0 responses
3 views
0 likes
Last Post Papercut110  
Working...
X