[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 609
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
Hello again everyone.
How to make a time delay in an EA before opening a new trade after the end of a previous trade.
I.e. the deal ended t/p and after that I need to wait for example 15 minutes and only then the formula will go on working:)
Found
Hello again everyone.
How to make a time delay in an EA before opening a new trade after the end of a previous trade.
I.e. the deal ended t/p and after that I need to wait for example 15 minutes and only then the formula will go on working:)
Found
https://www.mql5.com/ru/forum/131859
I'm sorry,
that would be great. I've looked through the tutorial on global variables, I understand that this is what I need, but I don't understand the nuances. Where to declare them, how to write the right values into them, etc.
If there are, for example, 5 EAs hang in the terminal on 5 different pairs and each EA has 4 variables that need to be written, it means that we need 20 global variables and they must be named somehow using the Symbol() command so that I don't have to write each name in the EA.
All in all, it is not for my brain yet((
Remember the opening time of the bar where the last fractal was set, use it to find the number of this bar. if the period is less than a minute........, how is that? If the period of the chart, less than a minute is simply not there.
Thanks for the reply, but what I meant was how to know if the current fractal has been broken or not before the next fractal appears
If you look for the price of a fresh fractal (you may scroll the mouse wheel on this page), then you will know if this fractal is broken through. My profile has links to the B. Williams ProfitUnity expo. I wrote it myself. Now I trade by reverse signals, in the direction of price returning to its moving average.
I'm sorry,
that would be great. I've looked through the tutorial on global variables, I understand that this is what I need, but I don't understand the nuances. Where to declare them, how to write the right values into them, etc.
If there are, for example, 5 EAs hang in the terminal on 5 different pairs and each EA has 4 variables that need to be written, it means that we need 20 global variables and they must be named somehow using the Symbol() command so that I don't have to write each name in the EA.
All in all, it's not for my brain yet((
If I don't have enough brains for Global Variables of the terminal, then about writing them into a file too...
But, there's a first time for everything. fSave_MineGV() inside start() and fGet_MineGV() inside init().
I hope you'll figure it out, and write your save variables instead of Var1, etc.I'm sorry,
that would be great. I've looked through the tutorial on global variables, I understand that this is what I need, but I don't understand the nuances. Where to declare them, how to write the necessary values in them, etc.
If there are, for example, 5 EAs hang in the terminal on 5 different pairs and each EA has 4 variables that need to be written, it means that we need 20 global variables and they must be named somehow using the Symbol() command so that I don't have to write each name in the EA.
Well, it's not for my brain yet((
//+------------------------------------------------------------------+
P.S. It's better to predefine variables (for a currency pair) once init.
rigonich,
why, in the EA I just want to, I thought on the contrary that recording files is easier.
TarasBY ,
Thank you, it's all clear, I'll try it, I think it will work.