Write some Software

Sedang Disiapkan Disiarkan 7 tahun lepas Dibayar semasa penghantaran
Sedang Disiapkan Dibayar semasa penghantaran

I would like to request indicator with following :-

Indicator should be on seperate window. I have attached Image to show how the Indicator should / will look like.

There will be 6 MAs. All will be exponential. There should be option to choose MA period.

Also, there should be option to choose MA applied to price (Open, Close, High, Low)

We will call it MA 1, MA 2, MA 3, MA 4, MA 5 & MA 6.

Scenario 1:-

Price is above MA1 , MA2 & MA 5

& MA 2 above MA 1

& MA2 above MA3

& MA3 above MA 4

MA 1 , MA2 , MA3 & MA 4 must not be flat. Which means they must be pointing in UP direction.

If above conditions are met (scenario 1) is fullfilled, than Indicator should draw Thick Yellow Line on upper portion of the indicator window. It will continue to draw Thick Yellow line till the time all above conditions are met.

Once MA 2 becomes flat for 2 bars than it should show Little Less Thick Yellow line.

If price cross back below MA 2, it will show same kind of Little Less Thick yellow line.

It will draw all Thick and Little Less Thick lines in upper portion of indicator window till time everything is above MA 1.

If MA2 cross back MA 3 in down direction it should show only Thin Blue line.

If price cross down mid distance between MA 2 & MA 3 it will show same Thin Blue Line.

If after that MA 2 continue downside than indicator should not show any Lines. It will be blank.

Scenario 2:-

Price is below MA1 , MA2 & MA 6

& MA 2 below MA 1

& MA2 below MA3

& MA3 below MA 4

MA 1 , MA2 , MA3 & MA 4 must not be flat. Which means they must be pointing in DOWN direction.

If above conditions are met (scenario 2) is fullfilled, than Indicator should draw Thick Yellow Line on lower portion of the indicator window. It will continue to draw Thick Yellow line till the time all above conditions are met.

Once MA 2 becomes flat for 2 bars it should show Little Less Thick Yellow line.

If price cross back above MA 2, it will show same kind of Little Less Thick yellow line.

It will draw all Thick and Little Less Thick lines in lower portion of indicator window till time everything is below MA 1.

If MA2 cross back MA 3 in UP direction it should show only Thin Blue line.

If price cross UP mid distance between MA 2 & MA 3 it will show same Thin Blue Line.

If after that MA 2 continue UP side than indicator should not show any Lines. It will be blank.

Indicator will only be visible in above two scenarios. Any other scenario and it will be total Blank.

I want mq4 code.

Thanks in advance for your help.

Metatrader

ID Projek: #11362069

Tentang projek

Projek jarak jauh Aktif 7 tahun lepas