Announcement

Collapse
No announcement yet.

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;

    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

        Comment


          #5
          Thanks! You're the best

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          264 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          168 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          171 views
          1 like
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          257 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          209 views
          0 likes
          Last Post CarlTrading  
          Working...
          X