Transpiled version (9648L) is out of date.
1 | static Color directionToCandleColor(double direction, Color zeroColor default Color.white) {
|
2 | ret direction < 0 ? colorFromHex("f1493f")
|
3 | : direction > 0 ? colorFromHex("1da2b4")
|
4 | : zeroColor; |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
| Snippet ID: | #1036272 |
| Snippet name: | directionToCandleColor |
| Eternal ID of this version: | #1036272/2 |
| Text MD5: | 4ba471f2012495c2e791fe327219be02 |
| Author: | stefan |
| Category: | javax / gazelle 22 |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2023-03-13 19:31:40 |
| Source code size: | 205 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 405 / 513 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |