Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

help please

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

    help please

    i have a strategy in the works , but im trying to find out how to put a pause or something that will stop the signal until next trend .

    #2
    benrock, would you find the 'next' trend manually and then wish to 'rearm' the strategy? Or would you seek that all be done via code directly?

    Comment


      #3
      i just want to have a buy signal and then let that play out and then a short signal playout , i dont want 2 buys or 2 shorts in a row . i want long/short/long/short

      check out chart below
      Attached Files
      Last edited by benrock; 04-12-2012, 09:42 PM.

      Comment


        #4
        Hi benrock,
        I guess,you can drawing a Diamond with a name TagUpTrendBuySignal or TagDownTrendSellSignal,and within OnBarUpdate(),just check if there is a Diamond alread,if not a new trend begin,otherwise,delete the Diamond,draw a new trend Diamond.

        Comment


          #5
          Ben, for a strategy you could use bool flags to only process alternating longs and shorts, I've posted this HMATrader sample a few months ago on the forums, it would show this idea, perhaps it helps you out, too.
          Attached Files

          Comment


            #6
            thanks , but i dont know anything about code yet to mess with that ,

            Comment


              #7
              any help around ?

              Comment


                #8
                Originally posted by benrock View Post
                thanks , but i dont know anything about code yet to mess with that ,
                Huh? Are you saying that the picture you show was coded exclusively using the Wizard? Wow, the wizard must be more powerful than I thought.

                Comment


                  #9
                  not sure if that was sarcastic but i just drew that picture with drawing tools

                  Comment


                    #10
                    Originally posted by benrock View Post
                    not sure if that was sarcastic but i just drew that picture with drawing tools
                    I was not being sarcastic: I was really surprised, if that was coded using the wizard, as I have not really used the wizard for a very long time.

                    And as penence for not clearly communicating, and coming off as sarcastic, I am going to offer to work with you to code that for you. Please tell me the conditions that create your signal, and we shall go from there.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                    0 responses
                    648 views
                    0 likes
                    Last Post Geovanny Suaza  
                    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                    0 responses
                    369 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by Mindset, 02-09-2026, 11:44 AM
                    0 responses
                    108 views
                    0 likes
                    Last Post Mindset
                    by Mindset
                     
                    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                    0 responses
                    572 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by RFrosty, 01-28-2026, 06:49 PM
                    0 responses
                    573 views
                    1 like
                    Last Post RFrosty
                    by RFrosty
                     
                    Working...
                    X