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

BackBrushAll opacity

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

    BackBrushAll opacity

    How do a change the BackBrushAll opacity? I working on an indicator that will paint BackBrush or BackBrushAll incrementally based on strength or weakness. Any help would be appreciated.

    #2
    Hello, thanks for writing in. You can use the Color.FromArgb to define an alpha channel e.g.

    HTML Code:
    BackBrushAll = new SolidColorBrush(Color.FromArgb(50, 25, 175, 185));
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Thanks, I can make that work.

      Can you give me an example or a reference to Get the R, G, B byte values from a standard color?

      Comment


        #4
        Hello, thanks for the follow up. You can use the powertoys from windows Color picker to get RGB values from a color on the screen:
        https://learn.microsoft.com/en-us/wi...s/color-picker (publicly available)

        Kind regards,
        -ChrisL
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        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
        4 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  
        Started by Waxavi, Today, 02:10 AM
        1 response
        20 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Working...
        X