Timeframe(Monthly)
MediaMovilM = average[200,0](close)
CuerpoM = abs(close - open)
SombraSuperiorM = (high - max(open,close)) >= (CuerpoM * 2)
SombraInferiorM = (min(open,close) - low) >= (CuerpoM * 2)
DojiM = SombraSuperiorM AND SombraInferiorM
CondM = (low <= MediaMovilM) AND (high >= MediaMovilM) AND DojiM
//
Timeframe(Weekly)
MediaMovilS = average[200,0](close)
CuerpoS = abs(close - open)
SombraSuperiorS = (high - max(open,close)) >= (CuerpoS * 2)
SombraInferiorS = (min(open,close) - low) >= (CuerpoS * 2)
DojiS = SombraSuperiorS AND SombraInferiorS
CondS = (low <= MediaMovilS) AND (high >= MediaMovilS) AND DojiS
//
Timeframe(Daily)
MediaMovilD = average[200,0](close)
CuerpoD = abs(close - open)
SombraSuperiorD = (high - max(open,close)) >= (CuerpoD * 2)
SombraInferiorD = (min(open,close) - low) >= (CuerpoD * 2)
DojiD = SombraSuperiorD AND SombraInferiorD
CondD = (low <= MediaMovilD) AND (high >= MediaMovilD) AND DojiD
//
Timeframe(default)
Cond = CondM AND CondS AND CondD
SCREENER[Cond]