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 cory with 1 posts (1 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 ninjus with 1 posts (1 thanks)
    1. trending_up 1,450 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?
Kalshi Rockets to $22B, Passes Polymarket in Volume -- B …
Prediction Markets & Event Contracts
US Treasury Weighs Direct Oil Futures Market Interventio …
Commodities
CME Group Fee Schedule Changes Hit All Four Exchanges -- …
Traders Hideout
Topstep Slashes XFA Payout Caps by Up to 60% -- Flagship …
Funded Trading Evaluation Firms
Memorandum Watch: How the 60-Day MOU Framework Makes May …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
20 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Hello Im new here
5 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093


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
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