Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 992
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
What did you want to get?
Thank you very much!
I wish the warrants would close as well...
If by time, we should find a function
and put it in front of it.
if(Hour()>=HourClose)
Bottom line:
Thank you!!!
I think I've got it.
Thank you!!!
I think I got it.
We can still play with the minutes.
Hello!
I found a good Expert Advisor (according to the tester), I ran it on the demo and it is losing money in the Japanese session.
If you know the code, how to make it run at a certain time and at a certain time to close all my orders and then exit.
Also a place where to insert this code.
Thank you in advance!
Make 2 variables at the beginning:
And then in the opening and closing conditions in case there is a position left!
Hello!
Currently the function is linked to the current chart (double High[]). How can I modify the function so that I can get prices of different timeframes High_Lim(PERIOD_H4,10,1) High_Lim(PERIOD_M15,10,1)?
Hello!
Currently the function is linked to the current chart (double High[]). How can I modify the function so that I can get prices of different timeframes High_Lim(PERIOD_H4,10,1) High_Lim(PERIOD_M15,10,1)?
To find the highest price value from another symbol, use iHighest. There, write the name of the symbol in place of 1 argument, e.g. "EURUSD". In your function you wrote NULL, i.e. it searches the current chart.
"...get prices of different timeframes..."
In iHighest the 2nd parameter is the timeframe.
In iHighest the 2nd parameter is timeframe.
iHighest is an index .
val=High[val_index] - High[] is linked to the current chart.
You wrote the same example that I already have, just in a different format.