NexusFi: Find Your Edge


Home Menu

 





Export Indicator Values NinjaTrader8


Discussion in NinjaTrader

Updated
    1. trending_up 2,071 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?
Value Area Low (VAL) – Lowest Price Level of Profile V …
NinjaTrader
Help re translation of ninjascript to EL
NinjaTrader
Is there a way to simulate CONTINUOUS CONTRACT?
NinjaTrader
MC Advanced Simulated Trading.
MultiCharts
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
ApexTraderFunding.com experience and review
134 thanks
1 Minute Man
60 thanks
HumbleTraders next chapter
43 thanks
Winning attitudes create winning traders
36 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
25 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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts