N:=5; 800,COLORLIBLUE,LINETHICK2; DRAWTEXT(ISLASTBAR=1,800,' '),COLORLIBLUE; 500,COLOR66FFFF,LINETHICK2; DRAWTEXT(ISLASTBAR=1,500,' '),COLOR66FFFF; A:="880812$AMOUNT"*0.00000001; A1:=IF(A<25,1,0); A2:=IF(A>154 AND A<180,1,0); A3:=IF(A>200 AND 大盤情緒1<2000 ,1,0); A4:=IF(A/MA(A,20)>1.5,1,0); A5:=IF(A>200 AND 大盤情緒1>1800 ,1,0); DRAWTEXT(A2,2000,'弱分歧'),COLORRED; DRAWTEXT(A5,3000,'高潮期'); DRAWTEXT(A3,1000,'強(qiáng)分歧'),COLORGREEN; D:="880770$H"*0.1; DD:="880770$L"*0.1; DD1:="880770$C"*0.1; DD2:="880770$O"*0.1; DD3:"880770$V"/REF("880770$V",1); DD4:DD2/REF(DD1,1); D1:=HHV(D,N); D2:D1/DD; D5:D1/DD*100; D6:DD2/REF(DD1,1); D3:=crOSS(DD1,MA(DD1,5)) AND CROSS(DD1,MA(DD1,10)); DRAWTEXT(D2>1.088,DRAWTEXT(D3 AND 大盤情緒1>1500,2000,'強(qiáng)DRAWTEXT(D6<0.98 AND DD1<DD2,2000,'衰退'),COLORGREEN; D4:CROSS(A,MA(A,20)); A/MA(A,20); AAAA:="880772$H"; AA:="880772$C"; AA1:="880772$O"; AA11:="880772$L"; AAA11:="880772$V"; AD1:=MA(AA,20); AD2:(AD1-AAAA)<2 AND MA(AA,5)<AD1 AND 大盤情緒<1500; AA3:=AA11/REF(AA,1)<0.97 AND AA<AA1; AAA3:CROSS(MA(AAA11,5),MA(AAA11,20)); F:BArslAST(AAA3); F1:F>0 AND AAA11/MA(AAA11,20)>1.7; F2:CROSS(MA(AA,3),MA(AA,7)); F3:MA(AA,3)<MA(AA,7) AND AAA11<MA(AAA11,20); DRAWTEXT(AA3,1500,'切換'),COLORGREEN; DRAWTEXT(AAA3,1500,'主勝STICKLINE(AAA3,0,100,3,0),COLORRED; STICKLINE(F1,0,300,3,0),COLORRED; STICKLINE(F3,0,-150,3,0),COLORGREEN; STICKLINE(F2,0,300,3,0),COLORYELLOW;
|