Help to finish this EA

 

Hoping someone can help me make this work. Basically its simply an Ea that uses the last defined point of a zigzag indicator to close and reverse orders.

Thanks to any that can help

Files:
zigzagsea.mq4  15 kb
 
Virtualknight:

Hoping someone can help me make this work. Basically its simply an Ea that uses the last defined point of a zigzag indicator to close and reverse orders.

Thanks to any that can help

Why don't u be more specific. What's the problem with this EA that u need help with?

 
Virtualknight:

Hoping someone can help me make this work. Basically its simply an Ea that uses the last defined point of a zigzag indicator to close and reverse orders.

Thanks to any that can help

the problem is: '('- function definition unexpected 368,18


The line of Code is: int ScanTrades(){

 
Virtualknight:

the problem is: '('- function definition unexpected 368,18

The line of Code is: int ScanTrades(){

Well that line itself is not the cause, there's a missing } somewhere prior to that line

Ask the original author or try remming out large chunks with

/*


*/

to narrow down the problem section

FWIW

-BB-

 
BarrowBoy:

Well that line itself is not the cause, there's a missing } somewhere prior to that line

Ask the original author or try remming out large chunks with

/*


*/

to narrow down the problem section

FWIW

-BB-

Thanks I'll try that

Reason: