NexusFi: Find Your Edge


Home Menu

 





transfer output readings from an indicator on a historical chart


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one Bullywig with 2 posts (0 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 ninjus with 1 posts (1 thanks)
    4. looks_4 cory with 1 posts (1 thanks)
    1. trending_up 1,539 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
Bullywig's Avatar
 Bullywig 
Chicago
 
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: FDAX, NQ, HG, SI, CL
Posts: 71 since Oct 2015
Thanks Given: 42
Thanks Received: 22

Is there a way to transfer data/readings from an indicator on a historical chart to a spreadsheet? Hoping someone has information on where to start. Thanks in advance.

Cheers
Bullywig


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
More Than Capable: Hegseths War Warning Validates $114M …
Prediction Markets & Event Contracts
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
Kalshi Sets $4.13B All-Time Weekly Record as Polymarket …
Prediction Markets & Event Contracts
After $87M Settles NO: Irans Nuclear Redline Sets Up the …
Prediction Markets & Event Contracts
I Have a Thing Called Iran -- Trump Stays in DC as Airsp …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098


https://forum.ninjatrader.com/forum/ninjascript-educational-resources/reference-samples/3581-indicator-using-streamwriter-to-write-to-a-text-file?t=3475


Reply With Quote
Thanked by:
  #4 (permalink)
 
Bullywig's Avatar
 Bullywig 
Chicago
 
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: FDAX, NQ, HG, SI, CL
Posts: 71 since Oct 2015
Thanks Given: 42
Thanks Received: 22



Much obliged! I will check this out.

Cheers.


Started this thread Reply With Quote
  #5 (permalink)
 
ninjus's Avatar
 ninjus 
Chiang Mai Thailand
Legendary Strat Enthusiast
 
Experience: Beginner
Platform: Seirra Chart
Broker: Stage5 + Denali
Trading: MNQ
Frequency: Many times daily
Duration: Minutes
Posts: 737 since Jun 2017
Thanks Given: 1,228
Thanks Received: 2,344

Here is an example of something I fumbled together. Might help as a reference for your own needs.
Pulls Opens, Highs, Lows, Prior Day stuff etc and then VAH, VAL and VAPOC from the DValue indicator.

 
Code
sw = File.AppendText(path);  // Open the path for writing
			sw.WriteLine(Time[0] + "," + Open[0] + "," + High[0] + "," + Low[0]  + "," + Close[0] + "," + PriorDayOHLC().PriorClose[0] + "," + PriorDayOHLC().PriorOpen[0] + "," + PriorDayOHLC().PriorHigh[0] + "," + PriorDayOHLC().PriorLow[0] +"," + DValueArea(40,2,0,2,false,new TimeSpan(8, 0, 0),0.7,2,2,_dValueEnums.dValueAreaTypes.VWTPO,0,100,1,6.75,true,2,false,0,60,300,false,2,false).POC[0] + "," + DValueArea(40,2,0,2,false,new TimeSpan(8, 0, 0),0.7,2,2,_dValueEnums.dValueAreaTypes.VWTPO,0,100,1,6.75,true,2,false,0,60,300,false,2,false).VAt[0] + "," + DValueArea(40,2,0,2,false,new TimeSpan(8, 0, 0),0.7,2,2,_dValueEnums.dValueAreaTypes.VWTPO,0,100,1,6.75,true,2,false,0,60,300,false,2,false).VAb[0]);
			sw.Close(); // Close the file to allow future calls to access the file again.



Marcus Aurelius
"Not to assume it's impossible because you find it hard. But to recognize that if it's humanly possible, you can do it too"

Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on November 16, 2018


© 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