[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 274
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.
There is an expert SimpleMA, I tweaked it a little for me, just a little ...:-))) and called MASimple_v2x.
then i tried to improve it BUT BUT
I got an error after the experiment.
WHAT DID I DO WRONG?????????????
>> thanks in advance.
Try it this way:
instead of - if MAF_0 - MAF_1= A
if MAS_0 - MAS_1= B
this - double A = MAF_0 - MAF_1;
double B = MAS_0 - MAS_1;
If I understand correctly, you are tracking a situation where both MAs are moving in the same direction. Many more interesting discoveries await you :))
Can you tell me if it is possible to increase the number of lots in a market order without opening new ones?
Not as far as I know! Only when you open a new lot. What is the sense to increase the lots after the deal? Or do you mean that you see how you opened in the right direction, and you want more and more money?
И что теперь с этим делать?
Probably better (more versatile):
Help me find a bug in the code. no error when compiling but calculations and transactions don't go through( Thanks in advance to the pros who are here.
Hi all, a word of advice please!!! Got a few questions, can't do it myself:
1. How to make only one order open on one bar?
2. There are several buy and sell conditions, what function to use for this?
3. How to organize the transfer of an open position to Breakeven?
4. How to apply all three conditions in the EA code (if possible, with an example)?
I am looking forward to your answers. Thank you very much in advance.
Hello. I just happened to come across an article on a subject that interests me. Namely this: Choosing a window size. .... Optimal results are achieved
in the case of selecting a window size of the order of the fractal dimension of the data. In order to calculate it, we should "slice" the series with a sliding window of a sufficiently large size
(see Figure 5 ), and then calculate the fractal dimensionality of the resulting data using, for example, Box-count method....
Please advise (preferably simpler), how to calculate the size of this sliding window. Or at least where to look at it.
The author's contact details are on the website, I recommend consulting the original source.HOORAY FOR THE WORK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thanks to maniac and granit77.
A recent anecdote. A literature class in a computer lab, led by a computer science teacher.
-Gerasim was, this.....thim......nu......a and he didn't have a sound card :-)))))))))))))))))
Well, as for the expert, I tried to shorten the trading condition. You know, for better perception.
That is, if there are mathematical calculations, it is better to call them via double.
Hi all, a word of advice please!!! Got a few questions, can't do it myself:
1. How to make only one order open on one bar?
....... ...
I am waiting for your answers. Thank you very much in advance.
https://www.mql5.com/ru/forum/102366
//-----------------
https://www.mql5.com/ru/forum/113983/page2
//-------------
https://www.mql5.com/ru/forum/110184
Help me find a bug in the code. no error when compiling but calculations and trades don't go through( Thanks in advance to the pros who are here.
The first thing that catches my eye in your code and that I am not sure of is the correctness of using the IndicatorCounted() function in the Expert Advisor. I haven't checked it but I believe its correctness is guaranteed only in custom indicators.