通达信公式黄龙量价主图及

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) ;
}
 


未来函数检测结果如下:
该公式包含未来函数:DHIGH
该公式包含未来函数:DLOW
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图