Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add a confirming up bar on a moving average cross

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

    Add a confirming up bar on a moving average cross

    With the Moving average cross strategy I am working on - I would like the 2EMA crossing the 50SMA but have two green bars(after the cross) before executing an order. How would I do that in strategy builder?

    Thank you,

    #2
    Hello TylerKiepke,

    Thank you for your post.

    Please clarify; are you looking to have the EMA cross occur on one bar, then the next two bars are green, and then on the next bar, an order is submitted? Or do you intend to just look for the first pair of green bars after the crossover happens?

    I look forward to your reply.

    Comment


      #3
      Please clarify; are you looking to have the EMA cross occur on one bar, then the next two bars are green, and then on the next bar, an order is submitted? - Yes, this.

      Comment


        #4
        Hello TylerKiepke,

        Thank you for the confirmation.

        A very similar example has been posted that checks for a moving average crossover and that the next 3 bars afterward were green:
        Hi, I am trying to get a purchase signal off of a Price Close three periods after a cross over of a 10 period Simple Moving Average (SMA). How would you construct this using the Strategy Builder Conditions Wizard ensuring that each of the past three periods have closed green after the cross over. Please see the images


        I recommend reviewing that example that demonstrates the logic needed in the Strategy Builder to achieve what you are looking for. You will need to save the bar number in which the cross occurs to a custom series, then check that the Close is greater than the Open for two bars and also check that the Current Bar minus the bar where the cross occurred is 2. If these conditions are met, then an order could be submitted.

        Please let us know if we may be of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        50 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        126 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        69 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        42 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X