Created
June 14, 2018 16:50
-
-
Save pequet/3cb4e0436a3d3ffd47bd445a76c39415 to your computer and use it in GitHub Desktop.
This file contains 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
// Created by @pequet (https://www.tradingview.com/u/pequet) | |
// https://github.com/pequet/ | |
// NOT FOR DISTRIBUTION | |
// @version=3 | |
study(title="Institutional Bias", shorttitle="IB", overlay=true) | |
src = input(close, type=source, title="Source") | |
ibBullCond = resolution=='D' ? ema(src, 9) > ema(src, 18) : security(tickerid, 'D', ema(src, 9) > ema(src, 18)) | |
bgcolor(ibBullCond ? white : red, transp=50) | |
// - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment