4 moving average arrow signal

 

Hi coding expert friends,

Please help to code an indi that showing an arrow when 4 MA ALREADY crossing each others.

Example. ema 10, 20, 30, 40

arrow up only appear when ema10 cross up ema20, ema20 cross up ema 30, ema 30 cross up ema40.

Thank you and regards,

anton

 
anton1:
Hi coding expert friends,

Please help to code an indi that showing an arrow when 4 MA ALREADY crossing each others.

Example. ema 10, 20, 30, 40

arrow up only appear when ema10 cross up ema20, ema20 cross up ema 30, ema 30 cross up ema40.

Thank you and regards,

anton

anton

It is almost impossible that you get all the 3 crosses at the exactly same bar. 99.99% of time it will be a signal when the fastest ma crosses the rest of the mas

 

Hi mladen,

Yes, I understand.

I do not mean the crossing happenned at the same time.

I just need the arrow appear when theema10 croossed ema20

+

ema20 crossed ema30

+

ema30 crossed ema40
.

When this condition

happenned,

the arrow appearring.

Please help me.

Thank you and regards,

anton

 
anton1:
Hi mladen,

Yes, I understand.

I do not mean the crossing happenned at the same time.

I just need the arrow appear when theema10 croossed ema20

+

ema20 crossed ema30

+

ema30 crossed ema40
.

When this condition

happenned,

the arrow appearring.

Please help me.

Thank you and regards,

anton

anton1

This condition : ema10 croossed ema20

+

ema20 crossed ema30

+

ema30 crossed ema40
.
translates to the one I described - that they all cross each other at the same time

 

Hi mladen,

Maybe, my english is not clear enough.

I need an arrow WHEN the ema10 above ema20 + ema 20 above ema 30 + ema 30 above ema 40.

Here is a picture that showing what I mean.

I hope you would like to help me code this indi.

Thank you and regards,

anton

Files:
eurusdm5_3.png  45 kb