Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1036393 // candleColorOnWhite - black as zero-profit

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (10067L/55K).

static Color candleColorOnWhite(double direction) {
  ret direction == 0 ? Color.black
    : directionToCandleColor(direction);
}

Author comment

Began life as a copy of #1036272

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036393
Snippet name: candleColorOnWhite - black as zero-profit
Eternal ID of this version: #1036393/1
Text MD5: 4b42558bd5e427c78ba02586162c7f36
Transpilation MD5: 584f5bd04328b76144f36a7f564a27ae
Author: stefan
Category: javax / gazelle 22
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-12-06 15:20:23
Source code size: 132 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 121 / 176
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)