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 kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        57 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        39 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        45 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        35 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        153 views
        0 likes
        Last Post SalmaTrader  
        Working...
        X