VQ indicator to EA

 
hi

anyone can help me to convert this indicator to EA?


what i need a just simple.

if current trade is sell..when the new signal buy came out..the ea will close automatically the sell position.


same like buy.. when the current trade is buy.. and the new signal sell came out. it will close automatically the buy postion whether profit or loss.

anyone can help?
Files:
vq.mq4  8 kb
 

Why?

Calculations perform better in an indicator and this indicator is very heavy on CPU cycles anyway - you dont want to port this one to an EA :(

-BB-

 
rizdwan74kl:
hi

anyone can help me to convert this indicator to EA?


what i need a just simple.

if current trade is sell..when the new signal buy came out..the ea will close automatically the sell position.


same like buy.. when the current trade is buy.. and the new signal sell came out. it will close automatically the buy postion whether profit or loss.

anyone can help?

EA exist here : https://www.mql5.com/en/code/8160

 

fcognet

> convert this indicator to EA?

Do you think he meant just 'how to call it'?

Whichever, it takes forever to back-test & optimize :(]

-BB-

 

Has anyone here have an EA from this indicator that opens orders without closing the opposite order when we get a new opposite signal?

Just keeps opening trades non stop at all signals?

I will close trades manually


Thank you :)

Reason: