Can some one please tell me how to change the data path of saving file?..
Implied volatility data for Forex options in .CSV format 3 replies
How do I include the date in my CSV output? 2 replies
Exporting & importing Global variables to CSV Files 3 replies
DislikedCan some one please tell me how to change the data path of saving file?..Ignored
DislikedCan some one please tell me how to change the data path of saving file?..Ignored
Disliked[IMG]file:///C:/Users/USER1%7E1/AppData/Local/Temp/moz-screenshot.png[/IMG]Hannover,...Ignored
DislikedHi Hanover,
I'm a newbie so please forgive any obvious questions! I have the indicator working and saving individual csv files for each currency with EOD daily high & Lows , but what I would like is to save this data for all currencies to one csv file. Is that possible? Basically I think I need to know what to write in the output file parameter box. Thanks for the time spent in writing the indicator and for your advice.
SteveIgnored
DislikedHanover,
thank you very much for this great indicator.
When I export currency history data everything works great, but on indexes and possibly also on different stocks, the indicator seemingly plots max. 3 digits on the left.
Although I am not a programmer, I found due to the well commented code the lines regarding this, if I am not mistaken. Nevertheless I wasn't able to change the lines so that I receive the correct prices for the index.
E.g. for the DAX_30 on a daily basis, I receive this history line from the history center:
2012.02.13,00:00,6740.0,6775.3,6709.8,6750.0,21105
,and...Ignored
extern string OHLCFmt = "T3.5";
Dislikednubcake,
thank you very much for your fast and helpful reply.
Another thing is now the 7 digits after the decimal point. Is there also a place in the code to change that is it only due to the change in the prior mentioned parameter?
Thank you very much in advance!
Kindest regards,
secondstoneIgnored
//+------------------------------------------------------------------+ string NumberToStr(double n, string mask) //+------------------------------------------------------------------+ // Formats a number using a mask, and returns the resulting string // Usage: string result = NumberToStr(number,mask) // // Mask parameters: // n = number of digits to output, to the left of the decimal point ///////// n.d = output n digits to left of decimal point; d digits to the right // -n.d = floating minus sign at left of output // n.d- = minus sign at right of output // +n.d = floating plus/minus sign at left of output // // These characters may appear anywhere in the string: // ( or ) = enclose negative number in parentheses // $ or £ or ¥ or € = include floating currency symbol at left of output // % = include trailing % sign // , = use commas to separate thousands, millions, etc // Z or z = left fill with zeros instead of spaces // * = left fill with asterisks instead of spaces // R or r = round result in rightmost displayed digit // B or b = blank entire field if number is 0 // ~ = show tilde in leftmost position if overflow occurs // ; = switch use of comma and period (European format) // L or l = left align final string //////// T ot t = trim (remove all spaces from) end result
Dislikedthat line fucks it up. it's up to you to change it to something like T9.9 .Inserted Codeextern string OHLCFmt = "T3.5";
90% of the code should be binned as unnecessary bloatware.Ignored
DislikedWho me? Guilty of bloatware?
Guilty for the umpteenth time, no doubt; it's all too easy to let the compiler strip out the uncalled modules.
@secondstone: sorry, I only just saw this now. Looks like your question has meantime been answered. Please post again if you have more questions.Ignored
DislikedHello,
I would like to ask if it's possible to export EOD data with a time shift?
For example, instead of having the EOD data on a close to close basis at 0:00, I would like to have it shifted prior to this time, e.g. from 20:00 to 20:00 or so.
Is that possible at all and could it be implemented in the ExportHistory indicator?
Many thanks in advance.
Kind regards,
secondstoneIgnored