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

Apply an Outline color for Heiken Ashi Candle

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

    Apply an Outline color for Heiken Ashi Candle

    Hey gang...how do I place an outline color around a Heiken Ashi candle with "wicks" on both top and bottom? NO outline needed if there's a wick on just top or just bottom.

    Like coloring "doji's" in NON Heiken Ashi mode.

    ~ MM

    #2
    Hello MM,

    With the heiken ashi indicator, there are color controls for up bars, down bars, and the outline. If you're looking at the indicator parameters, the outline is the Shadow color as indicated in the attached screenshot.
    Attached Files
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Hi Ryan...that's a start, thank you...now to take it a step further.

      How do I place an outline ONLY on candles that show BOTH a top and bottom wick?

      The other candles will stay normal; Red or Green with a standard Black wick outline.

      ~ mm

      Comment


        #4
        You have to custom code this. You can save a copy of the indicator by right clicking within the editor > Save As > Provide a new name.

        Unfortunately we aren't able to provide much guidance on the specific technique used to assign colors conditionally with this indicator. The color assignment works differently than standard bars. Hopefully other community members with experience overriding the Plot method can assist here.
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by LawrenHom, Today, 10:45 PM
        0 responses
        3 views
        0 likes
        Last Post LawrenHom  
        Started by love2code2trade, Yesterday, 01:45 PM
        4 responses
        28 views
        0 likes
        Last Post love2code2trade  
        Started by funk10101, Today, 09:43 PM
        0 responses
        7 views
        0 likes
        Last Post funk10101  
        Started by pkefal, 04-11-2024, 07:39 AM
        11 responses
        37 views
        0 likes
        Last Post jeronymite  
        Started by bill2023, Yesterday, 08:51 AM
        8 responses
        44 views
        0 likes
        Last Post bill2023  
        Working...
        X