[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 223
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
But how to insert it into MQL4. It is not included in the standard set of built-in indicators, is it?
so you're on the minutes.
1000 first bars (17 hours converted) is not enough to refer to the previous day.
Where does the figure of 1,000 bars come from? I don't get it.
Where did the figure of 1,000 bars come from? I don't get it.
How many bars do you have in the tester when you start?
h ttps://docs.mql4.com/ru/indicators/iCustom
and how many bars do you have in the tester when you start?
That is, the tester contains an incomplete history when it starts?
Now, by the way, the Expert Advisor is working correctly.
Hello!
When placing SELL STOP pending orders, I keep getting error 130 - invalid stops. But a BUY STOP order with the same parameters is placed without any problems. Here is a fragment of code
This is a call of a user-defined function, and below is the body of the user-defined function. What is interesting, even if 0 is explicitly put in the OrderSend call instead of a variable, the error is still shown! What may be the problem?
Hello!
When placing SELL STOP pending orders, I keep getting error 130 - invalid stops. But a BUY STOP order with the same parameters is placed without any problems. Here is a fragment of code
This is a call of a user-defined function, and below is the body of the user-defined function. What is interesting, even if 0 is explicitly put in the OrderSend call instead of a variable, the error is still shown! What may be the problem?
Find the error yourself by reading the Tutorial, and in this case specifically the Characteristics of Orders and Rules of Trading.
How can I set it to download only some timeframes (not all of them): minutes, 1 hour and days?
Thus: string sTimeFrame = {"M1", "H1", "D1"}; // The string that lists the scanned TF.
On minutes it downloads no more than 2000 bars and my EA needs more than 7000. After pumping with this script, my EA will pump more.
Is it designed this way, not all bars are downloaded?