File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,17 @@ setInterval(async _ => {
24
24
close,
25
25
stratigy
26
26
} = listenMyCoins ;
27
+ const tfx = ( val ) => parseFloat ( val ) . toFixed ( 5 )
27
28
const message = `
28
- ${ action === "Buy" ? "⤴️" : "⤵️" } action=${ action }
29
- symbol=${ symbol }
30
- price=${ close }
31
- rsi=${ rsi }
32
- stochRSI=${ stochRSI }
33
- sma=${ sma }
34
- ema=${ ema }
35
- stratigy=${ stratigy }
36
- `
29
+ ${ action === "Buy" ? "⤴️" : "⤵️" } action=${ action }
30
+ symbol=${ symbol }
31
+ price=${ close }
32
+ rsi=${ rsi }
33
+ stochRSI=${ tfx ( stochRSI ) }
34
+ sma=${ tfx ( sma ) }
35
+ ema=${ tfx ( ema ) }
36
+ stratigy=${ stratigy }
37
+ ` ;
37
38
denoBot . postMessageTelegram ( message )
38
39
} catch ( error ) {
39
40
console . error ( error )
Original file line number Diff line number Diff line change @@ -31,6 +31,6 @@ export const OnlyRsis = (args = []) => {
31
31
action = "Buy" ;
32
32
return action ;
33
33
}
34
- // action = "titti" ;
35
- return "wait..." ;
34
+ action = false ;
35
+ return action ;
36
36
}
You can’t perform that action at this time.
0 commit comments