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 927 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

transfer output readings from an indicator on a historical chart

  #1 (permalink)
 
Bullywig's Avatar
 Bullywig 
Chicago
 
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: FDAX, NQ, HG, SI, CL
Posts: 68 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?
Exit Strategy
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


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: 68 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
 
Experience: Beginner
Platform: Seirra Chart
Broker: Stage5 + Denali
Trading: MNQ
Frequency: Many times daily
Duration: Minutes
Posts: 735 since Jun 2017
Thanks Given: 1,223
Thanks Received: 2,336

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 Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on November 16, 2018


© 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