This is non directional so this:
LongEntrySignal = ((BullsPower(Main chart,BPPeriod1)[1] is rising)
and Choppiness Index(ChoppinessIndBlwLvlPrd1)[1] is below 98.3);
ShortEntrySignal = ((BearsPower(Main chart,BPPeriod1)[1] is falling)
and Choppiness Index(ChoppinessIndBlwLvlPrd1)[1] is below 1.7);
Should be this:
LongEntrySignal = ((BullsPower(Main chart,BPPeriod1)[1] is rising)
and Choppiness Index(ChoppinessIndBlwLvlPrd1)[1] is below 98.3);
ShortEntrySignal = ((BearsPower(Main chart,BPPeriod1)[1] is falling)
and Choppiness Index(ChoppinessIndBlwLvlPrd1)[1] is below 98.3);