Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM autotrail error

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

    ATM autotrail error

    NT 7 setting up ATM auto trail.
    See attached image.

    I get this error when entering a trade.
    What am I doing wrong?

    **NT** Error on calling 'OnMarketData' method for strategy 'AutoTrail/eacd531400a343fc9af917931733503a': Value was either too large or too small for an Int32.
    Attached Files

    #2
    What version of NinjaTrader 7 are you using? This can be found under Help -> About (Example: 7.0.1000.X)

    Your 'frequency' and 'profit trigger' properties must have values greater than zero.

    Here is a brief overview of how the different columns in an auto-trail stop strategy work:

    'Stop loss' answers this question -
    • "How far behind the current price would you like your stop loss to trail?"

    'Profit trigger' answers this question -
    • "After how many ticks in profit would you like your auto-trail to begin?"

    'Frequency' answers this question -
    • "How often, in ticks of profit, would you like the auto-trail to update?"

    I would suggest watching this video which covers how to use a stop strategy in NinjaTrader:

    Comment


      #3
      I'm using version 36.

      Apparently the frequency / trigger thing was the issue. When it is greater than zero it works as expected.

      Thanks for the help.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by yertle, Yesterday, 08:38 AM
      7 responses
      28 views
      0 likes
      Last Post yertle
      by yertle
       
      Started by bmartz, 03-12-2024, 06:12 AM
      2 responses
      21 views
      0 likes
      Last Post bmartz
      by bmartz
       
      Started by funk10101, Today, 12:02 AM
      0 responses
      6 views
      0 likes
      Last Post funk10101  
      Started by gravdigaz6, Yesterday, 11:40 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by MarianApalaghiei, Yesterday, 10:49 PM
      3 responses
      11 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Working...
      X