AA:=((C-LLV(L,40))/(HHV(H,40)-LLV(L,40)))*100;
地量买入:24,COLORLIBLUE;
红线下等买:9,COLORRED,LINETHICK2;
绿线上不买:91,COLORGREEN,LINETHICK2;
操作线:(MA(3*SMA(AA,6,1)-2*SMA(SMA(AA,5,1),5,1),2)),COLORYELLOW,LINETHICK2;
方向线:IF(BARSCOUNT(操作线) 15,SUM(操作线,BARSCOUNT(操作线))/BARSCOUNT(操作线),MA(操作线,15)),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR,0.1,0.2,0,'上拐价格创新低立马买入;下拐价格却创新高必须卖出'),COLORLIBLUE;