Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CCI Automated Strategy Question

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

    CCI Automated Strategy Question

    Hi all,

    I need some help. I'm trying to write a strategy in
    NinjaTrader to alert me every time the CCI is above
    200 and below -200. Right now it alerts me the first
    time that happens but that's it. I'd like it to alert
    me every time it goes back above 200 or back below
    -200. I've never had any experience writing a program
    or strategy before so I have no clue what I'm doing.
    I'd really appreciate any and all help I can get.

    Thanks
    rptrader

    #2
    Hi rptrader,

    Welcome to the world of programming. Here is what I would suggest to get you on the right track.

    - If all you want to do is generate an alert of some kind, I would write it as an indicator, not a strategy
    - I would start by going through each one of the Indicator development tutorials, level 1 through 6 to get you familiar with developing an indicator
    - Then I would tackle creating the alert indicator you want
    RayNinjaTrader Customer Service

    Comment


      #3
      Ray,

      Is it possible to make a CCI indicator that alerts you when it goes crosses above the 200 line and then re-arms when it goes back below the 200 line so another alert pops up the next time it happens?

      Thanks
      Ryan

      Comment


        #4
        Yes, this is possible. You will have to use our Alert() method and ResetAlert() method.

        See the Help Guide for its usage.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by geddyisodin, Today, 05:20 AM
        3 responses
        20 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by lorem, Today, 09:18 AM
        1 response
        5 views
        0 likes
        Last Post lorem
        by lorem
         
        Started by bmartz, Today, 09:30 AM
        0 responses
        5 views
        0 likes
        Last Post bmartz
        by bmartz
         
        Started by GussJ, 03-04-2020, 03:11 PM
        14 responses
        3,245 views
        0 likes
        Last Post GussJ
        by GussJ
         
        Started by ArkansasClint, Today, 09:28 AM
        0 responses
        2 views
        0 likes
        Last Post ArkansasClint  
        Working...
        X