[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 162

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
How do I make
I want my EA to open an order only once a day.
If it opened an order, then closed it and switched off until the next day.
I guess I need to fetch the latest deal from the history... compare it with the date and if the order has already been closed that day, then disable the EA...
are you thinking in the right direction?
I can't really understand it, because I am new to mql.
I am also new to programming)) but I would do the following: At the beginning of special function start I would put a condition to check a new day and flag string Work=true; after opening an order I would put a flag that Expert Advisor does not work. (Work=false;) If the day is new, then the flag is removed - i.e. Expert Advisor works until the position is opened, etc.
Good afternoon, colleagues.
Please advise how to explain points of line inflection in software, i.e. to the expert, i.e. the expert has to distinguish between two options of МА position: МА rising, МА falling.
Inflection points or extremes? If the swing is rising, the penultimate bar should be lower than the last one. And vice versa.
Good afternoon, colleagues.
Please advise how to explain the inflection points of the line, i.e. the Expert Advisor has to distinguish between two scenarios of МА position: rising and falling MA.
it depends on what does it go up or down against? price, another MA, anything else!??
Good afternoon, colleagues.
Please advise how to explain points of line inflection in software, i.e. for the Expert Advisor, i.e. the Expert Advisor should distinguish between two options of МА position: МА rising and МА falling.
0 - current bar
1 - previous
see post above.
Ah, right! Thanks, for some reason I didn't think of it straight away...))
What I meant was this: it's a normal mask, only at inflection points it changes its colour. How to explain this to an expert?
Ma=iMa(Symbo()l, 0, 14, 0, 1, 0, 0);
Open = iOpen(Symbol(),0,0);
if (Ma > Open)
// machine falls down
if(Ma<Open)
//the sac grows
you can do it like this ......
Ma=iMa(Symbo()l, 0, 14, 0, 1, 0, 0);
Open = iOpen(Symbol(),0,0);
if (Ma > Open)
// machine falls down
if(Ma<Open)
//the mouse is growing
you can also ......
Thank you.