• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.

    Paul H.NinjaTrader Customer Service

    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.
        Paul H.NinjaTrader Customer Service

        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 ntbone, Yesterday, 08:10 PM
          0 responses
          6 views
          0 likes
          Last Post ntbone
          by ntbone
           
          Started by chrislou, 08-28-2015, 03:27 AM
          14 responses
          2,881 views
          0 likes
          Last Post nkhoi
          by nkhoi
           
          Started by outofstock, Yesterday, 06:40 PM
          2 responses
          8 views
          0 likes
          Last Post outofstock  
          Started by saeed, Yesterday, 12:32 PM
          3 responses
          40 views
          0 likes
          Last Post NinjaTrader_PatrickG  
          Started by motog4, Yesterday, 11:42 AM
          3 responses
          21 views
          0 likes
          Last Post NinjaTrader_PatrickG  
          Working...
          X