# bitcoin 3 bars + ema's fomo warning

216 0

if the line is red mean the majority of the conditions are turning bull and a possible drop can happen so in a way this is a contrarian indicator
this works only into uptrend on down trend the line will be always yellow
use trend lines and channels to determine trends for example
to increase sensibility lower the "10" to 8 or 7
```study(title="bitcoin warning", shorttitle="read the scrypt", overlay=true)
toperino=(iff(close[0]>close[1],1,-1))+ // past 3 bars needs to be all green
(iff(close[1]>close[2],1,-1))+
(iff(close[2]>close[3],1,-1))+
(iff(ema(close,5)[0]>ema(close,5)[1],1,-1))+// 5 bar ema need to have 3 days up slope to reduce some noise
(iff(ema(close,5)[1]>ema(close,5)[2],1,-1))+
(iff(ema(close,5)[2]>ema(close,5)[3],1,-1))+
(iff(ema(close,10)[0]>ema(close,10)[1],1,-1))+//the rest of ema's just need to have up slope
(iff(ema(close,15)[0]>ema(close,15)[1],1,-1))+
(iff(ema(close,20)[0]>ema(close,20)[1],1,-1))+
(iff(ema(close,25)[0]>ema(close,25)[1],1,-1))+
(iff(ema(close,30)[0]>ema(close,30)[1],1,-1))

istop=toperino > 10 ? red:yellow
sma1=sma(low,1)*0.95
plot(sma1, color=istop, style=circles,linewidth=3, join=true)

// if the line is red mean the majority of the conditions are turning bull and a possible drop can happen so in a way this is a contrarian indicator
//this works only into uptrend on down trend the line will be always yellow
//use trend lines and channels to determine trends for example
// to increase sensibility lower the "10" to 8 or 7```
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter