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,454 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?
Warsh Confirmed 54-45 on PPI Day -- 97% Say He Holds in …
Prediction Markets & Event Contracts
NinjaTrader Parent Payward Acquires Bitnomial for $550M …
Platforms and Indicators
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Iran Peace Expired NO: Ceasefire on Life Support, OPEC a …
Prediction Markets & Event Contracts
Irans Answer Due Today: Peace Surges to 33.5%, Invasion …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 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
  #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