Lwma cross exit ea for mt5

I want to use 2 LWMA amd exit by crossing, no entry by EA. Is there any MT5-EA like that for free out there? :33:

I can build one for you… You mean like this:
If there’s a position open -> LWMA1 crosses above LWMA2 -> close sells and
If there’s a position open -> LWMA2 crosses above LWMA1 -> close buys ?

Yes-exactly-also possible to choose input H, L, C, O, Median price etc

Here you go. Sorry it’s a bit messy, you have to change 4 parameters to change the input.

There’s a software to quickly make eas like this, but apparently I can’t advertise it… Just type “ea builder simplifies automated trading” in google :wink:

LWMA exit.zip (63.2 KB)

Thanks a lot, it works but I do have some problem understand the settings, is it possible to change the slow LW to Open. I found ^The EA builder^ and I will give it a try, looks good

Yes, sorry, that was too quickly made ea :smiley: There are 4 applied price modes because there are 4 “cases”
inp2Lo : LWMA1’s method when sell trade is running
inp2Ro : LWMA2’s method when sell trade is running

inp3Lo : LWMA1’s method when buy trade is running
inp3Ro : LWMA2’s method when buy trade is running

Number symbols: 1=close 2=open 3=high 4=low 5=median 6=typical 7=weighted

Here’s a simplified version, you can change all 4 by changing “price mode”.

LWMA exit (1).zip (61.8 KB)