AAA:=(MA (CLOSE,13)+MA (CLOSE,17))/2;
CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;
BBB:=AAA+2.1*CCC;
DDD:=AAA+0.72*CCC;
ZZZ:=IF(CCC 1.88 ,MA (DDD,3),DDD);
平仓:ZZZ*1.145,COLORCYAN,LINETHICK3;
风险:ZZZ*1.095,COLORGREEN,LINETHICK2;
回档:ZZZ*1.04,COLORYELLOW,LINETHICK1;
平衡:ZZZ*0.986,COLORWHITE,LINETHICK2;
反弹:ZZZ*0.918,COLORMAGENTA,LINETHICK1;
超跌:ZZZ*0.880,COLORRED,LINETHICK2;
满仓:ZZZ*0.83,COLORBLUE,LINETHICK3;
YYG:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
QQM:=(EMA(C,3)+EMA(C,6)+EMA(C,12)+EMA(C,24))/4;
强弱分区:EMA(EMA((YYG-QQM),30),3)COLOR00FF33,STICK;
STICKLINE(强弱分区 0,强弱分区,0,2,1)COLORRED;
STICKLINE(强弱分区 0,强弱分区,0,2,1)COLOR0080FF;
买盘量:IF((YYG-QQM) =0,(YYG-QQM),0)COLORRED,LINETHICK1,COLORSTICK;
卖盘量:IF((YYG-QQM) 0,(YYG-QQM),0)COLORYELLOW,LINETHICK1,COLORSTICK;
STICKLINE(买盘量 REF(买盘量,1)AND买盘量 0,0,买盘量,0.1,0)COLORYELLOW;
STICKLINE(买盘量 REF(买盘量,1)AND买盘量 0,0,买盘量,0.1,0)COLORCC00CC;
STICKLINE(卖盘量 REF(卖盘量,1)AND卖盘量 0,0,卖盘量,0.1,0)COLORWHITE;
STICKLINE(卖盘量 REF(卖盘量,1)AND卖盘量 0,0,卖盘量,0.1,0)COLORCYAN;