Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

questions for a newbee

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

    questions for a newbee

    I know nothing about ninja scripts ...so please bear with my basic questions.
    ive opened a chart and added a ninja script moving average.
    works fine.

    tried sample atm strategy and didnt see any trades.
    does this work only in real time?

    is there also a way to write to a file, and read a file?

    does the print command output to the output window?
    I have added print ("hello world") to the last line of samplemacrossover,
    added it to a chart, but dont get any output

    Does zenfire data have advance and decline?

    #2
    Hi kiwibird, you are welcome.

    1. Correct, ATM strategies work only in realtime - http://www.ninjatrader-support.com/H...trategies.html

    2. You can use Steamreader / Steamwriter from the Reference Samples - http://www.ninjatrader-support2.com/...splay.php?f=30

    3. Yes, Print() commands are shown in the Output window of the Control Center. It could be that your condition for printing was never evaluated to true...for examples you can check this out - http://www.ninjatrader-support2.com/...ead.php?t=3418

    4. ZenFire offers Futures and Forex data, for Adv / Decl data you would need Indices, please see this grid here for your data options in NinjaTrader - http://www.ninjatrader-support.com/H...ricalData.html

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    85 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    47 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    67 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X