LongEntrySignal = ((LWMA(Main chart,40)[3] = High(Main chart)[1]) and (SMMA(Main chart,14)[1] is falling for 50 bars at 2 bar ago)); ShortEntrySignal = ((LWMA(Main chart,40)[3] <> Low(Main chart)[1])
Status changed from New to Refused
It is not possible to set it generally right, that's why you should use signals instead of random comparisons. I also think that comparisons Equals/Not equals shouldn't be used in conditions. Crossings and <,<=, >, >= should be enough.