Hi, how can I trade with MAs separates?

Buy when 50 EMA > 100 EMA > 150 EMA & Slopes > 30 degrees
And trade with slopes > 30 dregrees...
How get the MA slopes?
Hi, how can I trade with MAs separates?

Buy when 50 EMA > 100 EMA > 150 EMA & Slopes > 30 degrees
And trade with slopes > 30 dregrees...
How get the MA slopes?
@rgoo how did you solve it? Changing magic number?
@ambrogio no, that was just a casuality...
Hi, look at this, the EA draw the shape (on init), but when the trading pair is changed, exist a bug that put the shape ahead from the others bottons.... look:
1.- The EA is put on a trading pair window:

2.-The trading pair is changed:

3.- Everything look lost but, actually they keeping there, just behind the white shape...

Here is the curious situation: if you put a text label on Rectangle shape and then, put "modify", inmediately will appear the shape properties and no text, select on background and the shape with all buttons will appear again...

@jstap taking advantage, how would you make the panel movible and than can be minimized and maximized?
@jstap so-so...
continues with bugs, maybe with a variable that press/not press the botton?

Hi guys and gals; I have built this kind of EA (has a lot of bugs yet), one of them, are the selection of bottons, how to build the logic to the EA just can select one of this bottons at same time?
I'm refering about [1], [2] and [3] bottons

And these are them logic: on chart

@dadilula did you get it? I'm struggling too...
@oliverhinrichs could you share the first panel concept? (MT4 project) please
@l-andorrà the drop down list yes with the custom code. But what about the rectangle background?
Hi, I'd like to know how to enum options directly on a panel? And how to make that a big rectangle appears beside the bottons?

Thanks:)
@jstap Could you explain deeply how to understand your incredible work?
@l-andorrà Do you know how to with the same button make more than 2 actions? I mean, one click = do something, other click = different action... and so on until reset
E.G. on labels recangles would be Trailing 1: ON/OFF and more...

https://fxdreema.com/shared/k1R5DG7fb
Would be nice that each one that an object be pressed, make a count, E.G. I press the button and appears to me 1, if I click again 2, and so on... Do you know how to do it?
Hi, I'd like that users not must repeat topics that in the past got solution, because their repeated topics make that the best questions and answers got lost.
PLEASE, BEFORE OF SHARE ANY TOPIC, CHECK ON THE SEARCH IF YOUR TOPIC GOT SOLVED BEFORE. Thanks 
@rodrigo-ortuzar puedes buscar a lo largo del foro tus respuestas, no dupliques temas. Es sencillo: no position --- once per bar --- tus demás condiciones...
Importante es clasificar los trades en grupo y tipo
@l-andorrà Ok, thanks. Then this would be the logic "Open Prices only", right? Just like the MT4/5 strategy tester...

@jstap how would you do that EA just works as "open prices"?
Hi, sorry, I'm looking a ways that every EA action just do it on open princes, as the backtesting model... The only way that I thought was "Once per bar" block, but on "On tick" backtesting, doesn't works as "Open prices", Do you have any ideas?
This could be used for TP, trading actions, etc... Except for trailing
@frank-2 use to what? You could make a condition:
if price level (>,<,=...etc) than current price, make something