synchronise HeikinAshi

This commit is contained in:
Jérôme Delacotte
2025-03-22 17:54:06 +01:00
parent 59daa1af70
commit 117d466722
3 changed files with 478 additions and 250 deletions

View File

@@ -274,7 +274,6 @@ class HammerReversalStrategy(IStrategy):
self.pairs[pair]['max_touch'] = max(last_candle['haclose'], self.pairs[pair]['max_touch'])
# On ne déclenche le trailing stop que si un profit mini a déjà été atteint
# and (limit_sell < -0.01)
if (current_profit > 0.01) and (last_candle['percent12'] < 0) and (last_candle['percent5'] < 0):