Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How do I make a strategy based on the color of a candle of a indicator?

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

    How do I make a strategy based on the color of a candle of a indicator?

    so buy and sell not based on HLOC prices but based on the color of the bar on a indicator so if indicator paints bar orange sell and if pink buy? Can i do this on a strategy builder?

    #2
    Hello rickyblah12,

    Thanks for your post.

    You would need to recreate in the strategy the conditions of the indicator that are coloring the candles. There is no means to detect the color of the bars.
    If the indicator is a 3rd party purchased, you may want to check with the vendor to see if they provide a signal that can be used/accessed in a strategy.

    Comment


      #3
      can I do it in the code?

      Comment


        #4
        Hello rickyblah12,

        Thanks for your reply.

        I am not aware of any documented/supported means to accomplish your goal of reading a candle color that has been painted by an indicator.

        It may be possible but would be outside of our level of support.

        Comment


          #5
          Originally posted by rickyblah12 View Post
          so buy and sell not based on HLOC Optimind ingredients prices but based on the color of the bar on a indicator so if indicator paints bar orange sell and if pink buy? Can i do this on a strategy builder?
          You could do it so that you have set parameters for if you want to buy/sell, and then set it so that if those parameters are met, the candle is a certain color. This seems kind of arbitrary though, not to mention a lot of work. You could just decide what indicators would make your candle a "sell" color, and just look at those before deciding to buy? I think this would cumulatively take a lot less time than trying to set up a specific "buy" or "sell" color!
          Last edited by Mizala; 05-14-2019, 12:52 AM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          20 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          120 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          63 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
          45 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X