NexusFi: Find Your Edge


Home Menu

 





Export Indicator Values NinjaTrader8


Discussion in NinjaTrader

Updated
    1. trending_up 2,403 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 heyligerb 
Tampa, FL
 
Experience: Master
Platform: XTrader, NinjaTrader, TradeStation,
Trading: ES
Posts: 8 since Sep 2010
Thanks Given: 5
Thanks Received: 0

Does anyone know how to do that in NT8?


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Thursday May 28: GDP + Core PCE + Jobless Claims All at …
Traders Hideout
Beijing Summit Closes: Xi Pledges Hormuz Help -- $1.14B …
Prediction Markets & Event Contracts
April CPI Preview: +3.7% YoY Expected at 8:30 AM ET -- C …
Traders Hideout
Probability Collapse: Bitcoin $150k Craters from 15% to …
Prediction Markets & Event Contracts
SEC Chairman Calls for New Golden Age of SEC-CFTC Regula …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 GeorgeW 
London United Kingdom
 
Experience: Beginner
Platform: NinjaTrader
Trading: 6E
Posts: 44 since Dec 2014
Thanks Given: 4
Thanks Received: 29


heyligerb View Post
Does anyone know how to do that in NT8?

Place a print statement in your NT8 code, below the result you want to export, which includes the reference to the result you want to see.

 
Code
Print(Time[0].ToString()+" " + "bullArrowsUp:" + " " + bullArrowsUp + " " + "bearArrowsDown:" + " " + bearArrowsDown);
Above, I give an example of a print statement that returns the results of how many arrows are seen on my chart using a for loop.

Attach the indicator to a chart. From the Control Panel Open a New> NinjaScript Output Window. Refresh the chart, F5, and if your print code is correctly written you should see the results in the output window. Then if you right click on the output window you can save it as a text file.


Reply With Quote
Thanked by:




Last Updated on May 3, 2017


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts