Claude coded your strategy. At least he says he did. I tried to optimize it but it fails in forward testing. In this case the optimization does no more than curve fitting, because either the strategy lacks universality or Claude implemented it wrongly (idk because I didn’t read your explanation)
SMA EA.mql (27.6 KB)
. Try and play with it, maybe you will get something out of it. Change the extension to .mq5 . I changed it to .mql, because .mq5 wouldn’t get sent.