{指标介绍:红柱黄柱同时出现,波段机会来临,可介入观察,做趋势的可等20均线向上拐再出手。}
JJ:=(2*C+H+L+O)/5;
STICKLINE(JJ EMA(JJ,10),4,5.5,1,0),COLORRED;
LC:=REF(C,1);
XX:=REF(LLV(LC,2),1);
ET2:=HHV(HHV(LC,2),20);
YY:=IF(MA(C,3) MA(C,21),MA(C,21),MA(C,3));
STICKLINE(YY REF(YY,1) AND YY=MA(C,21),5.5,4.8,1,0),COLORYELLOW;
VAR1:=(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100;
VAR3:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;
VAR6:=VAR3-VAR1;
趋势线:=EMA((C-LLV(L,11))/(HHV(H,25)-LLV(L,11))*4,8)*10;
DRAWICON(HHV(趋势线,5) 34 AND (C=HHV(C,10) OR H=HHV(H,10)),3.5,2);
DRAWICON(LLV(趋势线,5) 3 AND (C=LLV(C,10) OR L=LLV(L,10)),3.5,9);
STICKLINE(LLV(MA(VAR6,5),5) -45 AND (C=LLV(C,10) OR L=LLV(L,10)),3.8,5,1,0),COLORBLUE;