Skip to content

Commit

Permalink
More conservative buy
Browse files Browse the repository at this point in the history
  • Loading branch information
djkazic committed Nov 22, 2023
1 parent 480327e commit 1d028ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -369,12 +369,12 @@ async function loadModules() {
);
logger(
"finance",
`RSI_movAvg: ${movingAverageRSI}, RSI_mBuy: ${movingAverageRSI}, RSI_mSell: ${
movingAverageRSI + 2
`RSI_movAvg: ${movingAverageRSI}, RSI_mBuy: ${movingAverageRSI - 3}, RSI_mSell: ${
movingAverageRSI + 3
}`
);
adjustedSellRsiThreshold = movingAverageRSI + 2;
adjustedBuyRsiThreshold = movingAverageRSI;
adjustedSellRsiThreshold = movingAverageRSI + 3;
adjustedBuyRsiThreshold = movingAverageRSI - 3;
} else {
return;
}
Expand Down

0 comments on commit 1d028ef

Please sign in to comment.