hello,
i"m learning the mql4 for a while. and i just cant understand what is wronge with my code. trying to write a file with this code :
the handle value is 1 when i"m testing it in the metatrder. but there is no file in the /tester/file
thanks for the help.
idan
Are you running this in the Strategy Tester or live/demo ? is it an UAC issue ?
You should read this thread also: Can price != price ?
hey
i"m running it in the strategy tester.
i just run it as a expert and the result is the same- handle = 1 but no file.
if in UAC you mean firewall- so i allowed the MT4 in the windows firewall (i dont have other one)
is there some thing wronge with the code?
thanks
hey
i"m running it in the strategy tester.
i just run it as a expert and the result is the same- handle = 1 but no file.
if in UAC you mean firewall- so i allowed the MT4 in the windows firewall (i dont have other one)
hey
i disabled the UAC in my computer - still no file
thanks
hey
i disabled the UAC in my computer - still no file
I ran your code . . . note where I have MT4 installed = no UAC issues.
hey
i disabled the UAC in my computer - still no file
thanks
If UAC was enabled when you install your platform that changes nothing, the files are created outside Program Files. In a subdirectory of your user account.
hey
i just tryed it on other computer with XP and it runing good
i wil try to find the problam in the windows 7 computer
thanks for the help
hey
i just tryed it on other computer with XP and it runing good
i wil try to find the problam in the windows 7 computer
- Don't install in \program files*. Avoid the problems
candle_open_new = iOpen(NULL,0,1); if ( candle_open_new != candle_open )
Unreliable, two candles can always have the same open price, just as a candle can have the same open and close price (Doji.) Volume is unreliable, you can miss ticks. Bars is unreliable - max bars in chart. Always use timeif (candle_open != Time[0]){ candle_open = Time[0]; ...
- Why are you using the functions iOpen(NULL,0,x) instead of the simpler, faster, predefined variables Open[x]?
- i wil try to find the problam in the windows 7 computerWe've told you the solution to your problam. #1.
thanks for the advise. i will try it and i will use it
just want to ask one more thing about writing a file.
is it possible to enter each value to a single column ( i mean in the exel)
now i get it all toghter in a single column
WHRoeder:
- We've told you the solution to your problam. #1.
- Don't install in \program files*. Avoid the problems
- Unreliable, two candles can always have the same open price, just as a candle can have the same open and close price (Doji.) Volume is unreliable, you can miss ticks. Bars is unreliable - max bars in chart. Always use time
- Why are you using the functions iOpen(NULL,0,x) instead of the simpler, faster, predefined variables Open[x]?
- i wil try to find the problam in the windows 7 computer
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hello,
i"m learning the mql4 for a while. and i just cant understand what is wronge with my code. trying to write a file with this code :
the handle value is 1 when i"m testing it in the metatrder. but there is no file in the /tester/file
thanks for the help.
idan