通达信【声呐寻庄】副图指标 庄信号可以做为主升启动信号 源码分享 附图

VAR1:=EMA(CLOSE,10);
VAR2:=(VAR1/LLV(VAR1,10)-1)*100;
VAR3:=(-1)*VAR2;
VAR4:=100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
VAR5:=REF(CLOSE,1);
VAR6:=SMA(MAX(CLOSE-VAR5,0),9,1)/SMA(ABS(CLOSE-VAR5),9,1)*100;
VAR7:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR8:=SMA(VAR7,3,1);
VAR9:=SMA(VAR8,3,1);
VAR10:=3*VAR8-2*VAR9;
VAR11:=VAR6 >=76 OR VAR10 > 95;
VAR12:=VAR4 < 25;
VAR13:=VAR11 OR VAR12;
VAR14:=EMA(CLOSE,20);
VAR15:=EMA(CLOSE,30);
VAR16:=EMA(CLOSE,35);
VAR17:=EMA(CLOSE,40);
VAR18:=EMA(CLOSE,45);
VAR19:=EMA(CLOSE,90);
VAR20:=EMA(CLOSE,98);
VAR21:=EMA(CLOSE,106);
VAR22:=EMA(CLOSE,114);
VAR23:=EMA(CLOSE,140);
VAR24:=EMA(CLOSE,148);
VAR25:=EMA(CLOSE,156);
VAR26:=EMA(CLOSE,164);
VAR27:=MAX(MAX(MAX(VAR15,VAR16),VAR17),VAR18);
VAR28:=MIN(MIN(MIN(VAR15,VAR16),VAR17),VAR18);
VAR29:=MAX(MAX(MAX(VAR19,VAR20),VAR21),VAR22);
VAR30:=MIN(MIN(MIN(VAR19,VAR20),VAR21),VAR22);
VAR31:=MAX(MAX(MAX(VAR23,VAR24),VAR25),VAR26);
VAR32:=MIN(MIN(MIN(VAR23,VAR24),VAR25),VAR26);
VAR33:=MAX(MAX(VAR27,VAR29),VAR31);
VAR34:=MIN(MIN(VAR28,VAR30),VAR32);
VAR35:=VAR33/VAR34;
VAR36:=LOW/VAR27;
VAR37:=VAR35 < 1.3 AND REF(VAR36,1) < 1.05 AND CLOSE > VAR14 AND CLOSE > VAR33 AND VAR36 < 1.08;
VAR38:=AMOUNT/10000;
VAR39:=LLV(VAR38,2) > 2000 AND VAR38 > 8000;
VAR40:=CLOSE/REF(CLOSE,1);
VAR41:=EMA(CLOSE,5);
VAR42:=EMA(CLOSE,10);
VAR43:=EMA(CLOSE,20);
VAR44:=MAX(MAX(VAR41,VAR42),VAR43);
VAR45:=MIN(MIN(VAR41,VAR42),VAR43);
VAR46:=LOW < VAR45 AND CLOSE > VAR44 AND VOL > REF(VOL,1)*1.2 AND VAR39 AND VAR40 > 1.029 AND VAR37;
VAR47:=(HIGH+LOW+CLOSE)/3;
VAR48:=(VAR47-MA(VAR47,81))*1000/(15*AVEDEV(VAR47,81));
VAR49:=CROSS(VAR48,100) AND VOL > REF(VOL,1)*1.2 AND VAR39 AND VAR40 > 1.029 AND VAR37;
VAR50:=MA(CLOSE,30);
VAR51:=MA(CLOSE,60);
VAR52:=MA(CLOSE,90);
VAR53:=MA(CLOSE,240);
VAR54:=ABS(VAR50/VAR51-1);
VAR55:=ABS(VAR51/VAR52-1);
VAR56:=ABS(VAR50/VAR52-1);
VAR57:=CLOSE/REF(CLOSE,1);
VAR58:=VAR57-1;
VAR59:=(VAR50+VAR51+VAR52)/3;
VAR60:=IF(CLOSE > VAR59*1.04 AND CLOSE < VAR59*1.15,1,0);
VAR61:=VAR53/REF(VAR53,20);
VAR62:=ABS(VAR61-1);
VAR63:=IF(VAR62 < 0.04,1,0);
VAR64:=IF(VAR54 < 0.04 AND VAR55 < 0.04 AND VAR56 < 0.04 AND VAR58 > 0.04 AND VAR60=1 AND VAR63=1 AND VAR59 > VAR53,1,0);
VAR65:=VAR64 AND VOL > REF(VOL,1)*1.2 AND VAR39 AND VAR37;
VAR66:=VAR35 < 1.15 AND REF(VAR36,1) < 1.04 AND CLOSE > VAR14 AND CLOSE > VAR33 AND VAR36 < 1.08 AND VAR40 > 1.04 AND VOL > REF(VOL,1)*1.2 AND VAR39 AND VAR37;
VAR67:=LOW < VAR34 AND CLOSE > VAR33 AND VAR40 > 1.05 AND VOL > REF(VOL,1)*1.2;
VAR68:=VAR46 OR VAR49 OR VAR65 OR VAR66 OR VAR67;
VAR69:=(VAR1/LLV(VAR1,10)-1)*200;
VAR70:=(VAR1/LLV(VAR1,10)-1)*400;
VAR71:=IF(VAR68,VAR2,0);
买好股:IF(VAR68,VAR70,VAR69),NODRAW;
庄信号:IF(VAR68,1,0),NODRAW;
STICKLINE(1,VAR2*2,VAR3*2,2,0),COLORGRAY;
STICKLINE(VAR2*2 > REF(VAR2*2,1),VAR2*2,VAR3*2,2,0),COLOR4080FF;
STICKLINE(VAR2*2 > 20 AND VAR2*2 > REF(VAR2*2,1),VAR2*2,VAR3*2,2,0),COLORFF0080;
STICKLINE(VAR13,VAR2,VAR3,2,0),COLORRED;
STICKLINE(NOT(VAR13) AND VAR2 > 0,VAR2,VAR3,2,1),COLORGREEN;
STICKLINE(VAR68,VAR2,VAR2*4,1,0),COLORYELLOW;
STICKLINE(VAR68,VAR3,VAR3*4,1,0),COLORYELLOW;
NOTEXT1A:IF(VAR68,VAR71*6,VAR71*4),COLORMAGENTA,LINETHICK2;
NOTEXT2A:IF(VAR68,(-1)*VAR71*6,(-1)*VAR71*4),COLORMAGENTA,LINETHICK2;


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

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

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

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