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 suroot, 04-10-2017, 02:18 AM
      4 responses
      3,021 views
      0 likes
      Last Post truepenny  
      Started by Stanfillirenfro, Today, 07:23 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by cmtjoancolmenero, Yesterday, 03:58 PM
      2 responses
      22 views
      0 likes
      Last Post cmtjoancolmenero  
      Started by olisav57, Yesterday, 07:39 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by cocoescala, 10-12-2018, 11:02 PM
      7 responses
      944 views
      0 likes
      Last Post Jquiroz1975  
      Working...
      X