This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //@version=2 | |
| study("GHOST Binary [@bkawk]", overlay = false) | |
| slime = #B7ED0A | |
| blood = #FF4167 | |
| fastMA = input(title="Fast Period", type = integer, defval = 12) | |
| slowMA = input(title="Slow Period", type = integer, defval = 26) | |
| signalSmooth = input(title="Smoothing Amount", type = integer, defval = 9) | |
| tf = period | |
| fst = security(tickerid, tf, ema(close, fastMA)) | |
| slw = security(tickerid, tf, ema(close, slowMA)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //@version=2 | |
| study("GHOST GLANCE [@bkawk]", overlay = false) | |
| slime = #B7ED0A | |
| blood = #FF4167 | |
| rsi = rsi(close, 14) | |
| color = if ((ema(close, 12) - ema(close, 26)) - (ema(ema(close, 12) - ema(close, 26), 9))) > 0 | |
| rsi > 50? slime : blood | |
| else | |
| rsi < 50 ? blood : slime | |
| plot(100, style = area, color = color) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| study(title="GHOST RSI [@bkawk]", shorttitle="GHOST RSI [@bkawk]") | |
| src = close, len = input(14, minval=1, title="Length") | |
| up = ema(max(change(src), 0), len) | |
| down = ema(-min(change(src), 0), len) | |
| rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down)) | |
| slime = #B7ED0A | |
| blood = #FF4167 | |
| overbought = input(80, minval=1, title="Overbought") | |
| bullish = input(60, minval=1, title="Bullish") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ===================================== | |
| // GHOST Indicator v0.0.1 | |
| // @author @bkawk | |
| // ===================================== | |
| study(title="GHOST Indicator [@Bkawk]", shorttitle="GHOST Indicator [@bkawk]", overlay=true) | |
| slime = #B7ED0A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| study(title="GHOST Indicator [@Bkawk]", shorttitle="GHOST Indicator [@bkawk]", overlay=true) | |
| slime = #B7ED0A | |
| blood = #FF4167 | |
| inputBigTrend1 = input(850, minval=1, title="EMA1") | |
| inputBigTrend2 = input(200, minval=1, title="EMA2") | |
| inputEma = input(50, minval=1, title="EMA3") | |
| inputConversion = input(9, minval=1, title="Conversion") | |
| inputBase = input(26, minval=1, title="Base") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name test.swarmdev.city; | |
| location / { | |
| proxy_pass http://127.0.0.1:8088; | |
| proxy_http_version 1.1; | |
| proxy_set_header Upgrade $http_upgrade; | |
| proxy_set_header Connection 'upgrade'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| get-transactions-time-limit = 3 | |
| block-log-dir = "blocks" | |
| block-interval-seconds = 1 | |
| rcvd-block-trans-execution-time = 72 | |
| trans-execution-time = 18 | |
| create-block-trans-execution-time = 18 | |
| per-authorized-account-transaction-msg-rate-limit = 1800 | |
| per-code-account-transaction-msg-rate-limit-time-frame-sec = 18 | |
| per-code-account-transaction-msg-rate-limit = 18000 | |
| per-code-account-max-storage-db-limit-mbytes = 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| [ -z "$PS1" ] && return | |
| # don't put duplicate lines in the history. See bash(1) for more options | |
| # ... or force ignoredups and ignorespace |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function _test(actions){ | |
| return actions.reduce((chain, action) => { | |
| return chain.then(() => action.functionToCall(action.argumentToSend)).then(val => console.log(val)); | |
| }, Promise.resolve()); | |
| } | |
| function _one(data){ | |
| return new Promise((resolve, reject) => { | |
| setTimeout(function(){ | |
| console.log(data); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.0; | |
| contract myAge { | |
| uint age = 41; | |
| function getAge() constant returns(uint){ | |
| return age; | |
| } | |
| } |