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?
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
Prediction Markets & Event Contracts
Warsh Confirmed 54-45 on PPI Day -- 97% Say He Holds in …
Prediction Markets & Event Contracts
MyForexFunds Begins Returning Frozen Funds After CFTC Ca …
Funded Trading Evaluation Firms
Iran Ceasefire Surges to 19.5% on US 15-Point Plan -- 82 …
Prediction Markets & Event Contracts
Iran Talks Final Stages -- Two VLCCs Exit Hormuz, Record …
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
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
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