I don't understand the two actions. Once done and forgotten. It will always be automatically called during visual testing, except when you make a template with the name of the EA being tested. In the latter case, the tester will select it.
granit77: I don't understand what two actions are. Once done and forgotten. It will always be automatically called during visual testing, except when you make a template with the name of the EA being tested. In the latter case the tester will select it.
Yes, you're right. Checked it out - it really does work AT ONCE. Thanks
Can you tell me (for some reason no one answered on page 335 - or the question is totally stupid), which constants are responsible for "long" and "short" items in EA settings? I.e., in the sense that by their value true / false SELL and BUY are printed in large letters:)
Pyro: Can you tell me (for some reason no one answered on page 335 - or the question is totally stupid), which constants are responsible for "long" and "short" items in EA settings? I.e., in the sense that by their value true / false SELL and BUY are printed in large letters:)
Frankly speaking - I don't understand what I want... I personally don't understand what and in what cases it should be output . Except for SELL and BUY in capital letters. Be more specific.
Well, in Expert Advisor settings there is a drop down menu for what Expert Advisor does, sells or buys or both. I have an Expert Advisor consisting of two parts (buy / sell). I have two variables - bool sell and bool buy. I set through external to set which sections of my EA works. I want to set some values in main settings of my Expert Advisor (first tab). For example, I use IsTradeAllowed() to read checkbox "allow EA to trade". How about short / long settings ?
Why does the EA on EURUSD immediately close the correctly opened position, not obeying the indicator, although it works fine on other pairs. There is no SL or TP to blame. Alpari DC.
There is no program access to these properties of the EA configuration window, but I think it is easy to implement a ban on trading in an undesirable direction in the EA code
yosuf: Why does the EA on EURUSD immediately closes the correctly opened position, not obeying the indicator, while it works fine on other pairs? I have not specified SL or TP so I do not want to blame them. Alpari DC.
If you look at the EURUSD Expert Advisor, it has the same effect as other symbols, only EURUSD usually has the lowest spread, it is hard to guess what is wrong with it without the code
yosuf: Why does the EA on EURUSD immediately close a correctly opened position, not obeying the indicator, although it works fine on other pairs. There is no SL or TP to blame. Alpari DC.
To learn what to start with, please give me a piece of the log, where the opening and, in your opinion, wrong closing takes place.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I don't understand what two actions are. Once done and forgotten. It will always be automatically called during visual testing, except when you make a template with the name of the EA being tested. In the latter case the tester will select it.
Yes, you're right. Checked it out - it really does work AT ONCE. Thanks
You have an error here, you get the same thing four times.
What else should I look at ?Reworked it, but nothing has changed. Maybe it's not the right way ?
maybe not in mt4?
Aren't Insta Trader and MT4 the same thing?
Can you tell me (for some reason no one answered on page 335 - or the question is totally stupid), which constants are responsible for "long" and "short" items in EA settings? I.e., in the sense that by their value true / false SELL and BUY are printed in large letters:)
artmedia70
Well, in Expert Advisor settings there is a drop down menu for what Expert Advisor does, sells or buys or both. I have an Expert Advisor consisting of two parts (buy / sell). I have two variables - bool sell and bool buy. I set through external to set which sections of my EA works. I want to set some values in main settings of my Expert Advisor (first tab). For example, I use IsTradeAllowed() to read checkbox "allow EA to trade". How about short / long settings ?
There is no program access to these properties of the EA configuration window, but I think it is easy to implement a ban on trading in an undesirable direction in the EA code
Why does the EA on EURUSD immediately closes the correctly opened position, not obeying the indicator, while it works fine on other pairs? I have not specified SL or TP so I do not want to blame them. Alpari DC.
Why does the EA on EURUSD immediately close a correctly opened position, not obeying the indicator, although it works fine on other pairs. There is no SL or TP to blame. Alpari DC.
To learn what to start with, please give me a piece of the log, where the opening and, in your opinion, wrong closing takes place.