From bc91a107820f43af4d2ea279e6a8dc6ea6a35098 Mon Sep 17 00:00:00 2001 From: kienvt Date: Mon, 14 Jul 2025 08:26:24 +0700 Subject: [PATCH] update --- src/services/indicatorService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/indicatorService.ts b/src/services/indicatorService.ts index 1ec5b24..a4f89de 100644 --- a/src/services/indicatorService.ts +++ b/src/services/indicatorService.ts @@ -256,7 +256,7 @@ export class IndicatorService { if ( analysis.isMacdCrossUp && analysis.isMacdLower && - analysis.numberMacdCrossUp >= 2 + analysis.numberMacdCrossUp > 2 ) { const order = this.makeOrder(analysis, candles, "buy"); eventHandler.onBuy(order, "Counter trend rủi ro cao MACD Cross Up"); @@ -264,7 +264,7 @@ export class IndicatorService { if ( analysis.isMacdCrossDown && analysis.isMacdUpper && - analysis.numberMacdCrossDown >= 2 + analysis.numberMacdCrossDown > 2 ) { const order = this.makeOrder(analysis, candles, "sell"); eventHandler.onSell(order, "Counter trend rủi ro cao MACD Cross Down");