View Single Post
  #33 (permalink)  
Old 04-08-2007, 10:11 AM
newdigital newdigital is online now
Administrator
 
Join Date: Sep 2005
Posts: 20,070
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by promo01
Hi Newdigital

How to use this file ??

regards
promo01
Place it to script folder. Open in MetaEditor and you will see:

Code:
/---- TODO: Add your code.
   // input
   // files must be in expert/files directory,
   string csv_filename = "USDCHF1440.csv";
   string hst_filename = "TEST.hst";
   int i_period = 1440;
   int i_digits = 4;
   string c_symbol = "USDCHF";
It means that csv file should be in files folder, you should change the name of your file (from USDCHF1440.csv to your name), select the name of resulting hst file, select the digits and timeframe.
Just change it inside the code and compile.
Reply With Quote