Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Heiken Ashi Border

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

    Heiken Ashi Border

    hi ... is there a way to set the color of the border of a Heiken Ashi candle from within an indicator?

    #2
    Hello,

    If you look ath the HeikenAshi indicator, you will find a shadowColor variable that you can set to whichever color you'd like.
    MatthewNinjaTrader Product Management

    Comment


      #3
      thanks Matthew. I'm trying to change the border color from within the code of another indicator ... not sure how to access the shadow color. Any thoughts?

      Comment


        #4
        You wouldn't be able to control this from another indicator without modifying the existing heiken ashi indicator.

        Can you give me more details and what you're trying to do? Are you looking to dynamically change the color based off of specific conditions?
        MatthewNinjaTrader Product Management

        Comment


          #5
          exactly ... want to set the color based on the size of the candle

          Comment


            #6
            In this case, I'd suggest putting the logic in a copy of the HekienAshi indicator.

            You can see where the HekienAshi is plotting under the Miscellaneous region of the indicator.

            You can create a copy of the existing by right clicking in the code and selecting "Save as" and give it a new name.
            MatthewNinjaTrader Product Management

            Comment


              #7
              thanks ... will try that

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by DJ888, 04-16-2024, 06:09 PM
              6 responses
              18 views
              0 likes
              Last Post DJ888
              by DJ888
               
              Started by Jon17, Today, 04:33 PM
              0 responses
              1 view
              0 likes
              Last Post Jon17
              by Jon17
               
              Started by Javierw.ok, Today, 04:12 PM
              0 responses
              6 views
              0 likes
              Last Post Javierw.ok  
              Started by timmbbo, Today, 08:59 AM
              2 responses
              10 views
              0 likes
              Last Post bltdavid  
              Started by alifarahani, Today, 09:40 AM
              6 responses
              41 views
              0 likes
              Last Post alifarahani  
              Working...
              X