• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Development "text" help needed

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

    Strategy Development "text" help needed


    Hi. I have recently created a strategy and need some assistance in the "do the following section." Once my condition is met, I have a DOT above a candle and I also want text to be above the candle which is derived from an indicator value. When the text shows up it is out at least 10 decimal points. See attached. Is there anyway that I can have this text show up but only include 1 decimal point. Thanks in advance!

    Attached Files

    #2
    Hello shs232,

    You would need to round the value to the number of decimals you would like which would require unlocking the script and coding by hand.

    Below is a public link to the Microsoft documentation on Math.Round().
    https://docs.microsoft.com/en-us/dot...ramework-4.7.2

    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by pecunianonolet, 11-28-2016, 03:34 AM
    3 responses
    3,134 views
    0 likes
    Last Post DaveS
    by DaveS
     
    Started by contrax, Today, 08:20 AM
    2 responses
    10 views
    0 likes
    Last Post contrax
    by contrax
     
    Started by brownsfan019, Today, 07:54 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by Amitabha, Today, 04:50 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Marco  
    Started by JulieG, Today, 12:40 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Working...
    X