Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

No output and no errors

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

    No output and no errors

    Hey I'm fairly new to ninjascript and im trying to transfer an indicator from pinescript to ninjascript but I'm coming across some issues.
    Now I know I should have some outputs but I'm not getting any.. so I figured I have done something wrong...

    Would appreciate any help, or just another set of eyes on the matter
    Last edited by oshriur; 02-11-2024, 12:53 AM.

    #2
    Hello oshriur,

    Thanks for your post.

    By 'output' are you referring to indicator items appearing on the chart? Or, are you referring to information appearing in the NinjaScript Output window?

    If the script is not behaving as expected then you must add debugging prints to the script that prints out all the values of all the logic being used in the script to understand how it is evaluating.

    Prints will appear in the NinjaScript Output window (New > NinjaScript Output window).

    Below is a link to a forum post that demonstrates how to use prints to understand behavior.
    https://ninjatrader.com/support/foru...121#post791121

    Further, keep an eye on the Log tab of the Control Center to check for any runtime errors that may occur when testing the script.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    42 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    14 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X