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

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.
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,967 views
    3 likes
    Last Post jhudas88  
    Started by rbeckmann05, Today, 06:48 PM
    0 responses
    4 views
    0 likes
    Last Post rbeckmann05  
    Started by rhyminkevin, Today, 04:58 PM
    4 responses
    55 views
    0 likes
    Last Post dp8282
    by dp8282
     
    Started by iceman2018, Today, 05:07 PM
    0 responses
    6 views
    0 likes
    Last Post iceman2018  
    Started by lightsun47, Today, 03:51 PM
    0 responses
    8 views
    0 likes
    Last Post lightsun47  
    Working...
    X