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 ageeholdings, 05-01-2024, 05:22 AM
        5 responses
        33 views
        0 likes
        Last Post ageeholdings  
        Started by reynoldsn, Today, 02:34 PM
        0 responses
        6 views
        0 likes
        Last Post reynoldsn  
        Started by nightstalker, Today, 02:05 PM
        0 responses
        10 views
        0 likes
        Last Post nightstalker  
        Started by llanqui, Yesterday, 09:59 AM
        8 responses
        29 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by quicksandatl, Today, 01:39 PM
        1 response
        6 views
        0 likes
        Last Post quicksandatl  
        Working...
        X