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

Documentation Error

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

    Documentation Error

    The documentation at https://ninjatrader.com/support/help...wtextfixed.htm is incorrect. It says that Area Opacity

    Sets the level of transparency for the fill color. Valid values between 0 - 10. (0 = completely transparent, 10 = no opacity)
    But when writing code because the opacity didn't look right. The true range of values is zero to one hundred... not ten.

    #2
    Hello texasnomad,

    The areaOpacity is for the area color and not the text color.

    Attached is a test script.

    On the bottom left, is String one, this uses 10 as the areaOpacity.
    On the bottom right, is String two, this uses 100 as the areaOpacity.
    On the top right, is String three, this uses 5 as the areaOpacity.

    Are you finding that area color in String one and String two are different or the same?
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChelseaB View Post
      Hello texasnomad,

      The areaOpacity is for the area color and not the text color.

      Attached is a test script.

      On the bottom left, is String one, this uses 10 as the areaOpacity.
      On the bottom right, is String two, this uses 100 as the areaOpacity.
      On the top right, is String three, this uses 5 as the areaOpacity.

      Are you finding that area color in String one and String two are different or the same?
      texasnomad said the documentation is wrong. I believe it was noted a while back in previous post that it is 0-100 in NT8 now, not 0-10 like before.

      Comment


        #4
        Hi sledge and texasnomad,

        Currently, this thread is in the NinjaTrader 7 section of the forums.

        Is your question for NinjaTrader 8?

        Are you finding that the text drawn with 100 and 10 as the opacity setting are different in NinjaTrader 7?
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by TraderBCL, Today, 04:38 AM
        2 responses
        8 views
        0 likes
        Last Post TraderBCL  
        Started by martin70, 03-24-2023, 04:58 AM
        14 responses
        105 views
        0 likes
        Last Post martin70  
        Started by Radano, 06-10-2021, 01:40 AM
        19 responses
        606 views
        0 likes
        Last Post Radano
        by Radano
         
        Started by KenneGaray, Today, 03:48 AM
        0 responses
        4 views
        0 likes
        Last Post KenneGaray  
        Started by thanajo, 05-04-2021, 02:11 AM
        4 responses
        471 views
        0 likes
        Last Post tradingnasdaqprueba  
        Working...
        X