var1:=ref((low+open+close+high)/4,1); var1赋值:昨日(最低价+开盘价+收盘价+最高价)/4var2:=sma(abs(low-var1),13,1)/sma(max(low-var1,0),10,1); var2赋值:最低价-var1的绝对值的13日[1日权重]移动平均/最低价-var1和0的较大值的10日[1日权重]移动平均var3:=ema(var2,10);var3赋值:var2的10日指数移动平均var4:=llv(low,33);var4赋值:33日内最低价的最低值var5:=ema(if(low<=var4,var3,0),3);var5赋值:如果最低价<=var4,返回var3,否则返回0的3日指数移动平均主力进场:if(var5>ref(var5,1),var5,0),colorred;输出主力进场:如果var5>昨日var5,返回var5,否则返回0,画红色stickline(var5>ref(var5,1),0,var5,3,0 ),colorred;当满足条件var5>昨日var5时,在0和var5位置之间画柱状线,宽度为3,0不为0则画空心柱.,画红色洗盘:if(var5<ref(var5,1),var5,0),colorgreen;输出洗盘:如果var5<昨日var5,返回var5,否则返回0,画绿色stickline(var5<ref(var5,1),0,var5,3,0),colorgreen;当满足条件var5<昨日var5时,在0和var5位置之间画柱状线,宽度为3,0不为0则画空心柱.,画绿色 20210311