var9:=C=var7 AND (var3 =var4 OR var3 =var5) OR var3=var7 AND CLOSE =var4 OR var4=var7 AND var5=var8 AND C =var3 OR var5=var7 AND C =var3 AND C =var4;
STICKLINE(var9,var3,C,5,0),colorred;
vara:=C=var7 AND var3=var8;
STICKLINE(vara,var4,C,5,0),colorff00ff;
varb:=C=var8 AND (var3 var4 OR var3 var5) OR var3=var8 AND C var4 OR var4=var8 AND var3 var7 AND C var3 OR var5=var8 AND C var3 AND C var4;
STICKLINE(varb,var3,C,5,0),colorc0c0c0;
varc:=var3=var8 AND C =var4 OR var4=var8 AND var3 =var5 AND var4 var6 AND C =var3;
STICKLINE(varc,var3,var4,5,0),color00FF00;
vard:=var3=var7 AND C var4 OR (var4=var7 AND var3 var5 OR var5=var7 AND var3 var4) AND var4 =var6 AND C var3;
STICKLINE(vard,var3,var4*1.01,8,1),colorFF0000;
趋势:FORCAST(C,13),Color579829;
SQ1:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;
SQ2:=SMA(MAX(C-REF(C,1),0),7,1)/SMA(ABS(C-REF(C,1)),7,1)*100;
CM1:=IF(SQ1 12,30,0);
CM2:=IF(SQ2 12,30,0);
STICKLINE(CM1,L-0.2,L-0.4,4,1),Color0089FF;
STICKLINE(CM2,L-0.4,L-0.6,4,0),Color00FF00;//{超卖二:绿}
仅提供源码,公式编辑请参考:同花顺公式编写及使用基础