tbaranoski / Trading_Quant

Apache License 2.0
4 stars 2 forks source link

ERROR:root:Error: Debug State Sent from state 5 #46

Closed tbaranoski closed 2 years ago

tbaranoski commented 2 years ago

elif((self.higher_high_counter >= 1) and (self.higher_low_counter >= 2) and (self.lower_low_counter == 0) and (self.lower_high_counter == 0)): new_state = trend_state.possible_downtrend_reversal

        elif((self.higher_high_counter == 0) and (self.higher_low_counter == 0) and (self.lower_low_counter >= 1) and (self.lower_high_counter >= 2)):
            new_state = trend_state.possible_downtrend_reversal
tbaranoski commented 2 years ago

added logic ^^