通达信股魔雷达副图指标源码

LC:=REF(CLOSE,1);
 RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
 AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
卖点雷达:=CROSS(85,RSI1)*30,COLOR00FF00,LINETHICK2;
 DRAWTEXT(CROSS(85,RSI1),20,'顶'),COLOR00FF00;
 STICKLINE(卖点雷达,0,20,3,0),COLOR00FF00;
 VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
 VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
 VARD:=BARSCOUNT(CLOSE);
买点雷达:(VARB< 20 AND VARC< 25 AND VARD> 50 AND AR<70)*30,LINETHICK2,COLOR0078FF;
 BT1:=CROSS(RSI1,25);
 DRAWTEXT(BT1,-80,'底'),COLOR0000FF;
 STICKLINE(BT1,-100,-80,3,0),COLOR0000FF;
主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,LINETHICK1,COLOR0000FF;
散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,LINETHICK2,COLORC87800;
 BT2:=CROSS(主力,散户) AND 主力<-10;
 DRAWICON(CROSS(RSI1,25),主力,26);
 DRAWICON(CROSS(主力,散户) AND 主力<-10,主力,23);
 BT:=FILTER(COUNT(BT1 OR BT2,3)>=2,3);
 STICKLINE(BT,0,50,4,1),COLOR0000FF;
 DRAWTEXT(BT,50,'金底'),COLOR0000FF;
 STICKLINE(BT2,0,20,3,0),COLORFF00FF;
 DRAWTEXT(BT2,20,'升'),COLORFF00FF;
 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*10/VAR1;
 VAR7:=VAR5*10/VAR1;
 VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*10,15);
 VAR9:=(VAR8+REF(VAR8,15))/2;
 A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
 B:ZIG(3,5)*10,COLORRED;
 G:MA(B,2);
 D:CROSS(B,G)*100,COLORRED,LINETHICK2;
 W:CROSS(G,B)*100,COLORWHITE,LINETHICK2;
 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))*10;
 VAR12:=SMA(VAR11,3,1);
 VAR13:=SMA(VAR12,3,1);
 VAR14:=VAR13 AND VAR13<20;
 A AND D AND VAR10 AND VAR14 ;
 DRAWTEXT(W=100,100,'卖' ),COLORWHITE;
 DRAWTEXT(D=100, 100,'买'),COLORRED;



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

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

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