Skip to content

Commit

Permalink
Try deranged defaults for buy rsi threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
djkazic committed Nov 18, 2023
1 parent 19888d2 commit 3925dd6
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 @@ -350,12 +350,12 @@ async function loadModules() {
logger("finance", `RSI_movAvg: ${movingAverageRSI}`);
logger(
"finance",
`RSI_mBuy: ${movingAverageRSI - 2}, RSI_mSell: ${
movingAverageRSI + 10
`RSI_mBuy: ${movingAverageRSI}, RSI_mSell: ${
movingAverageRSI + 5
}`
);
adjustedSellRsiThreshold = movingAverageRSI + 10;
adjustedBuyRsiThreshold = movingAverageRSI - 2;
adjustedSellRsiThreshold = movingAverageRSI + 5;
adjustedBuyRsiThreshold = movingAverageRSI;
} else {
return;
}
Expand Down

0 comments on commit 3925dd6

Please sign in to comment.