I urgently need 2 robots. one is trending and the other is flat. - page 5

 
foim:
The trend one needs not to do anything at all)) but to switch off the flat and switch on the trend one.

Another 4 pages of this thread, and you will have a job specification for your project.
All you have to do is summarise it there, pay, and share the results with us.
(just kidding)

 
FAQ:
An indicator is a recycled stream of quotes, and therefore a priori lagging. it is only for the visual perception of immature brains.
agree
 

If you don't care about that, a couple of muwings in your hands and go for it.

http://mykibo.com/index.php download the toy (it's free) and play with it, maybe it will give you some ideas.

don't ask me a lot of questions, the video has everything you need.

the full video is here : https://www.youtube.com/watch?v=LqaRCTGdJzo&list=UUaiRmWcWz-admv1yNa_C8Pg&index=4

Mykibo
  • 2014.01.22
  • mykibo.com
Mykibo – это бесплатная программа, позволяющая самостоятельно создавать торговых советников на рынке Forex в среде торгового терминала MetaTrader4, удобный личный кабинет, видео и текстовые инструкции.
 
foim:
So we have two. a flat indicator and a trend indicator to work with.

So it's even easier - one switcher (the flat is always off), a universal switcher that turns on or off EAs on charts (there was something like that for MT4).

I remember there was such a switcher as a separate EA, which recorded data on market conditions in a text file in the metatrader's directory file, and other EAs accessed this text file (because they are all on the same metatrader). That is, they received commands about what to do, when to switch on, on what timeframe (EA attached to H1 timeframe may work on M5 for example). Although all this was done on MT4 and for martingale with hedge...

 
newdigital:

So that makes one.

And turn what on or off?
That is, you first define whether it is a flat or a trend and then, depending on this, you switch on some Expert Advisors?
Well, this has to be done as an on/off switch.
Sort out several Expert Advisors by the types "only profitable during the flat" and "only profitable during the trend", make an external Enable/Disable button and that's it.
There is a new Expert Advisor in CodeBase, I have sorted it out and included it into the on/off switch.

That's exactly how I intended it.
 

I don't get it - why the switch?

It's enough to put everything into one.

 
FAQ:

I don't get it - why the switch?

It's enough to put everything into one.

You can turn one robot on, then off, then on again. or better yet, a switch between the two robots.
 
FAQ:

I don't get it - why the switch?

It's enough to put everything into one.

I don't write under five, but here's from my old one : https://www.mql5.com/ru/code/9218 - 72 martin (flat)

Universal : https://www.mql5.com/ru/code/10111 - flat \trend

 
FAQ:

I don't get it - why the switch?

It's enough to put everything into one.

A kind of robot control system))
 
foim:
a kind of robot control system))
The more complex, the less reliable
Reason: