通达信K线+BS买卖点主图指标公式

R:=4;
ZF:=(C-REF(C,1))/REF(C,1);
TJ:=ZF>=R/100 OR ZF<=-R/100;
STICKLINE(TJ AND CLOSE>OPEN,C,O,1.1,0 ),COLORYELLOW;
STICKLINE(TJ AND OPEN>=CLOSE,C,O,1.1,0 ),COLORYELLOW;
下限:IF(BArslAST(TJ),IF(REF(H,BARSLAST(TJ)+1)<REF(L,BARSLAST(TJ)),
REF(H,BARSLAST(TJ)+1),REF(LOW,BARSLAST(TJ))),DRAWNULL),COLORWHITE;
上限:IF(BARSLAST(TJ),IF(REF(L,BARSLAST(TJ)+1)>REF(H,BARSLAST(TJ)),
REF(L,BARSLAST(TJ)+1),REF(HIGH,BARSLAST(TJ))),DRAWNULL),COLORYELLOW;
AA:=IF(REF(H,BARSLAST(TJ))<REF(C,BARSLAST(TJ)+1),
REF(C,BARSLAST(TJ)+1),REF(H,BARSLAST(TJ)));
CC:=IF(REF(LOW,BARSLAST(TJ))>REF(C,BARSLAST(TJ)+1),
REF(C,BARSLAST(TJ)+1),REF(LOW,BARSLAST(TJ)));
重心:IF(BARSLAST(TJ),(AA+CC)/2,DRAWNULL),COLORBLUE;
虎:MA(CLOSE,7),COLORRED,LINETHICK2;
凤:MA(CLOSE,89),COLORGREEN;
龙:MA(CLOSE,344),COLORGRAY;
VAR1:=SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
B:=zig(3,50/5)*100,COLORWHITE;
G:=MA(B,2),COLORYELLOW;
D:=crOSS(B,G)*1000,COLORRED;
W:=CROSS(G,B)*1000,COLORBLUE;
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
VAR10:=F AND F<8;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
MM:=A AND D AND VAR10 AND VAR14 ;
DRAWTEXT(W=1000,H*1.01,'S' ),COLOR00FF00;
DRAWTEXT(D=1000,L*0.99,'B'),COLORRED;




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

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

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

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