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

RSqueeze

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

    RSqueeze

    Dear Cservice,

    I'm trying to implement the RSqueeze into my strategy. However, it keeps givings faults.
    I've used the following codes:

    When I type: Add (RSqueeze(
    it gives the following: RSsqueezeStrategy.RSqueeze(SqueezeStyle sStyle)

    So I've tried the following codes:

    Add (RSqueeze(SqueezeStyle, CounterTrend));
    Add (RSqueeze(SqueezeStyle.CounterTrend));

    But it keeps saying name Squeezestyle does not excist and CounterTrend does not excist.

    Please help.
    Attached Files

    #2
    Hello Robert87,

    Thanks for your post.

    The issue here is that the RSqueeze file contains another namespace called RSqueeze.Utility. because of that (different namespace) you will need to add a using statement in your strategy declarations (at the top of your strategy)

    using RSqueeze.Utility;
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      This might sounds stupid. But I can't find where to put the using statement. On wich line do I put the statement on an empty script?

      Comment


        #4
        Hello Robert87,

        Thanks for your reply.

        No worries, please see attached.
        Attached Files
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Thanks! You're the best

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by DayTradingDEMON, Today, 09:28 AM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by cmtjoancolmenero, Yesterday, 03:58 PM
          8 responses
          31 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by helpwanted, Today, 03:06 AM
          2 responses
          22 views
          0 likes
          Last Post NinjaTrader_LuisH  
          Started by navyguy06, Today, 09:28 AM
          0 responses
          5 views
          0 likes
          Last Post navyguy06  
          Started by rjbtrade1, 11-30-2023, 04:38 PM
          2 responses
          77 views
          0 likes
          Last Post DavidHP
          by DavidHP
           
          Working...
          X