Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1609

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
Afternoon.
History is not improving in any way, history quality is 22% for all characters.
Tried everything, maybe something with the settings, but I don't seem to have touched anything much. Build 2981.
Maybe broker messes up?)
No viruses, but it's a mess. And then there's the double-tap.)
There's a lot of backtracking on the phone, a long-standing problem)
Write this function without errors into the built maxd advisor please. I can't get rid of this error 'undeclared identifier
и
here you are trying to calculate the number of bars... But it's better to set it as just a positive number, for starters.
You can calculate the average bar movement like this:
Now, you can try to calculate stop and take based on the result of the function.
Please show me an example of a simple Expert Advisor.
The print will print on every tick and on the first load OnTick in EA and OnCalculate in indicator.
Strange that it does not print on subsequent ticks. check insert, if there are two prints with the same i, the question will be valid).
The i's are different. (i=1 and i=2).
i are different. (i=1 and i=2).
So in the body OnCalculate prints 1 time)
Can you tell me how to shorten the construction?
The point is to cut off pairs that already have a symbol in them
I have a position on USDCHF
===
There is a position on EURGBP, the signal came from AUDUSD - how to detect that there is no position on either AUD or USD ?
Can you tell me how to shorten the construction?
The point is to cut off pairs that already have a symbol in them
There is a position on USDCHF pair
StringFind
I think there should be 2 strings, search and 0 and 3 positions. That would cut off a random match in the middle.
SZ
Stupid, there are 4 conditions.
Not equal A B and not equal C D
condition A==C or A==D or B==C or B==D
In short, I don't think anyone can write it)))