Wrote an advisor, there is a problem. - page 4

 
and how do you want to use the zigzag?
 
As you can see from my first post - the system works. I have an idea to add a zigzag in conjunction with my indicator to make trades more often.
 

Would it be better to use a different indicator?

Which indicator do you use to make your opening decision? Is it this indicator ? Help me write an indicator!

 
Noterday >> :
int minStop=MarketInfo(Symbol(),MODE_STOPLEVEL);

// есть еще вариант вместо 10*Point вставить  minStop*Point , в тэйках в том числе!
 
KONDOR >> :

Everything works for me! EURUSD


Reinstalled MT. Still have ordersend error 130. Even with your code, which you attached along with the balance chart...

 
Run >> :

Would it be better to use a different indicator?

>> which indicator do you use to make your opening decision?

>>) MACD :)

 

the code attached on page 3 with an error, which you yourself later wrote about

 

KONDOR писал(а) >>

есть еще вариант вместо 10*Point вставить  minStop*Point , в тэйках в том числе!

Still didn't help :)

 
Run >> :

the code on page 3 with the error that you yourself later wrote about

What do you mean? I think KONDOR's code has no errors, i.e.

 
Noterday писал(а) >>

By MACD :)

Help to write an indicator!