If you don't show the code, you are unlikely to get any suggestions.
Do you really expect an answer?
We can't see your broken code.
There are no mind readers here and our crystal balls are cracked.
Yusepet: When I drag and drop my script into EURUSD H4, data downloaded in file is still GBPUSD H4 data.
You are appending to the file, why does it having the previous data surprise you?
int handle=FileOpen(nom_fich,FILE_READ|FILE_WRITE|FILE_CSV,';'); ⋮ FileSeek(handle, 0, SEEK_END);

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
My Script download bars data to a CSV file.
Everything it's fine.
If a drag and drop script into GBPUSD H4 my csv file has GBPUSD H4 data info.
But....
When I drag and drop my script into EURUSD H4, data downloaded in file is still GBPUSD H4 data.
When I change file name and execute script to EURUSD, then, data downloaded is refreshed and is correct.
What it is the problem?? Why file is not refreshed every time i run script.
void calc_param_trampas is called in OnStart()
I'm a very Newbie.
My first Script.
Sorry my english.