Crossing of moving averages
-
After starting the EA, or after the closing of a deal.
The opening of a new deal can only happen if condition (block (6) (5 > 20 or 5 < 20)) happen once .. ..
example:
Right now "5> 20".
If EA was initialized, or the closing of the deal happened.
The next opening will happen when deal "5 <20" and conditions of the block "1 and 13 or 14" are true.
This is the Intent, but the http://fxdreema.com/shared/NYmDqOQhe
this not working. Can you help me? -
Things are not like this. This is "on Tick" event (see that orange button above) and the block on the top (#9) is executed on every tick. Every block below depends on the one above. It's not to place blocks one after another. Imagine that blocks you have are scanned with a scanner on every tick starting from top.
-
Still can not do. Could you give me an example?

-
I don't really understand all you want to do, but if you want to do buy-sell-buy-sell on opposite conditions, see here: topic/2287
-
My English is not very good at explaining better the conditions of the EA, then edited an image.
Can you help me now? Can better understand what I'm trying to do? -
Is this 3 MA strategy where:
Buy: when MA5 crosses MA20 above while MA20 is above MA100
Sell: Buy: when MA5 crosses MA20 below while MA20 is below MA100
Here is some information about crossovers: http://fxdreema.com/documentation/proje ... er%20works
-
crossovers ((X>) (5 X> 20)), will not work for me. crossovers only works in the exact moment of crossing, and in my EA, besides the crossovers there are five conditions to deal. (And these conditions are well happen after crossovers).
So I have to use ((>). (5> 20)).
Can you help me?
-
Crossover works when conditions for crossover are true. There are 2 conditions for crossover - one using "<" and one using ">". Yes, when you use "x>" or "x<" there are 2 conditions to be checked actually.
Condition block, when crossover is used inside, can pass multiple times until the current candle closes.
I hardly understand your words, so I surrender
I have to say that I am not narive english as well and it's hard for me 
What I can suggest is a way to check when some block passes - connect "Draw arrow" below that block and you will see on the chart where exactly that block passes, you will see arrows.
-
The answer I need for my "EA" is. How many times was the cross between (5 x> 20)? How to get this answer? 
-
http://fxdreema.com/shared/DkTazQIQc
Count arrows if you want. These are 3 types of crossover detection.
-
The suggested site is not opening .
-
Ooops, wrong address

http://fxdreema.com/shared/DkTazQIQc