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

WCCI Values

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

    WCCI Values

    Hello,

    I'm trying to derive the numerical value from WCCI's Sidewinder indicator for use in an automated strategy. From what I understand it should be:

    green >100
    yellow 100 - 60
    red <60

    However, used like this, it doesn't seem to be working. I will really appreciate any hint on what could be wrong. Thank you

    #2
    Hi soseki,
    If you post your code or sceenshots of your strategy wizard setup, it's easier to assist for us, thanks!
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Attached is an example from wizard. Without the last line it works fine, however written like this, it shows no entries at all.
      Attached Files

      Comment


        #4
        Hi soseki,
        First you want to make sure your conditions evaluate to true and generate the signal you look for, so to verify you could add an arrow from the Drawing section under 'Do the following'.

        Also not sure how you arrived at the order line in your shot, please try changing it to just the basic EnterLong statement (EnterLong(DefaultQuantity,"") and see if you can get an execution historically.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Thank you. I'm sure there are plenty of correct entry signals. To see them I use some small PT and SL on historical data.
          I've changed the order line as you suggested, however it's not the issue. It still appears to me that I'm either doing something wrong with Sidewinder or it just doesn't generate numerical data in this way.

          Comment


            #6
            soseki,

            The sidewinder does not return values like that.

            Snippet from the Help Guide:
            Code:
            Returns sidewinder value 
            WoodiesCCI().Sidewinder[int barsAgo] 
            WoodiesCCI(IDataSeries inputData).Sidewinder[int barsAgo] 
             
            Return values representing the sidewinder plot value are as follows: 
             
            -1 = Warning 
            0 = Neutral 
            1 = Trending
            You get -1, 0, or 1. If you need help on the interpretation of this it may be best to direct them over on Woodies' forums.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Thank you, my bad I didn't check the article before asking here.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by samish18, 04-17-2024, 08:57 AM
              16 responses
              55 views
              0 likes
              Last Post samish18  
              Started by arvidvanstaey, Today, 02:19 PM
              3 responses
              9 views
              0 likes
              Last Post NinjaTrader_Zachary  
              Started by jordanq2, Today, 03:10 PM
              2 responses
              8 views
              0 likes
              Last Post jordanq2  
              Started by traderqz, Today, 12:06 AM
              10 responses
              18 views
              0 likes
              Last Post traderqz  
              Started by algospoke, 04-17-2024, 06:40 PM
              5 responses
              47 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Working...
              X