Hello ladies and germs,
I have but two hairs left on my head, the majority of which have fallen out the past four days.
I am attempting to read a CSV file with multiple support levels per day (please see attached) and wish to chart these support area on an advanced chart. These levels vary by date and for backtesting purposes wish to chart them on history. These support levels are unique by date as indicated below.
I have successfully read a file (comma separated value file) and can more than likely plot a line based on values in the file.
My PRIMARY issue is determining the date of the BAR currently being loaded. Here's an example:
Today is March 10, 2004... I have support and resistance levels in a CSV file dated back to Feb. 1, 2004 (unique by date). I wish to chart these support and resistance levels on a 15 minute chart - with data loaded from Feb 1.
The code that I have copied from various EFS files is close to working except for determining the date.
If someone on this forum has the patience and knowledge to review the attached - would you have an idea of how i can accomplish my task?
If my explanation is unclear, please let me know... I will attempt to clarify.
Here is a sample of the CSV file being read:
1,3/5/2004,1149,1152
2,3/5/2004,1147,1148
1,3/8/2004,1140.75,1142.25
2,3/8/2004,1137.5,1139
1,3/9/2004,1130.25,1134
2,3/9/2004,1139,1141.75
1,3/10/2004,1130,1133
2,3/10/2004,1120,1124
All i need to do is to draw a line (support/resistance) on the chart by date, so that I can vissually determine the validity of these support & resitance levels.
Your input sure is welcomed - I can't get the dates right - thx in advance.
Kim
I have but two hairs left on my head, the majority of which have fallen out the past four days.
I am attempting to read a CSV file with multiple support levels per day (please see attached) and wish to chart these support area on an advanced chart. These levels vary by date and for backtesting purposes wish to chart them on history. These support levels are unique by date as indicated below.
I have successfully read a file (comma separated value file) and can more than likely plot a line based on values in the file.
My PRIMARY issue is determining the date of the BAR currently being loaded. Here's an example:
Today is March 10, 2004... I have support and resistance levels in a CSV file dated back to Feb. 1, 2004 (unique by date). I wish to chart these support and resistance levels on a 15 minute chart - with data loaded from Feb 1.
The code that I have copied from various EFS files is close to working except for determining the date.
If someone on this forum has the patience and knowledge to review the attached - would you have an idea of how i can accomplish my task?
If my explanation is unclear, please let me know... I will attempt to clarify.
Here is a sample of the CSV file being read:
1,3/5/2004,1149,1152
2,3/5/2004,1147,1148
1,3/8/2004,1140.75,1142.25
2,3/8/2004,1137.5,1139
1,3/9/2004,1130.25,1134
2,3/9/2004,1139,1141.75
1,3/10/2004,1130,1133
2,3/10/2004,1120,1124
All i need to do is to draw a line (support/resistance) on the chart by date, so that I can vissually determine the validity of these support & resitance levels.
Your input sure is welcomed - I can't get the dates right - thx in advance.
Kim
Comment