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 CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    32 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    127 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    182 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    94 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    138 views
    0 likes
    Last Post cmoran13  
    Working...
    X