Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy builder

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

    Strategy builder

    Good afternoon, can someone help me with the strategy builder?
    I want to know how I can configure it to open a long position when the price touches a moving average (SMA 52 period)​ not when the bar closes, but just touches the moving average. I use Tick Chart 610. Thank You.

    #2
    Just initiate a new Strategy with Strategy Builder and set calculate:on each tick.
    Then in a Set, in the Conditions panel, press add and chose from the left: price (close) / from the center: "equals" and / from the right: Indicators/SMA with period 52
    In the Actions panel, press add and chose to enter Long

    Note that in this case, price(close) doesn't represent the bar close, it's updated on each tick, so it's always the current price.
    Last edited by KonstantinosNT; 01-18-2023, 04:11 AM.

    Comment


      #3
      Thanks for answering, but the long does not open when the price touches the moving average.

      The strategy I would like to configure would be:
      open long:
      sma 20 > sma 80
      Price touch EMA 52period or SMA 52

      What I can't do is open the trade when the price touches the moving average, it only does when the 610 tick bar closes right on the indicator or when it closes below the indicator (using cross below)

      I really appreciate your help I have tried for months.



      Attached Files

      Comment


        #4
        Hi guszan.

        Change the "equals" with "cross above" in the 2nd Condition.
        That will make long trades to be opened normally.

        The problem is that the price never "touches" the sma in an absolut, mathematical sense.
        What we really see in a chart is in fact, always a cross over , and we translate it verbally into "touch", but that's not mathematically accurate.
        The sma value is a double precision number (which has many decimal points) and it will almost never equals to the price, which follows specific / distinct value levels according to points and ticks.​
        Last edited by KonstantinosNT; 01-19-2023, 01:34 AM.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, Today, 06:46 AM
        0 responses
        9 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, Yesterday, 05:21 PM
        0 responses
        14 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        15 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        82 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        48 views
        0 likes
        Last Post PaulMohn  
        Working...
        X