Closed tbaranoski closed 2 years ago
NEW LOGIC ADDED FOR BUG:
elif((self.higher_high_counter > 0) and (self.higher_low_counter > 0) and (self.lower_low_counter == 0) and (self.lower_high_counter == 0)):
new_state = trend_state.possible_downtrend_reversal
#State:6 -> 2
elif((self.higher_high_counter == 0) and (self.higher_low_counter == 0) and (self.lower_low_counter > 0) and (self.lower_high_counter > 0)):
new_state = trend_state.possible_uptrend_reversal
For price action reversals with all different combinations. Need a way to keep track of state and a way to update