通达信马年牵大牛之优化GPS系统公式 股票之友S理论
STICKLINE(CURRBARSCOUNT 150,HHV(C,14),LLV(C,14),4,1),COLORGRAY;
STICKLINE(CURRBARSCOUNT 150 AND C =REF(C,1),C,LLV(C,14),3,0),COLORRED;
STICKLINE(CURRBARSCOUNT 150 AND C REF(C,1),C,LLV(C,14),3,0),COLORCYAN;
量比:=V/REF(MA(V,20),1);
STICKLINE(CURRBARSCOUNT 150 AND C REF(C,1),L,L+量比/10,2,0),COLORYELLOW;
STICKLINE(CURRBARSCOUNT 150 AND C REF(C,1),L,L+量比/10,2,0),COLORBLUE;
DRAWTEXT(CURRBARSCOUNT 150 AND O/LLV(C,20) 1.05 AND 量比 2.2 AND C REF(C,1),REF(C,1)*1.02,'2_3个点买'),COLORGREEN;
A1:=(C-LLV(C,14))/(HHV(C,14)-LLV(C,14))*100;
DRAWNUMBER(CURRBARSCOUNT 120 AND C REF(C,1),HHV(C,14)*1.05,INTPART(A1)),COLORGREEN;
DRAWNUMBER(CURRBARSCOUNT 120 AND C REF(C,1),LLV(C,14)*0.98,INTPART(A1)),COLORRED;
分界线:(HHV(C,14)+LLV(C,14))/2;
DRAWICON(L 分界线 AND INTPART(A1) 90 AND C REF(C,1),HHV(C,14)*1.1,1);
DRAWICON(L 分界线 AND INTPART(A1)=0 AND C REF(C,1),LLV(C,14)*0.95,1);