Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Current price touches EMA

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

    Current price touches EMA

    Good morning. I'm creating an automated strategy with the Strategy Builder and can't find a way to configure it, for example, to change the chart background color when the current price touches the EMA.
    Thanks.​

    #2
    Hello Rodrigo1165,

    To make a condition checking if the price touches you can use the Greater equals or less equals operator in your condition. Checking if the price is exactly equal may not work so you would want to check if the price has either crossed or is equal. To color the chart you can select the action Drawing -> Set background color

    Comment


      #3
      I am build a EMA bouncing strategy, when de price touch the EMA i want to enter to the market. I could use Greater equals or less equals, but it should be while the candle is open, and i cant find the opcion for that

      Comment


        #4
        Hello Rodrigo1165,

        To do an action during the candle you would need to run the script in realtime and use Calculate OnEachTick or OnPriceChange. That will let you reference the current price as it moves.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        39 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        124 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        64 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        41 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