Thread: Spread logger
View Single Post
  #4 (permalink)  
Old 01-24-2007, 04:03 PM
nezinu's Avatar
nezinu nezinu is offline
Junior Member
 
Join Date: Nov 2006
Location: Latvia
Posts: 26
nezinu is on a distinguished road
You all are welcome

The expert can be attached to more than one instrument. For example if you want to log EURUSD, GBPUSD, GBPCHF spreads at the same time, then you must attach the expert to EURUSD, GBPUSD, GBPCHF graphs. Expert will create files for all three currency pairs. For EURUSD it will create EURUSD.csv, for GBPUSD it will create GBPUSD.csv, .... .

One more thing. There is some mystical space in line
if(FileSeek(out,0,SEEK_END)) FileWrite(out,Day(),Month(),Hour(),Minute(),Second s(),CurrentSpread);

Please replace Second s() with Seconds()
__________________
Somebody likes sport betting, somebody casino, but I prefer Forex and currency trading. Forex un valūtu tirdzniecība rullz!
Reply With Quote