以下是通达信公式黄龙量价主图及选股

M:MA(C,10);
N:=30;
T1:=BARSLAST(H=HHV(H,N));
T2:=BARSLAST(L=LLV(L,N));
T3:=BARSLAST(VOL=HHV(VOL,N));
T4:=BARSLAST(VOL=LLV(VOL,N));
HH:=HHV(IF(T1=0,H,-999),3);
LL:=LLV(IF(T2=0,L,999),3);
VH:=HHV(IF(T3=0,VOL,-999),3);
VL:=LLV(IF(T4=0,VOL,9999999999),3);
H1:=FINDHIGH(HH,0,N,1);
H2:=FINDHIGH(HH,0,N,2);
H3:=FINDHIGH(HH,0,N,3);
L1:=FINDLOW(LL,0,N,1);
L2:=FINDLOW(LL,0,N,2);
L3:=FINDLOW(LL,0,N,3);
VH1:=FINDHIGH(VH,0,N,1);
VH2:=FINDHIGH(VH,0,N,2);
VH3:=FINDHIGH(VH,0,N,3);
VL1:=FINDLOW(VL,0,N,1);
VL2:=FINDLOW(VL,0,N,2);
VL3:=FINDLOW(VL,0,N,3);
PH:=(H1+H2+H3)/3;
PL:=(L1+L2+L3)/3;
PVH:=(VH1+VH2+VH3)/3;
PVL:=(VL1+VL2+VL3)/3;
TJ:=PH/PL;
TJ1:=PVH/PVL>1.5;
TJ2:=C>(PH+PL)/2 AND C>MA(C,10);
XG:=CROSS(RANGE(TJ,1.2,1.3) AND TJ1,0.5);
STICKLINE(XG,C,O,2,0),COLORYELLOW;
STICKLINE(XG,H,L,0,0),COLORYELLOW;
DRAWICON(XG,L*0.95,1);

{
选股公式:

N:=30;
T1:=BARSLAST(H=HHV(H,N));
T2:=BARSLAST(L=LLV(L,N));
T3:=BARSLAST(VOL=HHV(VOL,N));
T4:=BARSLAST(VOL=LLV(VOL,N));
HH:=HHV(IF(T1=0,H,-999),3);
LL:=LLV(IF(T2=0,L,999),3);
VH:=HHV(IF(T3=0,VOL,-999),3);
VL:=LLV(IF(T4=0,VOL,9999999999),3);
H1:=FINDHIGH(HH,0,N,1);
H2:=FINDHIGH(HH,0,N,2);
H3:=FINDHIGH(HH,0,N,3);
L1:=FINDLOW(LL,0,N,1);
L2:=FINDLOW(LL,0,N,2);
L3:=FINDLOW(LL,0,N,3);
VH1:=FINDHIGH(VH,0,N,1);
VH2:=FINDHIGH(VH,0,N,2);
VH3:=FINDHIGH(VH,0,N,3);
VL1:=FINDLOW(VL,0,N,1);
VL2:=FINDLOW(VL,0,N,2);
VL3:=FINDLOW(VL,0,N,3);
PH:=(H1+H2+H3)/3;
PL:=(L1+L2+L3)/3;
PVH:=(VH1+VH2+VH3)/3;
PVL:=(VL1+VL2+VL3)/3;
TJ:=PH/PL;
TJ1:=PVH/PVL>1.5;
TJ2:=C>(PH+PL)/2 AND C>MA(C,10);
XG:CROSS(RANGE(TJ,1.2,1.3) AND TJ1,0.5) ;
}
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。