Created
April 6, 2018 09:25
-
-
Save bkawk/d8440c2a39059f7b85c89903e4febb55 to your computer and use it in GitHub Desktop.
GHOST GLANCE
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment