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

Keltner EMA MB Color Change

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

    Keltner EMA MB Color Change

    I have downloaded the Keltner EMA from the forum and would like to have the MB change color when 1 full bar is above or below then another bar closes above/below the full bar. Any programming help would be appreciated.

    Thanks for the help,
    Jim

    #2
    Hi Jam, welcome to the forums!

    Have you taken a look at the Multi-Color Plot Sample yet?
    AustinNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Austin View Post
      Hi Jam, welcome to the forums!

      Have you taken a look at the Multi-Color Plot Sample yet?
      Thanks for the welcome Austin,

      I have looked at the multi-color plot sample prior to posting. This is great for changing color with angle as with the Hull MA and I use that tool succesfully. However, I am looking for color change based on price not angle. I need one full bar above the midband then a second bar to close above the high of the first bar for the up color and vice versa for the down color.

      Thanks,
      Jim

      Comment


        #4
        Jim,

        You can change the if-condition to whatever you want to check for. The basic idea is the same though of creating multiple plots and just using the .Set on the plot of the proper color you want.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DayTradingDEMON, Today, 09:28 AM
        0 responses
        1 view
        0 likes
        Last Post DayTradingDEMON  
        Started by navyguy06, Today, 09:28 AM
        0 responses
        1 view
        0 likes
        Last Post navyguy06  
        Started by rjbtrade1, 11-30-2023, 04:38 PM
        2 responses
        77 views
        0 likes
        Last Post DavidHP
        by DavidHP
         
        Started by cmtjoancolmenero, Yesterday, 03:58 PM
        7 responses
        31 views
        0 likes
        Last Post cmtjoancolmenero  
        Started by Stanfillirenfro, Today, 07:23 AM
        3 responses
        13 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X