LongEntrySignal = ((SRPercentRank(1, SRPercentRankLenght1,SRPercentRankATRPrd1, 3) is higher than Bar Minute[3] for 3 bars at 2 bar ago) and Vortex(Main chart, VortexChangesTrnPrd1)[2] changes trend Down); ShortEntrySignal = ((SRPercentRank(1, SRPercentRankLenght1,SRPercentRankATRPrd1, 3) is lower than Bar Minute[3] for 3 bars at 2 bar ago) and Vortex(Main chart, VortexChangesTrnPrd1)[2] changes trend UP);
It should be "higher" for both Long and Short entries, not "higher" and "lower." Also, please use a positive number ( 0% <= n <= 100% ) instead of Minute because Minute is limited between 0 and 60. So, the above block should be:
LongEntrySignal = ((SRPercentRank(1, SRPercentRankLenght1,SRPercentRankATRPrd1, 3) is higher than 0 for 3 bars at 2 bar ago) and Vortex(Main chart, VortexChangesTrnPrd1)[2] changes trend Down); ShortEntrySignal = ((SRPercentRank(1, SRPercentRankLenght1,SRPercentRankATRPrd1, 3) is higher than 0 for 3 bars at 2 bar ago) and Vortex(Main chart, VortexChangesTrnPrd1)[2] changes trend UP);
Status changed from New to Refused
Comparisons like IsGreater are negated to IsLower and vice versa, and it is correct for most of the indicators.
If you want tohandle ti differently there are two options:
1. use only signals, not individual indicators and comparisons - this is what signals are for exactly
2. more complicated - add a special negater - SQ.Negater - that will handle this specific use case and negate it the way you want it.