]> Piment Noir Git Repositories - freqai-strategies.git/commitdiff
refactor(qav3): adjust annotation line offset to stoploss
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 19 Dec 2025 16:02:43 +0000 (17:02 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 19 Dec 2025 16:02:43 +0000 (17:02 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
quickadapter/user_data/strategies/QuickAdapterV3.py

index eae548a49d08244c6f54ed7cc8fbdc910f0a2514..4c2081e786d883f978d1ce13fb9323220dec9c8a 100644 (file)
@@ -144,7 +144,7 @@ class QuickAdapterV3(IStrategy):
 
     _CUSTOM_STOPLOSS_NATR_RATIO_PERCENT: Final[float] = 0.7860
 
-    _ANNOTATION_LINE_OFFSET_CANDLES: Final[int] = 8
+    _ANNOTATION_LINE_OFFSET_CANDLES: Final[int] = 11
 
     timeframe_minutes = timeframe_to_minutes(timeframe)
     minimal_roi = {str(timeframe_minutes * 864): -1}