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

Always Snap Drawing Tool To Bars Not Price

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

    Always Snap Drawing Tool To Bars Not Price

    Short of writing my own method for Snapping, is it possible to have a Drawing Tool always snap to bars and not price, regardless of the chart Snap Mode?

    If not, could you submit a feature request for two more Drawing Tool bool properties (AlwaysSnapToBar and AlwaysSnapToPrice).

    <Edit>
    Might as well add AlwaysSnapToBarAndPrice to the request. Then with the existing IgnoresSnapping property, all four snap conditions are covered.
    Last edited by TheTradingMantis; 01-27-2017, 09:13 AM.
    The Trading Mantis
    NinjaTrader Ecosystem Vendor - The Trading Mantis

    #2
    Hello gregschr,

    To avoid the preset snap mode and just always snap you would likely need to add in your own logic to control that. There are no specific properties I am aware of that would tell the tool to do this. I will add a feature request for set properties for this,

    For the time being you may be able to accomplish this by adding in your own snapping logic or rounding the anchor times to the nearest bar interval time as an example.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by alifarahani, Today, 09:40 AM
    6 responses
    32 views
    0 likes
    Last Post alifarahani  
    Started by Waxavi, Today, 02:10 AM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by Kaledus, Today, 01:29 PM
    5 responses
    14 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by Waxavi, Today, 02:00 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by gentlebenthebear, Today, 01:30 AM
    3 responses
    17 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X