NexusFi: Find Your Edge


Home Menu

 





Export Indicator Values NinjaTrader8


Discussion in NinjaTrader

Updated
    1. trending_up 2,483 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?
Pakistan Mediator in Tehran as Hormuz Normalization Coll …
Prediction Markets & Event Contracts
$4.5M Floods Russia Nuclear Contract in 24 Hours -- Krem …
Prediction Markets & Event Contracts
Trump Media to sell instant access to market-moving soci …
Traders Hideout
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
Commodities
Double Deadlock: Rubio Calls Hormuz Tolls "Unfeasib …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 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