通达信超强自动数低点主图指标公式

HIGHN:=15;
AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);
QY:=BacKSET(AA,HIGHN+1);
CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);
DDD:=BArslAST(CC);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBU:=IF(DDD,REF(H,DDD),H),NODRAW;{顶部}
高点:DRAWLINE(DINGBU!=REF(DINGBU,1),DINGBU,DINGBU=REF(DINGBU,1),DINGBU,1);
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
GDCS1:=CONST(DINGBUTS),NODRAW;
DINGBUX:=DRAWLINE(DINGBU!=REF(DINGBU,1),DINGBU,DINGBU=REF(DINGBU,1),DINGBU,1);
L0:IF(DDD,REF(L,DDD),L),NODRAW;
L1T:=FILTER(L<L0 AND CURRBARSCOUNT-GDCS1<0,GDCS1),NODRAW;
L11:=IF(REF(L1T,1)!=L1T AND L1T,L,0);
L1:REF(L,BARSLAST(L=L11)),NODRAW;
L2T:=FILTER(L<L1,GDCS1),NODRAW;
L21:=IF(L2T,L,0),NODRAW;
L2:REF(L,BARSLAST(L21)),NODRAW;
L3T:=FILTER(L<L2,GDCS1),NODRAW;
L31:=IF(L3T,L,0),NODRAW;
L3:REF(L,BARSLAST(L31)),NODRAW;
L4T:=FILTER(L<L3,GDCS1),NODRAW;
L41:=IF(L4T,L,0),NODRAW;
L4:REF(L,BARSLAST(L41)),NODRAW;
L5T:=FILTER(L<L4,GDCS1),NODRAW;
L51:=IF(L5T,L,0),NODRAW;
L5:REF(L,BARSLAST(L51)),NODRAW;
L6T:=FILTER(L<L5,GDCS1),NODRAW;
L61:=IF(L6T,L,0),NODRAW;
L6:REF(L,BARSLAST(L61)),NODRAW;
L7T:=FILTER(L<L6,GDCS1),NODRAW;
L71:=IF(L7T,L,0),NODRAW;
L7:REF(L,BARSLAST(L71)),NODRAW;
L8T:=FILTER(L<L7,GDCS1),NODRAW;
L81:=IF(L8T,L,0),NODRAW;
L8:REF(L,BARSLAST(L81)),NODRAW;
DRAWTEXT(REF(L1T,1)!=L1T AND L1T,L-0.1,'1');
DRAWTEXT(L2T,L-0.1,'2');
DRAWTEXT(L3T,L-0.1,'3');
DRAWTEXT(L4T,L-0.1,'4');
DRAWTEXT(L5T,L-0.1,'5');
DRAWTEXT(L6T,L-0.1,'6');
DRAWTEXT(L7T,L-0.1,'7');
DRAWTEXT(L8T,L-0.1,'8');
UPQK:=LOW-REF(HIGH,1);
STICKLINE(CLOSE>REF(CLOSE,1) AND UPQK>0,REF(HIGH,1),LOW,20,1),COLORFF00FF;
{DRAWTEXT(CLOSE>REF(CLOSE,1) AND UPQK>0,UPQK/2+REF(HIGH,1),' 向上跳空'),COLORFF00FF;}
DOWNQK:=REF(LOW,1)-HIGH;
STICKLINE(CLOSE<REF(CLOSE,1) AND DOWNQK>0,REF(LOW,1),HIGH,20,1),COLORBLUE;
{DRAWTEXT(CLOSE<REF(CLOSE,1) AND DOWNQK>0,DOWNQK/2+HIGH,' 向下跳空'),COLORBLUE;};
LF:(HHV(H,0)-LLV(L,0))/HHV(H,0)*100,NODRAW;
DF:(HHV(H,0)-C)/HHV(H,0)*100,NODRAW;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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