Turning Zigzag Indiator into a simple Zigzag EA

 
Hello.

I need help about the programming of an EA based mainly on the 
ZigZag signal.

Even if the documentation/book of mql4 reccomand to NOT use ZigZag as
a strategy for forex trading and/or EA programming, i want to 
practise with programming in this indicator.


In particularly i want try to adapt the indicator ZigZag
for an EA, in other words i want to "turn" the indicator Zigzag(in Metaquotes4)
into an EA.

I am studying the Indicator, but actually it is still hard to me
to understand and trying to "port" this indicator into an EA.


More particularly i want to try ti get zigzag signals
into an EA when they happen into the indicator,
in example putting an order when a zigzag signal
is recognized.

There is possibility to turn the Indicator code into an EA code,
starting from the Zigzag indicator code itself?


Any suggestions?

Everything is welcome.

Thanks



 
Look up GlobalVariableSet and GlobalVariableGet. Set in indicator, Get in EA. Call the indicator from EA (iCustom). This is the guickest way to test it.
 
traderkmi wrote >>
Hello.
I need help about the programming of an EA based mainly on the
ZigZag signal.
Even if the documentation/book of mql4 reccomand to NOT use ZigZag as
a strategy for forex trading and/or EA programming, i want to
practise with programming in this indicator.
In particularly i want try to adapt the indicator ZigZag
for an EA, in other words i want to "turn" the indicator Zigzag(in Metaquotes4)
into an EA.
I am studying the Indicator, but actually it is still hard to me
to understand and trying to "port" this indicator into an EA.
More particularly i want to try ti get zigzag signals
into an EA when they happen into the indicator,
in example putting an order when a zigzag signal
is recognized.
There is possibility to turn the Indicator code into an EA code,
starting from the Zigzag indicator code itself?
Any suggestions?
Everything is welcome.
Thanks

Hi, Please take look the attached picture file, here is EA base on Indicator value. We are specialist in design and develop any EA programm.

 
traderkmi:
Hello.

I need help about the programming of an EA based mainly on the
ZigZag signal.

Even if the documentation/book of mql4 reccomand to NOT use ZigZag as
a strategy for forex trading and/or EA programming, i want to
practise with programming in this indicator.


In particularly i want try to adapt the indicator ZigZag
for an EA, in other words i want to "turn" the indicator Zigzag(in Metaquotes4)
into an EA.

I am studying the Indicator, but actually it is still hard to me
to understand and trying to "port" this indicator into an EA.


More particularly i want to try ti get zigzag signals
into an EA when they happen into the indicator,
in example putting an order when a zigzag signal
is recognized.

There is possibility to turn the Indicator code into an EA code,
starting from the Zigzag indicator code itself?


Any suggestions?

Everything is welcome.

Thanks

You can use iCustom to call Indicator into an EA code

Reason: