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().
    Rounds a value to the nearest integer or to the specified number of fractional digits.


    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    20 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    119 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    63 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    45 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X