通达信三箱体主图指标主图+选股指标开源


阻力价:HHV(HIGH,19),COLORRED, LINETHICK2;
VAR2:=EMA(VAR1,9);
VAR4:=EMA(C,3);
VAR8:=REF(HHV(CLOSE,480),1);
VARA:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;
VARC:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;
VARE:=VARC>98.5 OR VARD>98.5;
VAR13:=VARA=0 AND VARC=0 AND VAR6< 0;
VAR15:=VARB=0 OR VARD=0 AND VAR9< 0;
VAR17:=VAR6< 0 AND VAR9< 0;
VAR19:=VAR14 AND VAR16;
VAR1C:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;
VAR1E:=VAR1B< 20 AND VAR1C< 23 AND VAR1D>35;
VAR20:=REF(CLOSE,1);
VAR22:=SMA(MAX(CLOSE-VAR20,0),13,1)/SMA(ABS(CLOSE-VAR20),13,1)*100;
VAR24:=VAR21< 20 AND VAR22< 23 AND VAR23>35;
VAR27:=VAR18 AND VARF< 1.2 AND VAR17;
VAR2A:=SUM(MAX(0,HIGH-REF(CLOSE,1)),77)/SUM(MAX(0,REF(CLOSE,1)-LOW),77)*100;
VAR2C:=VAR24 AND VAR1F AND COUNT(VAR24,30)=1;
绝对卖点:=(VAR19 OR VARA)AND VARF>23 OR VARE ;
GHWYH:=(CLOSE/REF(CLOSE,1)>1.04 AND (CLOSE>10.8 AND CLOSE< 10.83 OR CLOSE>6.86 AND CLOSE< 6.88 OR CLOSE>13.82 AND CLOSE< 13.84 OR CLOSE>7.28 AND CLOSE< 7.3 OR CLOSE>12.4 AND CLOSE< 12.42 OR CLOSE>22.33 AND CLOSE< 22.35 OR CLOSE>4.68 AND CLOSE< 4.7 OR CLOSE>26.29 AND CLOSE< 26.31 OR CLOSE>7.65 AND CLOSE< 7.67 OR CLOSE>13.4 AND CLOSE< 13.42 OR CLOSE>7.58 AND CLOSE< 7.6 OR CLOSE>20.43 AND CLOSE< 20.45 OR CLOSE>19.57 AND CLOSE< 19.59 OR CLOSE>6.26 AND CLOSE< 6.28 OR CLOSE>7.14 AND CLOSE< 7.16 OR CLOSE>6.61 AND CLOSE< 6.63 OR CLOSE>11.9 AND VOL< 11.92 OR CLOSE>6.7 AND CLOSE< 6.72 OR CLOSE>8.19 AND CLOSE< 8.21));
DRAWTEXT(GHWYH>0,L,'☆追涨'),COLORYELLOW ;
DRAWTEXT(买点>0,L,'扫描神针'),COLORF00FF0;
STICKLINE(VAR2D>0,O,C,10,0), COLORRED;
DRAWICON(COUNT(REF(VAR4,1)< REF(VAR4,2),5)=5 AND VAR4>REF(VAR4,1),L*0.98,4);
DRAWICON(FILTER(REF(VAR4,1)>REF(VAR4,2)AND VAR4< REF(VAR4,1)AND VARF>17 AND VAR1>VAR2,5),H,2);
A1:=REF(C,1)< REF(O,1) AND C>O AND C>REF(O,1) AND O<=REF(C,1);
支撑:MA(REF(LLV(C,30),1),2),COLORLIGREEN,LINETHICK2;
X1B:HHV(C,X1A),COLORFF5500,LINETHICK3;
X1D:=IF(X1C=1,' 1',IF(X1C=2,' 2',IF(X1C=3,' 3',IF(X1C=4,' 4',IF(X1C=5,' 5', IF(X1C=6,' 6',IF(X1C=7,' 7',IF(X1C=8,' 8',IF(X1C=9,' 9',IF(X1C=10,' 10', IF(X1C=11,' 11',IF(X1C=12,' 12',IF(X1C=13,' 13',IF(X1C=14,' 14',IF(X1C=15,' 15', IF(X1C=16,' 16',IF(X1C=17,' 17',IF(X1C=18,' 18',IF(X1C=19,' 19',IF(X1C=20,' 20', IF(X1C=21,' 21',IF(X1C=22,' 22',IF(X1C=23,' 23',IF(X1C=24,' 24',IF(X1C=25,' 25', IF(X1C=26,' 26',IF(X1C=27,' 27',IF(X1C=28,' 28',IF(X1C=29,' 29',IF(X1C=30,' 30',' 0'))))))))))))))))))))))))))))));
X2A:=30;
X2C:=IF(ISLASTBAR,BARSLAST(C=CONST(X2B))+1,1/0);
X2E:DRAWTEXT(ISLASTBAR,X2B,X2D),COLORFF00FF;
 

 


源码

 

 




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

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

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

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