Stock Portfolio Organizer
The ultimate porfolio management solution.
Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Export EOD On CSV Formate for Amibroker (AFL)
Copy & Paste Friendly
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | fh = fopen ( "c:\\AmiBackup\\" + Name ()+ ".csv" , "w" ); if ( fh ) { fputs ( "Ticker,Date,Open,High,Low,Close,Volume \n" , fh ); y = Year (); m = Month (); d = Day (); //r = Hour(); //e = Minute(); //n = Second(); for ( i = 0; i < BarCount ; i++ ) { fputs ( Name () + "," , fh ); ds = StrFormat ( "%02.0f-%02.0f-%02.0f," , y[ i ], m[ i ], d[ i ] ); fputs ( ds, fh ); //ts = StrFormat("%02.0f:%02.0f:%02.0f,", //r[ i ],e[ i ],n[ i ] ); //fputs( ts, fh ); qs = StrFormat ( "%.4f,%.4f,%.4f,%.4f,%.0f\n" , O [ i ], H [ i ], L [ i ], C [ i ], V [ i ] ); fputs ( qs, fh ); } fclose ( fh ); } Buy = 0; |