一线定乾坤 来自股事天下 00:00 06:03
LT:=LLVBARS(L,N);
HT:=FINDHIGHBARS(H,LT+1,60,1);
EXT1:DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORYELLOW,LINETHICK1;
N1:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);
N2:=BARSLAST(CROSS(C,REF(H,N1)));
X1:=C/REF(H,N1);
N3:=BARSLAST(X1=HHV(X1,N2+1));
X2:=(C-REF(C,N3+1))/REF(C,N3+1)*100;
X3:=L/REF(H,N1);
T:=X2<-8 AND X3<1.075 and="""" 1.005="""">=REF(H,N1);
N4:=BARSLAST(COUNT(T,N2+1)=1 AND T);
QF:=BACKSET(N4=0,N3+1);
N5:=BARSLAST(CROSS(QF=1,0.5));
DRAWICON(CROSS(N4=0,0.5),L*0.95,1);
DRAWLINE(N2=0,REF(H,N1),N5=0,REF(H,N5),0),COLORYELLOW;
DRAWLINE(N5=0,REF(H,N5),N4=0,REF(H,N1),0),COLORYELLOW;
DRAWTEXT(N1=0,REF(H,N1)*1.05,VARCAT(VARCAT("支撑价:",VAR2STR(REF(H,N1),2)),"元"))COLORYELLOW;
条件选股公式源码
LT:=LLVBARS(L,60);
LTT:=BARSLAST(CURRBARSCOUNT=CONST(LT)+1);
HT:=FINDHIGHBARS(H,LT+1,60,1);
N1:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);
X:=REF(H,N1);
CROSS(X*1.01,L);