I am not so sure it matters because the editor would grumble at compile time.phil_trade wrote:Steve
I found an incorrect code that could do some strange things
in modules LookForD1H4TrendTrade and LookForD1TrendTrade, you define double Target in If Buy...so if it's a SELL, MQL found a no declared variable target = xxxx
You always have to declare variables at top of module to avoid this... of course...if you're kind enough
I have made the changes, so V 1y is in post 1. In light of Phil's latest post (just above this one), you might all like to hang on for V 1z.