[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 455
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
AccountBalance()*0.05
Thank you!
No script can open the terminal!
So if you want it to work, it must be on a terminal that is open and connected to the net. It will run at the required time and record the data. But terminals must be always switched on.
The terminal is on VPS and the Expert Advisor is working clearly connected to the Internet.
I'm not exactly a 7-month-old.
I have no idea what to do with it.
We need the global variable to be fixed at the start of the EA, and then when the EA closes all orders, it should be rewritten and remain unchanged until the end of the cycle.
Could you please give us a link to a code example for fixing the global variable, taking into account the time when EA was turned on.
The global variable needs to be fixed at the start of the EA, and then when the EA closes all orders, it will be overwritten and remain unchanged until the end of the cycle.
https://book.mql4.com/ru/variables/globals
Can you tell me where the error lies?
I can't get a pause.
int start()
{Print ("Falling asleep");
Sleep(10000);
Print ("Waking up");
return(0);
}
The result, judging by the image, is pause = 0.
baltik писал(а) >>
The script, when executed, makes a history file in the folder eksert\philes\ file name (this is the account number)
I need to get away from manual execution of the script.
Make it an Expert Advisor instead of a script and control the time of script function-code execution in the Expert Advisor. It's time - execute script code.
I have understood from this phrase, that your terminals are closed. I'm answering you - the script cannot start the terminal by itself.
As you write it, that's how it is understood. If this is not what you mean, explain more clearly.
and you're left with my idea of running the script
What is the value of the idea? If it were so necessary, some proger would not have tweaked the case long ago ... it's for you personally.
Подскажите где ошибка.
Никак не удается получить паузу.
В результате судя по картинке пауза = 0.
Is it in the indicator? in the Sleep indicators doesn't work.
Hi all ! Help me out with the code of the indicator, I can't fix it myself :(
code:
It outputs 2 histograms, I need the leftmost histogram - to stretch up to the right. if the desired condition is no longer fulfilled, and there is already a left histogram. as in the figure ( in yellow ...), please help me to correct.