通达信简单实用的看盘辅助工具 优化五行量化指标 绝无未来 源码副图 贴图

合集下载

通达信指标公式源码绝品趋势线副图指标

通达信指标公式源码绝品趋势线副图指标

通达信指标公式源码绝品趋势线副图指标[object Object]参观学校的校史馆是全面了解学校的历史和文化底蕴的好途径,也能帮助了解中国高等教育百年达信是国内一款常用的股票软件,其指标公式源码是通达信软件使用的编程语言编写的。

下面是绝品趋势线副图指标的源码详解:绝品趋势线副图指标是一种技术指标,用于衡量股票价格的趋势强弱。

通达信软件中的绝品趋势线副图指标公式源码如下:```MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:MA(CLOSE,20);MA4:MA(CLOSE,30);MA5:MA(CLOSE,60);MA6:MA(CLOSE,120);VOL1:VOL;VOL2:REF(VOL,1);VOL3:REF(VOL,2);VOL4:REF(VOL,3);VOL5:REF(VOL,4);VOL6:REF(VOL,5);VOL7:REF(VOL,6);VOL8:REF(VOL,7);EMA1:EMA(CLOSE,5);EMA2:EMA(CLOSE,10);EMA3:EMA(CLOSE,20);EMA4:EMA(CLOSE,30);EMA5:EMA(CLOSE,60);EMA6:EMA(CLOSE,120);```以上是绝品趋势线副图指标的公式源码,其中包含了一些基本的计算公式,如MA(移动平均)、VOL(成交量)和EMA(指数移动平均)等。

在这个源码中,通过计算不同周期的移动平均和指数移动平均,可以得到不同时间段内的均线数值。

同时还计算了不同周期的成交量。

绝品趋势线副图指标是通过比较不同周期的均线数值来判断股票价格的趋势强弱。

一般来说,当短期均线(如5日均线)上穿长期均线(如30日均线)时,说明股票价格处于上涨趋势,可以考虑买入;当短期均线下穿长期均线时,说明股票价格处于下跌趋势,可以考虑卖出。

此外,绝品趋势线副图指标还通过计算成交量来判断股票价格的走势。

一般来说,当成交量放大时,说明市场对股票的交易情况较为活跃,可能会出现价格的大幅波动;当成交量缩小时,说明市场对股票的交易情况较为冷清,可能会出现价格的小幅波动。

看长线做短线准确率超高副图指标通达信源码贴图加密无未来

看长线做短线准确率超高副图指标通达信源码贴图加密无未来

2020高考历史高频考点题型分类汇编卷3Word版含解析高频考点题型分类汇编——卷31、中国茶叶输英总值在1781~1790年间是9 626万元,英国毛织品等货物输华总值在1781~1793年间是1 687万元,仅及中国输英货价的1/6。

因此,英国必须以大量白银来抵付贸易差额。

为了改变这种状况,英国( )A.开辟海外市场,刺激资本扩张B.操控三角贸易,发展制造工业C.协定中国关税,控制中国海关 D.推行鸦片贸易,改变贸易格局2、鸦片战争后,清政府任命两江总督耆英以钦差大臣名义兼管五口通商事宜;道光二十四年,耆英调任两广总督,仍兼办各省通商善后事宜,此即五口通商大臣一职的产生。

这一官职的设置表明()A.近代中国外交体制有所调整 B.近代专职外交事务大臣出现C.中央机构半殖民地化的开始 D.对外交涉引起政府高度重视3、1859年太平天国颁布洪仁玕所著的《资政新篇》,19世纪60到90年代,晚清洋务派发起了洋务运动。

这种殊途同归的历史现象反映了当时的中国( )A.已经开始了全面的近代化历程B.向西方学习以摆脱危机的发展趋势C.先进知识分子开始向西方学习D.两个政权都推动中国走资本主义道路4、石约翰对(清季外交史料)中的“主权”二字进行统计,发现从1875年至1894年间,“主权”二字仅在每百页出现“一次”,而从甲午之后的1895年起,“主权”二字的出现频率显著增加。

这反映出( )A.晚清政府坚持“天朝上国”思想B.甲午战后中华民族意识逐渐觉醒C.甲午中日战争是近代中国分水岭D.西方的“主权”思想已引入中国5、某战争后的条约规定,中国派亲王载沣赴德国,以谢公使克林德被杀之罪;派亲贵那桐赴日本,以谢书记官杉山彬被杀之罪。

并在克林德“遇害处所树立铭志之碑……”此战争后( )A.中国华夷观开始被打破B.列强势力开始深入中国内地C.外国公使开始进驻北京D.革命开始成为中国时代主流6、以下是1912—1913年中国女子学校及学生数量统计表(选自陈景磐《中围近代教育史》)。

通达信主图MA4(指标公式源码),绝无加密,绝无未来通达信指标公式源码

通达信主图MA4(指标公式源码),绝无加密,绝无未来通达信指标公式源码

通达信主图MA4(指标公式源码),绝无加密,绝无未来!特色是精炼而全面!指标公式说明:1、首先说的是,再好的指标公式也不可能解决一切问题,只是力求解决主要问题就OK了。

2、此公式包括了均线系统、进出系统、买卖点、时间窗、及主力资金的一些动向。

3、此公式包括了即时解盘系统,提供了操盘的初步建议。

4、绝无未来绝无加密,各个方面都还可以根据自身实际特点,进行进一步的优化和完善。

DRAWGBK(O>C,RGB(0,50,50),RGB(66,0,0),0,'01',0);DRAWKLINE(HIGH,OPEN,LOW,CLOSE);MA5:MA(C,5);MA6:=MA(C,6);MA10:MA(C,10);MA20:MA(C,20);A2:=REF(MA20,1);J1:=(MA20-A2)/A2*100;MJ1:=MA(J1,3); MA30:MA(C,30);MA60:MA(C,60);MA120:MA(C,120);乖离2:=(MA20-MA30)/MA30*100;VAR1:=IF(BETWEEN(乖离2,-2,5),2,0);MAX1:=MAX(MA20,MA30);MAX2:=MAX(MAX1,MA60);MIN11:=MIN(MA20,MA30);MIN2:=MIN(MIN11,MA60);K1:=(MAX2/MIN2-1)*100;{粘合度符合条件}VAR2:=IF(K1<=8,1,0);上火车轨:=MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1) AND MA20-MA30>REF((MA20-MA30),1) ;STICKLINE(上火车轨,MA20,MA30,0,0),COLORRED;神枪手:=DRAWTEXT(FILTER(上火车轨AND "MACD.DIF"<0.15 AND "MACD.DIF">REF("MACD.DIF",1) AND MA(V,60)>REF(MA(V,60),1) ANDMA(V,5)>MA(V,10) AND J1>REF(J1,1) AND( L<=MA20 AND C>MA20 OR (CROSS(MA5,MA20)) ),5),L*0.98,'←神枪手');神枪手选股:=FILTER(上火车轨AND "MACD.DIF"<0.15 AND"MACD.DIF">REF("MACD.DIF",1) AND MA(V,60)>REF(MA(V,60),1) ANDMA(V,5)>MA(V,10) AND J1>REF(J1,1) AND( L<=MA20 AND C>MA20 OR (CROSS(MA5,MA20)) ),5);{44.40%15240}短线暴张:DRAWTEXT(FILTER( (VAR1 OR VAR2) AND MA10>REF(MA10,1) AND COUNT(MA30>REF(MA30,1),3)=3 AND MA30>MA60 ANDCOUNT(CROSS(MA5,MA30),3) AND J1>MJ1 AND MA(V,5)>MA(V,60)AND MA(V,60)>REF(MA(V,60),1),5),MA60*0.99,'短线暴张'),COLORRED; DRAWTEXT(CROSS("KDJ.K"(5,2,3),"KDJ.D"(5,2,3)) AND "KDJ.D"(5,2,3)<30AND J1>MJ1 AND MA60>REF(MA60,1) AND COUNT(J1<1,3)>=1 ,L*0.995,'←买入'),COLORYELLOW;DRAWTEXT(CROSS("KDJ.D"(5,2,3),"KDJ.K"(5,2,3)) AND "KDJ.D"(5,2,3)>65 AND J1<MJ1 AND COUNT(J1>1,3)>=1,H*1.005,'←卖出'),COLORGREEN; DRAWTEXT(CROSS("KDJ.D"(18,9,6),"KDJ.K"(18,9,6)) AND"KDJ.D"(18,9,6)>60 AND "KDJ.J"(45,15,15)>90,H*1.03,'←顶'),COLORRED; DRAWTEXT(CROSS(MA5,MA6) AND "KDJ.K"(5,3,3)>=50 AND"KDJ.J"(5,3,3)<31 ,L*0.92,'←再买'),COLORMAGENTA;XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04)); XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);XL3:=CROSS(XL2,(0 - 20));DRAWTEXT(FILTER(((XL1 > 0) AND LOW),5),(LOW - 0.4),'●买点'); DRAWTEXT((XL3 > 0),(LOW - 0.2),'●绝对底部');X6:=REF(CLOSE,1);X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100); X8:=CROSS(79,X7);X9:=FILTER(X8,4);DRAWTEXT(X9,(HIGH * 1.02),'●出货'),COLOR9000F5;STICKLINE(C>1.098*REF(C,1),C,O,0,0),COLORYELLOW;AAA:=CONST(HHV(H,90));R1:=MA(CLOSE,1);R2:=MA(CLOSE,3);R3:=(MA(R2,1)*1);R4:=(MA(R2,3)*1);DRAWTEXT(CROSS(R3,R4),(LOW-0.1),'进'),COLORYELLOW;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'出'),COLORGREEN;VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-2 0;VAR12:=(HIGH+LOW+CLOSE)/3;VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 ANDVAR14<200,10,0);VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 ANDVAR14>-200,-10,VAR15);VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR18:=100-ABS(VAR17);VAR19:=IF(VAR18<90,VAR18,100);VAR1A:=IF(VARE>0,VARE,0);VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 ANDVAR13<=-150,-15,VAR16))+60;VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,HIGH*1.02,'大笔出货'),LINETHICK1,COLORFFCC66;AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0;DRAWTEXT(老鼠仓,(LOW* 0.99),'老鼠仓'),COLOR40CCFF;A74:=MA(CLOSE,20);A75:=(CLOSE > MA(CLOSE,5));A76:=(MA(CLOSE,5) > MA(CLOSE,10));A77:=(CLOSE > MA(CLOSE,10));A78:=(MA(CLOSE,5) > MA(CLOSE,20));A79:=(CLOSE > MA(CLOSE,20));A710:=REF(A74,1);A711:=(A74 > A710);AVX:=(((((IF(A75,10,(0 - 10)) + IF(A76,10,(0 - 10))) + IF(A77,10,(0 - 10))) + IF(A78,10,(0 - 10))) + IF(A79,10,(0 - 10))) + IF(A711,10,(0 - 10))); DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);V1:=MA(VOL,5);V2:=MA(VOL,10);T1:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T2:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T3:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 > V2)) AND (DSLX < DSLX1)),1,0));T4:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 <= V2)) AND (DSLX < DSLX1)),1,0));T5:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T6:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T7:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));T8:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));T9:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND(V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T10:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T11:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND(V1 >= V2)) AND (DSLX < DSLX1)),1,0));T12:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));T13:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T14:=CONST(IF( C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T15:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));T16:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));T17:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));T18:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));T19:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 < V2)),1,0));T20:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 >= V2)),1,0));T21:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 < V2)),1,0));T22:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND(V1 >= V2)),1,0));T23:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)),1,0));T24:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)),1,0));T25:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)),1,0));DRAWTEXT(T1=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'量能理想,明显走强,中线参与,仓位在2/3左右'),COLORFF00FF ; DRAWTEXT(T2=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'走势趋强,还显不足,短线进场,仓位在1/2左右'),COLORFF00FF ; DRAWTEXT(T3=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'量价良好,没有明显走强,短线进场,仓位1/2左右'),COLORFF00FF ; DRAWTEXT(T4=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'形态尚可,量能不足,未完全走强,短线参与,仓位1/3左右'),COLORFF00FF ; DRAWTEXT(T5=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'形态变坏,重仓者减持大半,清仓者观望'),COLORFF00FF ;DRAWTEXT(T6=1 AND CURRBARSCOUNT=70,AAA*0.98,'随大盘一起下跌,明显缩量走势,考虑到风险,减持或清仓'),COLORFF00FF ; DRAWTEXT(T7=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'该股放量下跌,走势明显偏弱,离场观望'),COLORFF00FF ;DRAWTEXT(T8=1 AND CURRBARSCOUNT=70,AAA-(AAA*0.03),'该股缩量下跌,走势偏弱,离场观望。

最牛通达信量化副图指标公式源码

最牛通达信量化副图指标公式源码

最牛通达信量化副图指标公式源码(总10页)--本页仅作为文档封面,使用时请直接删除即可----内页可以根据需求调整合适字体及大小--最牛通达信量化副图指标公式源码M1:=5;M2:=10;ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算} SHCM:=EMA((WINNER(CLOSE*-WINNER(CLOSE*)*80,3);{//小筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//小股民套牢筹码比率} ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率} ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量}ZZNTS:=BARSLAST(ZSHTL90);{//走牛天数}ZSHJJ:=EMA(ZSHTL,89);{//小股民警戒}ZZLJJ:=EMA(ZZLKP,89);{//主力警戒}ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//资金流入强度}SH8:=EMA(ZSHTL,8);DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0); {//------【数值显示】}散户套牢系数:INTPART(ZSHTL),NODRAW;主力控盘系数:INTPART(ZZLKP),COLOR4080FF,NODRAW;资金流入强度:ZJLRQD,NODRAW,COLOR00FFFF;{☆精确风险}{【参数定义】}RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;K1:=SMA(RSV,10,1);D1:=SMA(K1,5,1);KK:=INTPART(K1);DD0:=INTPART(D1);TFXXS:=KK+DD0;{//变异KD风险系数}TGLD:=MOD(TFXXS,10);{//踏浪涨停概率点}TGLXS:=(TFXXS-REF(TFXXS,1))*10;{//变异KD乖离系数} TYCFX:=TFXXS+TGLXS;{//变异KD预测风险}乖离系数:TGLXS,LINETHICK0,COLORGREEN,NODRAW; {【图解模板】}{级别拐点}{乖离系数}STICKLINE(TGLXS>0,100,100+TGLXS,3,0),COLOR000088; STICKLINE(TGLXS>0,100,100+TGLXS,,0),COLOR000099; STICKLINE(TGLXS>0,100,100+TGLXS,2,0),COLOR0000AA; STICKLINE(TGLXS>0,100,100+TGLXS,,0),COLOR0000BB; {STICKLINE(TGLXS>0,100,100+TGLXS,,0),COLOR0000CC;} STICKLINE(TGLXS>0,100,100+TGLXS,,0),COLOR0000DD; {STICKLINE(TGLXS>0,100,100+TGLXS,,0),COLOR0000EE;}STICKLINE(TGLXS>0,100,100+TGLXS,,0),COLOR0000FF;{//红柱}STICKLINE(TGLXS<0,100,100+TGLXS,3,0),COLOR008800; {STICKLINE(TGLXS<0,100,100+TGLXS,,0),COLOR009900;} STICKLINE(TGLXS<0,100,100+TGLXS,,0),COLOR00AA00; STICKLINE(TGLXS<0,100,100+TGLXS,2,0),COLOR00BB00; {STICKLINE(TGLXS<0,100,100+TGLXS,,0),COLOR00CC00;} STICKLINE(TGLXS=0,100,100+TGLXS,8,0),COLORRED; STICKLINE(TGLXS=0 AND REF(TGLXS,1)REF(ZCMZL,1) AND DKB=0);T3:=CONST( ZCMZL=REF(ZCMZL,1));T4:=CONST( ZCMZL50 AND TFXXS=REF(TFXXS,1) AND TFXXS>100);T10:=CONST(TFXXS>50 AND TFXXS100 );T11:=CONST(TFXXS>50 AND TFXXSREF(ZCMZL,1) );T15:=CONST(CROSS(ZCMZL,ZZLKP) AND ZZLKP>ZZLJJ AND ZZLKP10 AND ZZLJJ>REF(ZZLJJ,1) ANDZCMZL>REF(ZCMZL,1) );T16:=CONST( CROSS(ZCMZL,ZSHTL) AND ZSHTL>ZZLKP AND ZCMZL>REF(ZCMZL,1));T17:=CONST( CROSS(ZCMZL,100) ANDZCMZL>REF(ZCMZL,1));T18:=CONST(REF(ZSHTL,1)>90 AND ZSHTL<90 ); TS1:=IF(T1=1,0+,0);TS2:=IF(T2=1,TS1+,TS1);TS3:=IF(T3=1,TS2+,TS2);TS4:=IF(T4=1,TS3+,TS3);TS5:=IF(T5=1,TS4+,TS4);TS6:=IF(T6=1,0+,0);TS7:=IF(T7=1,TS6+,TS6);TS8:=IF(T8=1,TS7+,TS7);TS9:=IF(T9=1,TS8+,TS8);TS10:=IF(T10=1,TS9+,TS9);TS11:=IF(T11=1,TS10+,TS10);TS12:=IF(T12,0+,0);TS13:=IF(T13=1,TS12+,TS12);TS14:=IF(T14=1,TS13+,TS13);TS15:=IF(T15=1,TS14+,TS14);TS16:=IF(T16=1,TS15+,TS15);TS17:=IF(T17=1,TS16+,TS16);TS18:=IF(T8=1,TS17+,TS17);DRAWTEXT_FIX(T1,,TS1,0,'★监控:主力增仓'),COLOR8080FF;DRAWTEXT_FIX(T2,,TS2,0,'★监控:主力减仓'),COLORFFFF00;DRAWTEXT_FIX(T3,,TS3,0,'★监控:多空平衡'),COLORGRAY;DRAWTEXT_FIX(T4,,TS4,0,'★监控:主力回补'),COLORFF9933;DRAWTEXT_FIX(T5,,TS5,0,'★监控:主力出逃'),COLORFFFF00;DRAWTEXT_FIX(T6,,TS6,0,'★操作:买入风险'),COLORYELLOW;DRAWTEXT_FIX(T7,,TS7,0,'★操作:卖出风险'),COLORFFFF00;DRAWTEXT_FIX(T8,,TS8,0,'★操作:追涨博弈'),COLOR8080FF;DRAWTEXT_FIX(T9,,TS9,0,'★操作:稳健持股'),COLOR8080FF;DRAWTEXT_FIX(T10,,TS10,0,'★操作:盘跌减仓'),COLORFFFF00;DRAWTEXT_FIX(T11,,TS11,0,'★操作:杀跌空仓'),COLORFFFF00;DRAWTEXT_FIX(T12,,TS12,0,'☆特别提示:筑底散兵坑'),COLOR66FFCC;DRAWTEXT_FIX(T13,,TS13,0,'☆特别提示:铸顶风险区'),COLORFFFF00;DRAWTEXT_FIX(T14,,TS14,0,'☆特别提示:穿越主力'),COLOR8080FF;DRAWTEXT_FIX(T15,,TS15,0,'☆特别提示:穿越主力'),COLORYELLOW;DRAWTEXT_FIX(T16,,TS16,0,'☆特别提示:穿越散户'),COLORGREEN;DRAWTEXT_FIX(T17,,TS17,0,'☆特别提示:全盘穿越'),COLOR3399FF;DRAWTEXT_FIX(T18,,TS18,0,'☆特别提示:神秘黑洞'),COLOR9966FF;{AAA:=REFDATE(HHV(H,30),DATE);T1A:=CONST(IF(ZZNTS,1,0));TS1A:=IF(T1A=1,0+,0);}{DRAWTEXT(T1A=1 AND CURRBARSCOUNT=45 AND PERIOD=5,AAA-(AAA*TS1A),'【走牛天数判断】'),COLORRED,LINETHICK6;}{DRAWNUMBER(T1A=1 AND CURRBARSCOUNT=45-12 AND PERIOD=5,AAA-(AAA*TS1A),CONST(ZZNTS)),COLORRED,LINETHICK6;};三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);三日最高:=EMA((REF(H,4)+REF(H,3)+REF(H,2))/3,3),COLORWHIT E;高:=CROSS(CROSS(三日最高,C),,STICK,COLORWHITE; DRAWICON(高>0,高,2);F:=100*(C-REF(C,1))/REF(C,1);博尔:=IF(C0,P1=0,1);量:V,VOLSTICK;PJJ:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),;JJ:=REF(EMA(PJJ,3),1);QJJ:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN)))); XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),IF((CLOSE OPEN),(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE 10),10,ZLL);HSL:=((XVL / 20) / ;进攻流量:=(((HSL * + (REF(HSL,1) * ) + (REF(HSL,2) * );GJJ:=EMA(进攻流量,8); LLJX:=EMA(进攻流量,3);动态天量:=CONST(IF(V=HHV(V,20),V,REF(V,BARSLAST(V=HHV(V,2 0))))),COLOR00FF00,POINTDOT;STICKLINE(((HSL * >= 0),动态天量+((HSL *+LLJX)*20,动态天量,3,0),COLORYELLOW;STICKLINE(((HSL * 0,(HSL*+LLJX),DRAWNULL),COLORRED;资金流出:=IF((HSL*+LLJX)0,资金流入,资金流出),COLORWHITE,POINTDOT;收支比例%:IF((HSL*+LLJX)>0,资金流入/万元*100,资金流出/万元*100),COLORYELLOW;连红天1:=BARSLASTCOUNT(资金净收支>0),,COLORA20FFD,NODRAW;连红天2:=IF(连红天1=0,REF(连红天1,1),连红天1),,COLORA20FFD,NODRAW;连红天3:=IF(连红天2=0,REF(连红天1,2),连红天2),,COLORA20FFD,NODRAW;连红天4:=IF(连红天3=0,REF(连红天1,3),连红天3),,COLORA20FFD,NODRAW;近期连红天:IF(连红天4=0,REF(连红天1,4),连红天4),COLORYELLOW,NODRAW;三日资金:SUM(资金收支,3),COLORWHITE,NODRAW;五日资金:SUM(资金收支,5),COLORFF00FF,NODRAW;十日资金:SUM(资金收支,10),COLOR0000FF,NODRAW;资金流量:=LLJX,LINETHICK0,COLOR0000FF;STICKLINE((资金流量 > 0),动态天量+资金流量*20,动态天量,3,0),COLOR0000FF;STICKLINE((资金流量 < 0),动态天量+资金流量*20,动态天量,3,0),COLOR008000;万手:VOL/10000,LINETHICK0;BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30, IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))); MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<,TOTAL,MTIME);VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),N ODRAW;STICKLINE(CURRBARSCOUNT=1,VVOL,0,-1,-1),COLOR00C0C0; VOLUME:VOL,VOLSTICK;MAVOL1:MA(VOLUME,M1),COLOR80FFFF,LINETHICK1;MAVOL2:MA(VOLUME,M2),COLORFF00FF,LINETHICK1;{变色彩带}VAR1:=(2*CLOSE+HIGH+LOW)/4;操盘线:(EMA(VAR1,2)+EMA(VAR1,3)+EMA(VAR1,5)+EMA(VAR1,8)+EM A(VAR1,11)+EMA(VAR1,13))/,COLORFFFF00,LINETHICK1,CI RCLEDOT;IF(操盘线>REF(操盘线,1),操盘线,DRAWNULL),COLOR0000FF,LINETHICK1,CIRCLEDOT;11。

通达信指标公式源码五行量化副图指标

通达信指标公式源码五行量化副图指标
X_14:=CLOSE>MA(LOW,20)*1.1;
X_15:=EMA(100*(1-WINNER(1.1*CLOSE)),1)=0;
X_16:=VOL*(CLOSE-OPEN)/(CLOSE+OPEN);
X_17:=EMA(VOL*(CLOSE-OPEN)/(CLOSE+OPEN),38);
X_18:=EMA(X_17,8);
X_31:=X_14>0 AND X_30>0 AND X_21>0 AND X_13=60 AND X_1>10;
DRAWICON(X_14>0,1,41);
DRAWICON(X_30>0,0.7,30);
DRAWICON(X_4>0,0.7,28);
DRAWICON(X_21>0,0.5,40);
STICKLINE(CLOSE,0,1,4,1),COLORGRAY;
STICKLINE(CLOSE,0,0.8,4,1),COLORGRAY;
STICKLINE(CLOSE,0,0.6,4,1),COLORGRAY;
STICKLINE(CLOSE,0,0.4,4,1),COLORGRAY;
STICKLINE(CLOSE,0,0.2,4,1),COLORGRAY;
X_24:=EMA(X_22,3);
X_25:=EMA(X_23,10);
X_26:=EMA(AMOUNT,1)/EMA(VOL,1)/100;
X_27:=DMA(X_24,X_26);
X_28:=DMA(X_25,X_26);
X_29:=MAX(2*(X_27-X_28),0)*100;
X_30:=X_29>0 AND X_29>REF(X_29,1);

通达信新仿吸拉派落副图指标贴图未加密无未来

通达信新仿吸拉派落副图指标贴图未加密无未来

通达信新仿吸拉派落副图指标贴图未加密无未来
通达信新仿吸拉派落副图指标贴图未加密无未来
以前曾仿制过通达信的吸拉派落,但是与官版有稍微的差异,后来有股友告诉我官版的指标未来函数,今天把新制作的仿制指标分享给股友
将指标参数由13改为11,我个人认为用11天参数,更合适一些新增加两条判断线:-10线与-5线
用法:
跌破-5判断线时,可以考虑建轻仓
跌破-10判断线时,可大胆建仓
配合长短期的CCI使用,效果更佳
NOTEXT1:-10,COLORCYAN;
NOTEXT2:-5,COLORCYAN;
NOTEXT3:=0,COLORCYAN;
VARA:=EMA(EMA(C,N),N);
KP:=(VARA-REF(VARA,1))/REF(VARA,1)*1000;
MM:=REF(KP,1);
吸:IF(KP<0 AND KP>MM,KP,DRAWNULL),LINETHICK3,CIRCLEDOT,COLORMAGEN TA;
拉:IF(KP>0 AND KP>MM,KP,DRAWNULL),LINETHICK3,CIRCLEDOT,COLORRED;
派:IF(KP>0 AND KP<MM,KP,DRAWNULL),LINETHICK3,CIRCLEDOT,COLORGREEN;
落:IF(KP<0 AND KP<MM,KP,DRAWNULL),LINETHICK3,CIRCLEDOT,COLORWHITE;
DRAWICON(KP<-10,-4,23),COLORYELLOW;。

四合一通达信指标公式源码无未来

四合一通达信指标公式源码无未来

名称:四合一用途:副图、排序、选股、盘中预警说明:短线、波段均适用,黑马基本跑不出去。

但是要注意配合市场的基本面和热点,优以多头排列的个股最为稳妥。

VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;CHIGU:=VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC;CHIBI:=VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18;K线买入:=VAR19;ABC1:=(100-((90*(HHV(H,14)-C))/(HHV(H,14)-LLV(L,14))));ABC2:=(100-MA(((100*(HHV(H,6)-C))/(HHV(H,6)-LLV(L,6))),34));波段买入:=CROSS(ABC1,MA(ABC2,6));DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD买入:=CROSS(DIF,DEA);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;KDJ买入:=CROSS(K,D);AA:=K线买入AND 波段买入;BB:=K线买入AND MACD买入;CC:=K线买入AND KDJ买入;DD:=波段买入AND MACD买入;EE:=波段买入AND KDJ买入;FF:=MACD买入AND KDJ买入;四合一:AA OR BB OR CC OR DD OR EE OR FF OR (MACD买入AND REF(波段买入,1) ) ;。

【通达信】做T神器(源码副图通达信贴图)无未来,不漂移

【通达信】做T神器(源码副图通达信贴图)无未来,不漂移

【通达信】做T神器(源码副图通达信贴图)无未来,不漂移DRAWGBK(C>0, RGB(50,60,250),RGB(17,21,89),0,'11',0);H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:=L1+P1*7/8,COLORGREEN;支撑:=L1+P1*0.5/8,COLORRED;中线:=(支撑+阻力)/2,COLORWHITE,POINTDOT;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线:EMA(V11,3),LINETHICK2,COLORLIMAGENTA;V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;准备买入:STICKLINE(趋势线<11,趋势线,11,5,0),COLORYELLOW;AA:=(趋势线<11) AND FILTER((趋势线<=11),15) AND C<中线;BB0:=REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<中线;BB1:=REF(趋势线,1)<11 AND REF(趋势线,1)>6 AND CROSS(趋势线,11);BB2:=REF(趋势线,1)<6 AND REF(趋势线,1)>3 AND CROSS(趋势线,6);BB3:=REF(趋势线,1)<3 AND REF(趋势线,1)>1 AND CROSS(趋势线,3);BB4:=REF(趋势线,1)<1 AND REF(趋势线,1)>0 AND CROSS(趋势线,1);BB5:=REF(趋势线,1)<0 AND CROSS(趋势线,0);BB:=BB1=1 OR BB2=1 OR BB3=1 OR BB4=1 OR BB5=1;下单买入:STICKLINE(BB=1 AND C<中线,11,50,3,0),COLORRED;DRAWICON(BB=1 AND C<中线,55,1);DRAWTEXT(BB0,60,'★买'),COLORRED;DRAWTEXT(AA,16,'准备买入'),COLORYELLOW;准备卖出:STICKLINE(趋势线>89,趋势线,89,5,0),COLORWHITE;CC:=(趋势线>89) AND FILTER((趋势线>89),15) AND C>中线;DD0:=REF(趋势线,1)>89 AND CROSS(89,趋势线) AND C>中线;DD1:=REF(趋势线,1)>89 AND REF(趋势线,1)<94 AND CROSS(89,趋势线);DD2:=REF(趋势线,1)>94 AND REF(趋势线,1)<97 AND CROSS(94,趋势线);DD3:=REF(趋势线,1)>97 AND REF(趋势线,1)>99 AND CROSS(97,趋势线);DD4:=REF(趋势线,1)>99 AND REF(趋势线,1)<100 AND CROSS(99,趋势线);DD5:=REF(趋势线,1)>100 AND CROSS(100,趋势线);DD:=DD1=1 OR DD2=1 OR DD3=1 OR DD4=1 OR DD5=1;下单卖出:STICKLINE(DD=1 AND C>中线,89,50,3,0),COLORGREEN;DRAWICON(DD=1 AND C>中线,45,2);DRAWTEXT(DD0,40,'★卖'),COLORGREEN;DRAWTEXT (CC,84,'准备卖出'),COLORWHITE;顶:89,COLORGREEN;底:11,COLORRED;中:50,POINTDOT,COLORWHITE;DRAWTEXT(ISLASTBAR,顶,'顶'),COLORGREEN;DRAWTEXT(ISLASTBAR,底,'底'),COLORRED;DRAWTEXT(ISLASTBAR,中,'中'),COLORWHITE;。

通达信指标公式源码趋势系列 副图源码 无未来

通达信指标公式源码趋势系列 副图源码 无未来

VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);阶段卖出: 3.2,COLORC6C600;3.5,COLOR0088FF;清仓卖出: 3.5,COLORFF75FF;动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);STICKLINE(动力线>REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLORRED; STICKLINE(动力线<=REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLOR00FF00;底部:0.2,COLOR70DB93;关注:0.5,COLORYELLOW;DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1); DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,2); DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1); DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2);趋势趋势:5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SM A(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-S MA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1) ,3,1),2,1),LINETHICK0,COLOR7F52AF;趋势1: EMA(MA(趋势,5),3),LINETHICK0,COLORA6B8C1;STICKLINE(趋势>=趋势1,趋势,趋势1,5,0),COLOR7F52AF;STICKLINE(趋势<趋势1,趋势,趋势1,5,0),COLORA6B8C1;STICKLINE(趋势>108 AND 趋势>=趋势1,趋势,108,5,0),COLORFF0000; STICKLINE(趋势1>108 AND 趋势<趋势1,趋势1,108,5,0),COLORFFFFFF; STICKLINE(趋势<0 AND 趋势<趋势1,趋势,0,5,0),COLORF00FF0; STICKLINE(趋势1<0 AND 趋势>趋势1,趋势1,0,5,0),COLORF0F000;V1:= MA(CLOSE,5)=HHV(MA(CLOSE,5),20);V2:= MA(CLOSE,5)>MA(CLOSE,20);V3:= COUNT(MA(CLOSE,1)>REF(CLOSE,1),3)=3;风险: IF(V1 AND V2 AND V3,30,0),LINETHICK0,STICK,COLOR00FF00;V11:= MA(CLOSE,5)=HHV(MA(CLOSE,5),120);V21:= MA(CLOSE,5)>MA(CLOSE,120);V31:= COUNT(MA(CLOSE,1)>REF(CLOSE,1),3)=3;风险1: IF(V11 AND V21 AND V31,60,0),LINETHICK0,STICK,COLORF0F000; 底部: 5,LINETHICK0,COLOR00FFFF;抄底: IF(CROSS(趋势,底部),60,0),LINETHICK2,STICK,COLOR00FFFF; DRAWTEXT(抄底,50,'抄底'),COLOR0000FF;天线: 108,LINETHICK0,COLORFF9D00;逃顶: IF(CROSS(天线,趋势),1,0),LINETHICK0,STICK,COLORFF9D00; STICKLINE(CROSS(天线,趋势),90,108,3,0),COLORFF9D00;DRAWTEXT(CROSS(天线,趋势),85,'逃顶'),COLORFF9D00;VAR1:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;操盘线:SMA(VAR1,5,1),LINETHICK2,COLORRED;趋势线:SMA(操盘线,3,1),LINETHICK2,COLORYELLOW;买入航标:IF(CROSS(操盘线,趋势线) AND 趋势线<25,50,0) ,LINETHICK2,COLORRED;DRAWTEXT(买入航标>0,50,'买入'),COLORRED;卖出时间:IF(CROSS(趋势线,操盘线)AND 操盘线>70,80,100),COLORGREEN; DRAWTEXT(卖出时间<100,80,'卖出'),COLOR00FF00;强弱趋势RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1);趋势线:3*SMA(RSV2,5,1)-2*SMA(SMA(RSV2,5,1),3,1),LINETHICK2,COLORFF84FF; K:SMA(RSV2,3,1),LINETHICK2,COLORWHITE;D:SMA(K,3,1),LINETHICK2,COLORF408F4;{见顶信号:100,COLORCCFF00;}买点准备:IF(趋势线<=10,30,0),LINETHICK2,COLORYELLOW;卖点准备: IF(CROSS(J2,J1) AND J2>85,70,100),LINETHICK2,COLOR00FF00; 强弱界线:49,POINTDOT,LINETHICK3,COLOR99AACC;{以下设置副图显示方式}STICKLINE(趋势线>88,100,趋势线,4,1),COLORGREEN;STICKLINE(趋势线<=10,0,趋势线,4,1),COLORYELLOW;STICKLINE(COUNT(趋势线<REF(趋势线,1) AND 趋势线<10,2)=2,0,20,4,0),COLORRED;STICKLINE(CROSS(J2,J1) AND J2>85,100,80,4,0),COLORGREEN; DRAWICON(CROSS(趋势线,49),趋势线,1),COLORRED;DRAWICON(FILTER(CROSS(D,K) AND D>81,10),D*1.05,2);DRAWTEXT(CROSS(趋势线,49),47,'转强'),COLORRED;DRAWTEXT(CROSS(49,趋势线),52,'转弱'),COLORGREEN;。

MACD 通达信副图指标 无未来通达信指标公式源码

MACD 通达信副图指标 无未来通达信指标公式源码

SQX:=(C-MA(CLOSE,13))*100;DIF:EMA(MA(SQX,7),1),LINETHICK1;DEA:EMA(DIF,7),LINETHICK1;MACD: (DIF-DEA)*2,COLORSTICK;红柱持股:IF(MACD>REF(MACD,1),MACD,DRAWNULL),STICK,COLORRED,LINETHICK3;绿柱持币:IF(MACD<REF(MACD,1),MACD,DRAWNULL),STICK,COLORGREEN,LINETHICK3; 低位金叉:IF(CROSS(DIF,DEA) AND DIF<-0.1,0.3,0),COLORYELLOW,POINTDOT; STICKLINE(低位金叉,0,10,8,1),COLORYELLOW;DRAWICON(低位金叉,0.3,1);JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:IF(CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,0.2,0),COLORFF00FF,POINTDOT;STICKLINE(二次金叉,25,15,8,1),COLORFF00FF;A1:=BARSLAST(REF(CROSS(DIF,DEA),1));底背离:IF(REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA),0.1,0),COLORRED,POINTDOT;STICKLINE(底背离,40,30,8,1),COLORMAGENTA;DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORMAGENTA,LINETHICK3;A2:=BARSLAST(REF(CROSS(DEA,DIF),1));顶背离:REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF),COLORGREEN;DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORBLUE,LINETHICK3;A3:=CROSS(DIF,DEA) AND DEA<0;零下二次金叉:IF(FILTER(COUNT(A3,21)=2,10),0.05,0),COLORWHITE,POINTDOT; STICKLINE(零下二次金叉,45,55,8,1),COLORWHITE;金叉:DRAWICON(CROSS(DIF,DEA),DIF,1); 死叉:DRAWICON(CROSS(DEA,DIF),DIF,2);。

超赢主图源码 通达信 贴图 无未来通达信指标公式源码

超赢主图源码 通达信 贴图 无未来通达信指标公式源码

超赢主图源码通达信贴图无未来超赢主图是在指标库中从数万指标中今晚挑出来给大家,此指标只建议学习研究使用,不建议作为买卖依据。

JJ:=(CLOSE+HIGH+LOW)/3;A:=EMA(JJ,10);B:=REF(A,1);STICKLINE(A>B,A,B,5,0),COLORYELLOW;STICKLINE(A<B,A,B,5,0),COLORBLUE;M1:EMA(CLOSE,3);M2:EMA(CLOSE,8);M3:EMA(M2,13);M4:EMA(M2,55);VAR1:=EMA(M3,55);M5:EMA(M4,81), COLORRED,LINETHICK2;VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);DRAWICON(CROSS(VAR2,VAR3),HIGH*1.035,2);DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,'卖出'), COLORGREEN;VAR4:=REF(CLOSE,1);VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100; VAR6:=CROSS(79,VAR5);VAR7:=FILTER(VAR6,4);DRAWICON(VAR7,HIGH*1.035,2);DRAWTEXT(VAR7,HIGH*1.02,'卖出'), COLORGREEN;A7:=(2*C+H+L)/4;VAR10:=LLV(LOW,34);VAR11:=HHV(HIGH,34);SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 ANDVOL>=1.5*MA(VOL,5) ANDCOUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'买进') ,COLORRED;DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 ANDCOUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) ANDREF(CLOSE>=OPEN,4) ANDREF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) ANDOPEN>REF(CLOSE,1),1,0),LOW,'买进'), COLORRED;D:=MA(CLOSE,80)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 ANDCLOSE>REF(CLOSE,1)*1.08AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'抄底'),COLORRED;。

【通达信】超前MACD优化版(源码、副图、贴图、无未来)

【通达信】超前MACD优化版(源码、副图、贴图、无未来)

【通达信】超前MACD优化版(源码、副图、贴图、无未来)超前MACD优化版(源码、副图、贴图、无未来)来自:理想股票论坛()作者:天高云轻浏览:8224次自从4.21发出“吃水不忘挖井人,发财记得谢云轻”主图后,受朋友们喜欢,自己账户也看张,心情好。

这次再发自用的超前MACD 改进版,一来希望大家能再优化,另来希望得到朋友们的更好指标。

好股票软件下载网()提示:您正在下载的是:超前MACD优化版副图源码无未来DIFF:EMA(CLOSE,7) - EMA(CLOSE,19);DEA:EMA(DIFF,9);MACD:6*(DIFF-DEA),COLORSTICK;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6, 12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));D2:=REF(C,C2+1)<C AND REF("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6, 12,24)),1));D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));MACD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT;KDJ底背:IF(B2>0,-0.1,0),COLORCC0055,POINTDOT;RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT;MACD顶背:IF(D1>0,0.1,0),COLOR00FF00,POINTDOT;KDJ顶背:IF(D2>0,0.1,0),COLORFFCC66,POINTDOT;RSI顶背:IF(D3>0,0.1,0),COLORWHITE,POINTDOT;STICKLINE(B1>0,-0.2,0,2.5,1),COLORMAGENTA;STICKLINE(B2>0,-0.16,0,3.5,1),COLORCC0066;STICKLINE(B3>0,-0.18,0,5,1),COLORYELLOW;STICKLINE(D1>0,0.2,0,2.5,0),COLOR00FF00;STICKLINE(D2>0,0.18,0,3.5,0),COLORFFCC66;STICKLINE(D3>0,0.16,0,6,0),COLORWHITE;STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1,1),COLORRED;STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0,1),COLORCYAN;STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,1,1),COLORGREEN;STICKLINE(MACD>=REF(MACD,1) AND MACD<0,0,MACD,1,1),COLORMAGENTA;STICKLINE(C>0,0,0,50,1),COLORBLUE;DIFF,COLORGREEN;DEA,COLORYELLOW;强:IF(DIFF>MA(DIFF,2),DIFF,DRAWNULL),COLORRED;弱:IF(DEA>MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA;{大盘神针}UAR1:=INDEXA/100000000;UAR2:=INDEXADV;UAR3:=INDEXDEC;UAR4:=UAR2/(UAR2+UAR3);UAR5:=UAR3/(UAR2+UAR3);UAR6:=EMA(UAR4,3);UAR7:=EMA(UAR5,3);UAR8:=EMA(UAR6,5);UAR9:=EMA(UAR7,5);进场资金: EMA(UAR8,10)/150 ;资金: EMA(UAR9,10)/150;大盘神针:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,3)),7,1)*100<20AND SMA(MAX(CLOSE-REF(CLOSE,3),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,3)),13,1)*100<25AND MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,5)>-19AND (LOW>LLV(LOW,5) AND (CLOSE-HHV(CLOSE,8))/HHV(CLOSE,8)<-0.05 ANDMA(AMOUNT,125)/MA(VOL,125)/(MA(AMOUNT,5)/MA(VOL ,5))>1.12))*0.75;买入:=BARSLAST(大盘神针)<15 AND CROSS(MACD.DIF,MACD.DEA);底:=BARSLAST(LLV(L,4)=LLV(L,120))<5 ;均线买:=CROSS(MA(C,5),MA(C,20));买:=(底 AND 均线买 AND (进场资金>资金) OR 买入);STICKLINE(买,资金-1.35,资金-1.5,2,0),COLORYELLOW;DRAWTEXT(买,资金-1.28,'买'),COLORYELLOW;安全区:STICKLINE(底,资金-0.01,资金,0.04,1),COLORRED;{黄雀}短线趋势:=(EMA(C,7) - EMA(C,13));中线趋势:=EMA(短线趋势,13);VAR4:=MA(C,7);VAR5:=MA(C,13);VAR6:=MA(C,34);VAR7:=MA(C,55);VAR10:=((0 - ((10 * (HHV(C,5) - C)) / (HHV(C,5) - LLV(L,5)))) +10);VAR11:=((0 - ((10 * (HHV(C,13) - C)) / (HHV(C,13) - LLV(L,13)))) + 10);VAR12:=((0 - ((10 * (HHV(C,21) - C)) / (HHV(C,21) - LLV(L,21)))) + 10);VAR13:=((0 - ((10 * (HHV(C,34) - C)) / (HHV(C,34) - LLV(L,34)))) + 10);VAR14:=REF(中线趋势,1);VAR15:=中线趋势;VAR16:=(VAR15 - VAR14);VAR17:=REF(短线趋势,1);VAR18:=短线趋势;VAR19:=(VAR18 - VAR17);VARE:=(SUM(((C * VOL) * 10),34) / SUM((VOL * 200),34));VARF:=(INTPART((VARE * 10)) / 10);吃货:(((((((O<= VAR4) AND (O<= VAR5)) AND (O<= VAR6)) AND (C>= VAR4)) AND (C>= VARF)) AND (VAR16 > 0)) AND (VAR19 > 0)),LINETHICK0;DRAWBAND (0>吃货,RGB(0,0,0),0<吃货,RGB(200,0,10)),NODRAW;STICKLINE (吃货,-1.75,-1.60,5,1),COLORCC0099;{抄}STICKLINE((DMI.PDI(14,6)<5 AND DMI.ADX(14,6)>70),1.5,-1.5,0,-1),COLORRED;DRAWTEXT (抄,-1.58,'抄'),COLORRED;{一阳二阴}VAR1:=3;VAR2:=((3 * SMA((((CLOSE - LLV(LOW,89)) / (HHV(HIGH,89) - LLV(LOW,89))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,89)) / (HHV(HIGH,89) - LLV(LOW,89))) * 100),5,1),3,1)));大赚小赔:1.5*IF(CROSS(VAR2,VAR1),-0.89,-1),COLORRED,LINETHICK1;{黄金坑}RR8:=MA(CLOSE,27);RR9:=(CLOSE-RR8)/RR8*100;RRA:=MA(RR9,2);RRB:=BARSLAST(CROSS(-10,RRA)=1);RRD:=RRA<-10 AND RRB>3;黄金坑:0.01*IF(RRD,-300,1),COLORYELLOW,LINETHICK2;{神秘买点}SM01:=MA((2*C+H+L)/4,5);SM02:=SM01*(200-102)/100;SM03:=(1-7/100)*DMA(C,ABS((2*C+H+L)/4-MA(C,20))/MA(C,20));SM04:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;SM05:=3*SMA(SM04,3,1)-2*SMA(SMA(SM04,3,1),3,1);SM06:=((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14));SM07:=SM02<SM03&&SM05>REF(SM05,1)&&REF(SM05,1 )<REF(SM05,2)&&SM06<-100&&SM06>REF(SM06,1);神秘买点:IF(SM07*0.35,-1.3,-1.5),COLORCC0099,LINETHICK1;{止盈}转折周期:=7;转折灵敏:=50;TTR:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),转折周期,1);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=SMA(IF(HD>0 AND HD>LD,HD,0),转折周期,1);DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),转折周期,1);正DI:=DMP*100/TTR,COLORRED;负DI:=DMM*100/TTR,COLORGREEN;转折点:SMA(ABS(负DI-正DI)/(负DI+正DI)*100,转折周期,1),NODRAW;转折点A:=FILTER(转折点<REF(转折点,1)-1.3 AND EVERY(REF(转折点,1)>=REF(转折点,2)-1.3,5) AND REF(转折点,1)>转折灵敏,5);STICKLINE(转折点 A AND REF(正DI>负DI,1),1.5,-1.5,0,-1),COLORGREEN;DRAWTEXT (转折点 A AND REF(正DI>负DI,1),1.45,'止'),COLORGREEN;顶:1.5*IF(LAST(MA(C,5)>MA(C,10),5,0) AND "I"<REF("I",1) AND CROSS(100,"I"),0.9,1),COLORWHITE;N:=38;N1:=5;N2:=13;WAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;X: SMA(WAR1,7,1),LINETHICK1,NODRAW;WAR2:=SMA(X,5,1);Y: IF(CROSS(X,WAR2) AND CROSS(MA(C,N1),MA(C,N2) AND X>50) ,WAR2*2,WAR2),COLORYELLOW,NODRAW;WAR4:= EMA(CLOSE,8);WAR5:= EMA(CLOSE,20);黑码上山:IF(CROSS(MA(CLOSE,1),MA(CLOSE,N)) AND X-Y>2 AND WAR4>WAR5 ,WAR2*2,WAR2),COLOR00FF00,NODRAW;入:=(CROSS(MA(CLOSE,1),MA(CLOSE,N)) AND X-Y>2 AND WAR4>WAR5 );排序:IF(入>0,2,0), STICK,COLORCC0099;DRAWICON(排序>0,2,1);STICKLINE(X>WAR2,X,Y,0,0), , COLORF00FF0,NODRAW; STICKLINE(X<WAR2,X,WAR2,0,0), ,COLOR00FF00,NODRAW ; { 原文链接:/gupiaogongshi/19909.html } [local]1[/local]理想股票论坛。

通达信简单实用的看盘辅助工具 优化五行量化指标 绝无未来 源码副图 贴图

通达信简单实用的看盘辅助工具 优化五行量化指标 绝无未来 源码副图 贴图

这是一组简单直观、方便实用的辅助决策指标。

本指标综合了五行量化化指标、经传海洋状态指标、操盘动力线指标,经个人加工整理而成。

一、指标介绍:1、五行量化指标(浅灰色实心空心方格):实心代表趋势走好,空心代表趋势走坏;2、操盘动力线指标(黄金线):短线灵敏指标,低位拐头向上可跟进,高位拐头向下要警惕,附有高低位买卖提示;3、海洋状态指标(彩带):彩带颜色代表短中期多空趋势,低位转红可跟进,高位变色宜减仓、清仓;二、使用方法和个人心得:1、依据大盘趋势,结合市场热点,综合分析个股短、中期趋势,短线激进者可依据五行量化指标和操盘动力线走势快进快出,中线稳健者还须结合海洋状态指标分仓操盘;2、喜欢做波段的朋友可采取“2+3+2”仓位策略,五行指标四行以上走好+操盘动力线低位向上拐头--买入2成仓位,如果之后海洋状态指标低位飘红,可追加3成仓位,另外2成仓位根据短线指标适时T+0;全部指标线走坏后,坚决清仓;3、指标为辅助决策工具,不负责盈亏;股票的盈亏是个人心态、技术水平和执行力等多种因素决定的;心态第一,纪律第一,执行第一!!DMADIF:=MA(C,10)-MA(C,50);DMAAMA:=MA(DMADIF,10);DMAX:=DMADIF>DMAAMA;P01:=DMAX;DMITR:=EXPMEMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),14); DMIHD:=H-REF(H,1);DMILD:=REF(L,1)-L;DMIDMP:=EXPMEMA(IFF(DMIHD>0 AND DMIHD>DMILD,DMIHD,0),14); DMIDMM:=EXPMEMA(IFF(DMILD>0 AND DMILD>DMIHD,DMILD,0),14); DMIPDI:=DMIDMP*100/DMITR;DMIMDI:=DMIDMM*100/DMITR;DMIX:=DMIPDI>DMIMDI;P02:=DMIX;DPODPO:=C-REF(MA(C,20),20/2+1);DPOMADPO:=MA(DPODPO,6);DPOX:=DPODPO>DPOMADPO;P03:=DPOX;EMVVOLUME:=MA(V,14)/V;EMVMID:=100*(H+L-REF(H+L,1))/(H+L);EMVEMV:=MA(EMVMID*EMVVOLUME*(H-L)/MA(H-L,14),14); EMVMAEMV:=MA(EMVEMV,9);EMVX:=EMVEMV>EMVMAEMV;P04:=EMVX;MACDDIF:=EMA(C,12)-EMA(C,26);MACDDEA:=EMA(MACDDIF,9);MACDX:=MACDDIF>MACDDEA;P05:=MACDX;TRIXTR:=EMA(EMA(EMA(C,12),12),12);TRIXTRIX:=(TRIXTR-REF(TRIXTR,1))/REF(TRIXTR,1)*100; TRIXMATRIX:=MA(TRIXTRIX,9);TRIXX:=TRIXTRIX>TRIXMATRIX;P06:=TRIXX;WVADWVAD:=SUM((C-O)/(H-L)*V,24)/10000;WVADMAWVAD:=MA(WVADWVAD,6);WVADX:=WVADWVAD>WVADMAWVAD;P07:=WVADX;JSJS:=100*(C-REF(C,5))/(5*REF(C,5));JSMAJS1:=MA(JSJS,5);JSX:=JSJS>JSMAJS1;P08:=JSX;CYEMAL:=MA(C,5);CYEMAS:=MA(MA(C,20),5);CYECYEL:=(CYEMAL-REF(CYEMAL,1))/REF(CYEMAL,1)*100; CYECYES:=(CYEMAS-REF(CYEMAS,1))/REF(CYEMAS,1)*100;CYEX:=CYECYEL>CYECYES;P09:=CYEX;JLHBVAR1:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*80;JLHBB:=SMA(JLHBVAR1,7,1);JLHBVAR2:=SMA(JLHBB,5,1);JLHBX:=JLHBB>JLHBVAR2;P10:=JLHBX;CYCJJJ:=IFF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3)); CYCDDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);CYCJJJT:=IFF(CYCDDD,1,(CYCJJJ<(DYNAINFO(5)+0.01) &&CYCJJJ>(DYNAINFO(6)-0.01)));CYCCYC1:=IFF(CYCJJJT,0.01*EMA(AMOUNT,5)/EMA(VOL,5),EMA((HIGH+LOW+CLOSE)/ 3,5));CYCCYC2:=IFF(CYCJJJT,0.01*EMA(AMOUNT,13)/EMA(VOL,13),EMA((HIGH+LOW+CLOS E)/3,13));CYCX:=CYCCYC1>CYCCYC2;P11:=CYCX;BBIBBI:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;BBIX:=C>BBIBBI;P12:=BBIX;DDITR:=MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)));DDIDMZ:=IFF((H+L)<=(REF(H,1)+REF(L,1)),0,MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)))); DDIDMF:=IFF((H+L)>=(REF(H,1)+REF(L,1)),0,MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)))); DDIDIZ:=SUM(DDIDMZ,13)/(SUM(DDIDMZ,13)+SUM(DDIDMF,13));DDIDIF:=SUM(DDIDMF,13)/(SUM(DDIDMF,13)+SUM(DDIDMZ,13));DDIDDI:=DDIDIZ-DDIDIF;DDIADDI:=SMA(DDIDDI,30,10);DDIAD:=MA(DDIADDI,5);DDIX:=DDIADDI>DDIAD;P13:=DDIX;FSLSWL:=(EMA(C,5)*7+EMA(C,10)*3)/10;FSLSWS:=DMA(EMA(C,12),MAX(1,100*(SUM(V,5)/(3*CAPITAL))));FSLX:=FSLSWL>FSLSWS;P14:=FSLX;MAMA1:=MA(C,5);MAMA2:=MA(C,10);MAXX:=MAMA1>MAMA2;P15:=MAXX;EXPEMA1:=EMA(C,12);EXPEMA2:=EMA(C,17);EXPMAX:=EXPEMA1>EXPEMA2 AND EXPEMA1>REF(EXPEMA1,1) ANDEXPEMA2>REF(EXPEMA2,1);P16:=EXPMAX;PBX1:=(EMA(C,4)+MA(C,4*2)+MA(C,4*4))/3;PBX2:=(EMA(C,6)+MA(C,6*2)+MA(C,6*4))/3;PBXX:=PBX1>PBX2 AND PBX1>REF(PBX1,1) AND PBX2>REF(PBX2,1);P17:=PBXX;SARX:=C>SAR(4,2,20);P18:=SARX;QLTB:=IFF(H>REF(C,1),H-REF(C,1)+C-L,C-L);QLTS:=IFF(REF(C,1)>LOW,REF(C,1)-L+H-C,H-C);QLVOL_:=(QLTB-QLTS)*V/(QLTB+QLTS)/100;QLVOL_0:=DMA(QLVOL_,0.1);QLVOL_1:=DMA(QLVOL_,0.05);QLRES1:=QLVOL_0-QLVOL_1;QLLON:=SUM(QLRES1,0);QLLONG:=QLLON;QLMA1:=MA(QLLON,10);LONQLX:=QLLONG>REF(QLLONG,1) AND QLMA1>REF(QLMA1,1) ANDQLLONG>QLMA1,NODRAW,COLORFFFFFF;P19:=LONQLX;QLSTB:=IFF(H>REF(C,1),H-REF(C,1)+C-L,C-L);QLSTS:=IFF(REF(C,1)>L,REF(C,1)-L+H-C,H-C);QLSVOL_:=(QLSTB-QLSTS)*V/(QLSTB+QLSTS)/100;QLSVOL_0:=DMA(QLSVOL_,0.1);QLSVOL_1:=DMA(QLSVOL_,0.05);QLSSHORT:=QLSVOL_0-QLSVOL_1;QLSMA1:=MA(QLSSHORT,10);SHORTQLX:=QLSSHORT>QLSMA1;P20:=SHORTQLX;AMVAMV0:=V*(O+C)/2;AMVAMV1:=SUM(AMVAMV0,5)/SUM(V,5);AMVAMV2:=SUM(AMVAMV0,13)/SUM(V,13);AMVX:=AMVAMV1>AMVAMV2;P21:=AMVX;MTMMTM:=C-REF(C,12);MTMMAMTM:=MA(MTMMTM,6);MTMX:=MTMMTM>MTMMAMTM;P22:=MTMX;ZJTJVAR1:=EMA(EMA(C,9),9);ZJTJ控盘:=(ZJTJVAR1-REF(ZJTJVAR1,1))/REF(ZJTJVAR1,1)*1000;YZKPX:=ZJTJ控盘>REF(ZJTJ控盘,1) AND ZJTJ控盘>0;P23:=YZKPX;趋势:(P01+P02+P03+P04+P05+P06+P07+P08+P09+P10+P11+P12+P13+P14+P15+P16 +P17+P18+P19+P20+P21+P22+P23)*(100/23),NODRAW,COLORCYAN; STICKLINE(趋势>=REF(趋势,1),81,100,4,0),COLORGRAY;STICKLINE(趋势<REF(趋势,1),81,100,4,1),COLORGRAY;TRENDA:=WINNER(C)*100;CMQS1:=WMA(TRENDA,8);CMQS2:=WMA(TRENDA,13);CMQS3:=WMA(TRENDA,21);CMQS4:=WMA(TRENDA,34);CMQS5:=WMA(TRENDA,55);CM01:=CMQS1>REF(CMQS1,1);CM02:=CMQS2>REF(CMQS2,1);CM03:=CMQS3>REF(CMQS3,1);CM04:=CMQS4>REF(CMQS4,1);CM05:=CMQS5>REF(CMQS5,1);CM06:=TRENDA>CMQS1;CM07:=TRENDA>CMQS2;CM08:=TRENDA>CMQS3;CM09:=TRENDA>CMQS4;CM10:=TRENDA>CMQS5;CM11:=CMQS1>CMQS2;CM12:=CMQS1>CMQS3;CM13:=CMQS1>CMQS4;CM14:=CMQS1>CMQS5;CM15:=CMQS2>CMQS3;CM16:=CMQS2>CMQS4;CM17:=CMQS2>CMQS5;CM18:=CMQS3>CMQS4;CM19:=CMQS3>CMQS5;CM20:=CMQS4>CMQS5;筹码:EMA(((CM01+CM02+CM03+CM04+CM05+CM06+CM07+CM08+CM09+CM10+ CM11+CM12+CM13+CM14+CM15+CM16+CM17+CM18+CM19+CM20)*(100/20)),2),NO DRAW,COLORGREEN;STICKLINE(筹码>=REF(筹码,1),61,80,4,0),COLORGRAY;STICKLINE(筹码<REF(筹码,1),61,80,4,1),COLORGRAY;JE:=VOL;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);主力流入:=(QJ0*(JJ-MIN(CLOSE,OPEN)));主力流出:=(QJ0*(MIN(OPEN,CLOSE)-LOW));主力净买:=(主力流入-主力流出)/10000;PP01:=SUM(主力净买,1)>0;PP02:=SUM(主力净买,2)>0;PP03:=SUM(主力净买,3)>0;PP04:=SUM(主力净买,4)>0;PP05:=SUM(主力净买,5)>0;SUM11:=SUM(主力净买,11);SUM12:=SUM(主力净买,12);SUM13:=SUM(主力净买,13);SUM14:=SUM(主力净买,14);SUM15:=SUM(主力净买,15);SUM16:=SUM(主力净买,16);SUM17:=SUM(主力净买,17);SUM18:=SUM(主力净买,18);SUM19:=SUM(主力净买,19);SUM20:=SUM(主力净买,20);PP11:=SUM11>0 AND SUM11>REF(SUM11,1);PP12:=SUM12>0 AND SUM12>REF(SUM12,1);PP13:=SUM13>0 AND SUM13>REF(SUM13,1);PP14:=SUM14>0 AND SUM14>REF(SUM14,1);PP15:=SUM15>0 AND SUM15>REF(SUM15,1);PP16:=SUM16>0 AND SUM16>REF(SUM16,1);PP17:=SUM17>0 AND SUM17>REF(SUM17,1);PP18:=SUM18>0 AND SUM18>REF(SUM18,1);PP19:=SUM19>0 AND SUM19>REF(SUM19,1);PP20:=SUM20>0 AND SUM20>REF(SUM20,1);MAZJ05:=MA(主力净买,5);MAZJ10:=MA(主力净买,10);MAZJ15:=MA(主力净买,15);MAZJ20:=MA(主力净买,20);MA01:=MAZJ05>MAZJ10;MA02:=MAZJ05>MAZJ15;MA03:=MAZJ05>MAZJ20;MA04:=MAZJ10>MAZJ15;MA05:=MAZJ10>MAZJ20;MA06:=MAZJ15>MAZJ20;基线1:=EMA(EMA(EMA(EMA(IFF(主力净买>=0,主力净买,0),20),2),2),2);基线6:=基线1*6;ZJDL10:=IFF(主力净买>基线6,10,IFF(主力净买<=基线6 AND 主力净买>0,10*主力净买/基线6,0));短线资金:=SUM(主力净买,3);短线资金10:=EMA(短线资金,10);短线资金60:=EMA(短线资金,60);短线资金20:=EMA(短线资金,20);短线资金30:=EMA(短线资金,30);CZD01:=短线资金>短线资金10;CZD02:=短线资金20>短线资金30;CZD03:=短线资金10>短线资金60;总权1:=53;资金:EMA(EMA(100*(PP01*2+PP02*2+PP03*5+PP04*2+PP05*2+PP11*1+PP12*1+PP13* 1+PP14*1+PP15*1+PP16*1+PP17*1+PP18*1+PP19*1+PP20*1+MA01*2+MA02*2+MA03*1+MA04*1+MA05*1+MA06*1+ZJDL10+CZD01*5+CZD02*4+ CZD03*3)/总权1,2),2),NODRAW,COLORRED;STICKLINE(资金>=REF(资金,1),41,60,4,0),COLORGRAY;STICKLINE(资金<REF(资金,1),41,60,4,1),COLORGRAY;LTSHPG:=100-100*(HHV(H,40)-C)/(HHV(H,40)-LLV(L,40));ZB01:=LTSHPG>=50;DIFPG:=EMA(C,12)-EMA(C,26);DEAPG:=EMA(DIFPG,9);ZB02:=DIFPG>DEAPG;APG:=MA((-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),19);BPG:=(-100)*(HHV(H,14)-C)/(HHV(H,14)-LLV(L,14));DPG:=EMA((-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),4);QSDDLONG:=APG+100;QSDDSHORT:=BPG+100;QSDDMID:=DPG+100;ZB03:=QSDDSHORT>QSDDMID;ZB04:=QSDDSHORT>QSDDLONG;ZB05:=QSDDMID>QSDDLONG;RSVPG:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;KPG:=SMA(RSVPG,3,1);DPG2:=SMA(KPG,3,1);ZB06:=KPG>DPG2;LCPG:=REF(CLOSE,1);RPG1:=SMA(MAX(C-LCPG,0),6,1)/SMA(ABS(C-LCPG),6,1)*100;RPG2:=SMA(MAX(C-LCPG,0),12,1)/SMA(ABS(C-LCPG),12,1)*100;RPG3:=SMA(MAX(C-LCPG,0),24,1)/SMA(ABS(C-LCPG),24,1)*100;ZB07:=RPG1>RPG2;ZB08:=RPG1>RPG3;ZB09:=RPG2>RPG3;ZB10:=MA(C,5)>MA(C,10);ZB11:=MA(C,5)>MA(C,20);ZB12:=MA(C,10)>MA(C,20);MAVPG:=(C*2+H+L)/4;SKPG:=EMA(MAVPG,13)-EMA(MAVPG,34);SDPG:=EMA(SKPG,5);ZB13:=(2*(SKPG-SDPG))>((-2)*(SKPG-SDPG));MIDPGX:=(3*C+O+L+H)/6;DKXPG1:=WMA(MIDPGX,5);DKXPG2:=WMA(MIDPGX,10);DKXPG3:=WMA(MIDPGX,20);ZB14:=DKXPG1>REF(DKXPG1,1);ZB15:=DKXPG2>REF(DKXPG2,1);ZB16:=DKXPG3>REF(DKXPG3,1);G08PG:=EMA(C,34);ZB17:=G08PG>REF(G08PG,1);B08PG:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*80;BPG1:=SMA(B08PG,7,1);BPG2:=SMA(BPG1,3,1);ZB18:=BPG1>BPG2;BBIPG:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;ZB19:=C>BBIPG;MIDSLB:=(3*C+L+O+H)/6;E1:=EMA(10000*(WMA(MIDSLB,30)-REF(WMA(MIDSLB,30),1))/REF(WMA(MIDSLB,30),1 ),10);E2:=EMA(E1,2);E3:=EMA(E2,2);E4:=EMA(E3,2);E5:=EMA(E4,2);E6:=EMA(E5,2);E7:=EMA(E6,2);ZB20:=E2>E3 AND E3>E4 AND E4>E5 AND E5>E6 AND E6>E7;ZB21:=E2>REF(E2,1) AND E3>REF(E3,1) AND E4>REF(E4,1) AND E5>REF(E5,1) AND E6>REF(E6,1) AND E7>REF(E7,1);TRPG1:=MAX(MAX((H-L),ABS(H-REF(C,1))),ABS(REF(C,1)-L));ATRPG1:=EMA(TRPG1,14);HDPG:=H-REF(H,1);LDPG:=REF(L,1)-L;PDMPG:=EMA(IFF(HDPG>0 AND HDPG>LDPG,HDPG,0),14);MDMPG:=EMA(IFF(LDPG>0 AND LDPG>HDPG,LDPG,0),14);PDIPG:=PDMPG/ATRPG1;MDIPG:=MDMPG/ATRPG1;XLPG:=(PDIPG-MDIPG)/(PDIPG+MDIPG);ZB22:=XLPG>0;指标:(ZB01+ZB02+ZB03+ZB04+ZB05+ZB06+ZB07+ZB08+ZB09+ZB10+ZB11+ZB12+ZB13+ZB14+ZB15+ZB16+ZB17+ZB18+ZB19+ZB20+ZB21+ZB22)*(100/22 ),NODRAW,COLORLIRED;STICKLINE(指标>=REF(指标,1),21,40,4,0),COLORGRAY;STICKLINE(指标<REF(指标,1),21,40,4,1),COLORGRAY;方向成交量:=IFF(CLOSE>=OPEN,VOL,VOL*(-1));LHLNMID:=(3*CLOSE+OPEN+HIGH+LOW)/6;LHLN短线:=WMA(LHLNMID,5);LHLN中线:=WMA(LHLNMID,10);LHLN多头:=LHLN短线>LHLN中线;CP01:=SUM(方向成交量,1)>0;CP02:=SUM(方向成交量,2)>0;CP03:=SUM(方向成交量,3)>0;CP04:=SUM(方向成交量,4)>0;CP05:=SUM(方向成交量,5)>0;CSUM11:=SUM(方向成交量,11);CSUM12:=SUM(方向成交量,12);CSUM13:=SUM(方向成交量,13);CSUM14:=SUM(方向成交量,14);CSUM15:=SUM(方向成交量,15);CSUM16:=SUM(方向成交量,16);CSUM17:=SUM(方向成交量,17);CSUM18:=SUM(方向成交量,18);CSUM19:=SUM(方向成交量,19);CSUM20:=SUM(方向成交量,20);CP11:=CSUM11>0 AND CSUM11>REF(CSUM11,1);CP12:=CSUM12>0 AND CSUM12>REF(CSUM12,1);CP13:=CSUM13>0 AND CSUM13>REF(CSUM13,1);CP14:=CSUM14>0 AND CSUM14>REF(CSUM14,1);CP15:=CSUM15>0 AND CSUM15>REF(CSUM15,1);CP16:=CSUM16>0 AND CSUM16>REF(CSUM16,1);CP17:=CSUM17>0 AND CSUM17>REF(CSUM17,1);CP18:=CSUM18>0 AND CSUM18>REF(CSUM18,1);CP19:=CSUM19>0 AND CSUM19>REF(CSUM19,1);CP20:=CSUM20>0 AND CSUM20>REF(CSUM20,1);CMAZJ05:=MA(方向成交量,5);CMAZJ10:=MA(方向成交量,10);CMAZJ15:=MA(方向成交量,15);CMAZJ20:=MA(方向成交量,20);CMA01:=CMAZJ05>CMAZJ10;CMA02:=CMAZJ05>CMAZJ15;CMA03:=CMAZJ05>CMAZJ20;CMA04:=CMAZJ10>CMAZJ15;CMA05:=CMAZJ10>CMAZJ20;CMA06:=CMAZJ15>CMAZJ20;基准1:=EMA(EMA(EMA(EMA(IFF(方向成交量>=0,方向成交量,0),20),2),2),2);基准6:=基准1*6;CZJDL10:=IFF(方向成交量>基准6,10,IFF(方向成交量<=基准6 AND 方向成交量>0,10*方向成交量/基准6,0));短线总量:=SUM(方向成交量,3);短线总量10:=EMA(短线总量,10);短线总量20:=EMA(短线总量,20);短线总量30:=EMA(短线总量,30);短线总量60:=EMA(短线总量,60);CCZD01:=短线总量>短线总量10;CCZD02:=短线总量20>短线总量30;CCZD03:=短线总量10>短线总量60;总权:=53;量化量能X:=EMA(EMA(100*(CP01*2+CP02*2+CP03*5+CP04*2+CP05*2+CP11*1+CP12*1+CP13 *1+CP14*1+CP15*1+CP16*1+CP17*1+CP18*1+CP19*1+CP20*1+CMA01*2+CMA02*2+CMA03*1+CMA04*1+CMA05*1+CMA06*1+CZJDL10+CCZD01*5+ CCZD02*4+CCZD03*3)/总权,2),2),NODRAW,COLORLIRED;量化量能XX:=IFF(LHLN多头,量化量能X*1.2,量化量能X);量能:WMA(IFF(量化量能XX>=100,100,量化量能XX),3),NODRAW,COLORLIMAGENTA; STICKLINE(量能>=REF(量能,1),0,20,4,0),COLORGRAY;STICKLINE(量能<REF(量能,1),0,20,4,1),COLORGRAY;DRAWTEXT_FIX(1,0,0.08,0,'趋势')COLORCYAN;DRAWTEXT_FIX(1,0,0.27,0,'筹码')COLORGREEN;DRAWTEXT_FIX(1,0,0.47,0,'资金')COLORRED;DRAWTEXT_FIX(1,0,0.66,0,'指标')COLORLIRED;DRAWTEXT_FIX(1,0,0.86,0,'量能')COLORLIMAGENTA;{操盘动力线}绝对底:=0;绝对顶:=38*2.632;底:=3*2.632;顶:=35*2.632;VAR1:=LLV(LOW,10);VAR2:=HHV(HIGH,25);短期趋势线:EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4)*26.3,COLORYELLOW; {DRAWBAND(趋势线,RGB(250,0,0),REF(趋势线,1),RGB(0,250,250));}短多:=IF(短期趋势线>REF(短期趋势线,1),短期趋势线,DRAWNULL),COLORYELLOW;短空:=IF(短期趋势线<=REF(短期趋势线,1),短期趋势线,DRAWNULL),COLORBLUE; DRAWICON(CROSS(短期趋势线,底),5,1);DRAWICON(CROSS(短期趋势线,绝对底),5,1);DRAWICON(CROSS(顶,短期趋势线),98,2);DRAWICON(CROSS(绝对顶,短期趋势线),98,2);{海洋状态}X1:=(2*C+H+L)/4;X2:=LLV(L,34);X3:=HHV(H,34);QSX:=EMA((X1-X2)/(X3-X2)*100,13);QSJX:=EMA((0.618*REF(QSX,1)+0.382*QSX),2);DRAWBAND(QSX,RGB(255,0,0),QSJX,RGB(0,250,250));。

【精选指标】通达信五行量化公式副图选股预警源码K线图无未来

【精选指标】通达信五行量化公式副图选股预警源码K线图无未来

【精选指标】通达信五行量化公式副图选股预警源码K线图无未来{量化筹码模型}日线锁定:=IFF(PERIOD>=4,1,DRAWNULL);CMN:=20;TRENDA:=WINNER(C)*100;CMQS1:=WMA(TRENDA,8);CMQS2:=WMA(TRENDA,13);CMQS3:=WMA(TRENDA,21);CMQS4:=WMA(TRENDA,34);CMQS5:=WMA(TRENDA,55);{01~05}CM01:=CMQS1>REF(CMQS1,1);CM02:=CMQS2>REF(CMQS2,1);CM03:=CMQS3>REF(CMQS3,1);CM04:=CMQS4>REF(CMQS4,1);CM05:=CMQS5>REF(CMQS5,1);{06~10}CM06:=TRENDA>CMQS1;CM07:=TRENDA>CMQS2;CM08:=TRENDA>CMQS3;CM09:=TRENDA>CMQS4;CM10:=TRENDA>CMQS5;{}{11~14}CM11:=CMQS1>CMQS2;CM12:=CMQS1>CMQS3;CM13:=CMQS1>CMQS4;CM14:=CMQS1>CMQS5;{15~17}CM15:=CMQS2>CMQS3;CM16:=CMQS2>CMQS4;CM17:=CMQS2>CMQS5;{18~19}CM18:=CMQS3>CMQS4;CM19:=CMQS3>CMQS5;{20}CM20:=CMQS4>CMQS5;量化筹码:=IFF(C>0 AND 日线锁定,EMA(((CM01+CM02+CM03+CM04+CM05+CM06+CM07+C M08+CM09+CM10+CM11+CM12+CM13+CM14+CM15+CM16+CM17+CM18+ CM19+CM20)*(100/CMN)),2),DRAWNULL);XG1:=量化筹码>=REF(量化筹码,1) AND REF(量化筹码,1)<REF(量化筹码,2);{2量化量能模型}方向成交量:=IFF(CLOSE>=OPEN,VOL,VOL*(-1));LHLNMID:=(3*CLOSE+OPEN+HIGH+LOW)/6;LHLN短线:=WMA(LHLNMID,5);LHLN中线:=WMA(LHLNMID,10);LHLN多头:=LHLN短线>LHLN中线;P01:=SUM(方向成交量,1)>0;P02:=SUM(方向成交量,2)>0;P03:=SUM(方向成交量,3)>0;P04:=SUM(方向成交量,4)>0;P05:=SUM(方向成交量,5)>0;SUM11:=SUM(方向成交量,11);SUM12:=SUM(方向成交量,12);SUM13:=SUM(方向成交量,13);SUM14:=SUM(方向成交量,14);SUM15:=SUM(方向成交量,15);SUM16:=SUM(方向成交量,16);SUM17:=SUM(方向成交量,17);SUM18:=SUM(方向成交量,18);SUM19:=SUM(方向成交量,19);SUM20:=SUM(方向成交量,20);P11:=SUM11>0 AND SUM11>REF(SUM11,1); P12:=SUM12>0 AND SUM12>REF(SUM12,1); P13:=SUM13>0 AND SUM13>REF(SUM13,1); P14:=SUM14>0 AND SUM14>REF(SUM14,1); P15:=SUM15>0 AND SUM15>REF(SUM15,1); P16:=SUM16>0 AND SUM16>REF(SUM16,1); P17:=SUM17>0 AND SUM17>REF(SUM17,1); P18:=SUM18>0 AND SUM18>REF(SUM18,1); P19:=SUM19>0 AND SUM19>REF(SUM19,1); P20:=SUM20>0 AND SUM20>REF(SUM20,1);MAZJ05:=MA(方向成交量,5);MAZJ10:=MA(方向成交量,10);MAZJ15:=MA(方向成交量,15);MAZJ20:=MA(方向成交量,20);MA01:=MAZJ05>MAZJ10;MA02:=MAZJ05>MAZJ15;MA03:=MAZJ05>MAZJ20;MA04:=MAZJ10>MAZJ15;MA05:=MAZJ10>MAZJ20;MA06:=MAZJ15>MAZJ20;基准线1:=EMA(EMA(EMA(EMA(IFF(方向成交量>=0,方向成交量,0),20),2),2),2);基准线6:=基准线1*6;ZJDL10:=IFF(方向成交量>基准线6,10,IFF(方向成交量<=基准线6 AND 方向成交量>0,10*方向成交量/基准线6,0));{长中短线}短线总量:=SUM(方向成交量,3);短线总量10:=EMA(短线总量,10);短线总量60:=EMA(短线总量,60);短线总量20:=EMA(短线总量,20);短线总量30:=EMA(短线总量,30);CZD01:=短线总量>短线总量10;CZD02:=短线总量20>短线总量30;CZD03:=短线总量10>短线总量60;{长中短线}总权:=53;量化量能X:=IFF(日线锁定AND C>0,EMA(EMA(100*(P01*2+P02*2+P03*5+P04*2+P05*2+P11*1 +P12*1+P13*1+P14*1+P15*1+P16*1+P17*1+P18*1+P19*1+P2 0*1+MA01*2+MA02*2+MA03*1+MA04*1+MA05*1+MA06*1+Z JDL10+CZD01*5+CZD02*4+CZD03*3)/总权,2),2),DRAWNULL);量化量能XX:=IFF(LHLN多头,量化量能X*1.2,量化量能X);量化量能:=WMA(IFF(量化量能XX>=100,100,量化量能XX),3);XG2:=量化量能>=REF(量化量能,1) AND REF(量化量能,1)<REF(量化量能,2);{全局控制}{全局控制}数量:=23;{01}DMADIF:=MA(C,10)-MA(C,50);DMAAMA:=MA(DMADIF,10);DMAX:=DMADIF>DMAAMA;P001:=DMAX;{02}DMITR:=EXPMEMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),14);DMIHD:=H-REF(H,1);DMILD:=REF(L,1)-L;DMIDMP:=EXPMEMA(IFF(DMIHD>0 AND DMIHD>DMILD,DMIHD,0),14);DMIDMM:=EXPMEMA(IFF(DMILD>0 AND DMILD>DMIHD,DMILD,0),14);DMIPDI:=DMIDMP*100/DMITR;DMIMDI:=DMIDMM*100/DMITR;DMIX:=DMIPDI>DMIMDI;P002:=DMIX;{03}DPODPO:=C-REF(MA(C,20),20/2+1);DPOMADPO:=MA(DPODPO,6);DPOX:=DPODPO>DPOMADPO;P003:=DPOX;{04}EMVVOLUME:=MA(V,14)/V;EMVMID:=100*(H+L-REF(H+L,1))/(H+L);EMVEMV:=MA(EMVMID*EMVVOLUME*(H-L)/MA(H-L,14),14);EMVMAEMV:=MA(EMVEMV,9);EMVX:=EMVEMV>EMVMAEMV;P004:=EMVX;{05}MACDDIF:=EMA(C,12)-EMA(C,26);MACDDEA:=EMA(MACDDIF,9);MACDX:=MACDDIF>MACDDEA;P005:=MACDX;{06}TRIXTR:=EMA(EMA(EMA(C,12),12),12);TRIXTRIX:=(TRIXTR-REF(TRIXTR,1))/REF(TRIXTR,1)*100;TRIXMATRIX:=MA(TRIXTRIX,9);TRIXX:=TRIXTRIX>TRIXMATRIX;P006:=TRIXX;{08}WVADWVAD:=SUM((C-O)/(H-L)*V,24)/10000;WVADMAWVAD:=MA(WVADWVAD,6);WVADX:=WVADWVAD>WVADMAWVAD;P008:=WVADX;{09}JSJS:=100*(C-REF(C,5))/(5*REF(C,5));JSMAJS1:=MA(JSJS,5);JSX:=JSJS>JSMAJS1;P009:=JSX;{10}CYEMAL:=MA(C,5);CYEMAS:=MA(MA(C,20),5);CYECYEL:=(CYEMAL-REF(CYEMAL,1))/REF(CYEMAL,1)*100;CYECYES:=(CYEMAS-REF(CYEMAS,1))/REF(CYEMAS,1)*100;CYEX:=CYECYEL>CYECYES;P010:=CYEX;{11}JLHBVAR1:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*80;JLHBB:=SMA(JLHBVAR1,7,1);JLHBVAR2:=SMA(JLHBB,5,1);JLHBX:=JLHBB>JLHBVAR2;P011:=JLHBX;{12}CYCJJJ:=IFF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAI NFO(8),DYNAINFO(3));CYCDDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);CYCJJJT:=IFF(CYCDDD,1,(CYCJJJ<(DYNAINFO(5)+0.01) && CYCJJJ>(DYNAINFO(6)-0.01)));CYCCYC1:=IFF(CYCJJJT,0.01*EXPMA(AMOUNT,5)/EXPMA(VO L,5),EMA((HIGH+LOW+CLOSE)/3,5));CYCCYC2:=IFF(CYCJJJT,0.01*EXPMA(AMOUNT,13)/EXPMA(V OL,13),EMA((HIGH+LOW+CLOSE)/3,13));CYCX:=CYCCYC1>CYCCYC2;P012:=CYCX;{13}BBIBBI:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;BBIX:=C>BBIBBI;P013:=BBIX;{14}DDITR:=MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)));DDIDMZ:=IFF((H+L)<=(REF(H,1)+REF(L,1)),0,MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1))));DDIDMF:=IFF((H+L)>=(REF(H,1)+REF(L,1)),0,MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1))));DDIDIZ:=SUM(DDIDMZ,13)/(SUM(DDIDMZ,13)+SUM(DDID MF,13));DDIDIF:=SUM(DDIDMF,13)/(SUM(DDIDMF,13)+SUM(DDID MZ,13));DDIDDI:=DDIDIZ-DDIDIF;DDIADDI:=SMA(DDIDDI,30,10);DDIAD:=MA(DDIADDI,5);DDIX:=DDIADDI>DDIAD;P014:=DDIX;{15}FSLSWL:=(EXPMA(C,5)*7+EXPMA(C,10)*3)/10;FSLSWS:=DMA(EMA(C,12),MAX(1,100*(SUM(V,5)/(3*CAPITA L))));FSLX:=FSLSWL>FSLSWS;P015:=FSLX;{16}MAMA1:=MA(C,5);MAMA2:=MA(C,10);MAXX:=MAMA1>MAMA2;P016:=MAXX;{17}EXPEMA1:=EXPMA(C,12);EXPEMA2:=EXPMA(C,17);EXPMAX:=EXPEMA1>EXPEMA2 AND EXPEMA1>REF(EXPEMA1,1) AND EXPEMA2>REF(EXPEMA2,1);P017:=EXPMAX;{18}PBX1:=(EXPMA(C,4)+MA(C,4*2)+MA(C,4*4))/3;PBX2:=(EXPMA(C,6)+MA(C,6*2)+MA(C,6*4))/3;PBXX:=PBX1>PBX2 AND PBX1>REF(PBX1,1) ANDPBX2>REF(PBX2,1);P018:=PBXX;{19}SARX:=C>SAR(4,2,20);P019:=SARX;{20}QLTB:=IFF(H>REF(C,1),H-REF(C,1)+C-L,C-L);QLTS:=IFF(REF(C,1)>LOW,REF(C,1)-L+H-C,H-C);QLVOL_:=(QLTB-QLTS)*V/(QLTB+QLTS)/100;QLVOL_0:=DMA(QLVOL_,0.1);QLVOL_1:=DMA(QLVOL_,0.05);QLRES1:=QLVOL_0-QLVOL_1;QLLON:=SUM(QLRES1,0);QLLONG:=QLLON;QLMA1:=MA(QLLON,10);LONQLX:=QLLONG>REF(QLLONG,1) AND QLMA1>REF(QLMA1,1) AND QLLONG>QLMA1;P020:=LONQLX;{21}QLSTB:=IFF(H>REF(C,1),H-REF(C,1)+C-L,C-L);QLSTS:=IFF(REF(C,1)>L,REF(C,1)-L+H-C,H-C);QLSVOL_:=(QLSTB-QLSTS)*V/(QLSTB+QLSTS)/100;QLSVOL_0:=DMA(QLSVOL_,0.1);QLSVOL_1:=DMA(QLSVOL_,0.05);QLSSHORT:=QLSVOL_0-QLSVOL_1;QLSMA1:=MA(QLSSHORT,10);SHORTQLX:=QLSSHORT>QLSMA1;P021:=SHORTQLX;{22}AMVAMV0:=V*(O+C)/2;AMVAMV1:=SUM(AMVAMV0,5)/SUM(V,5);AMVAMV2:=SUM(AMVAMV0,13)/SUM(V,13);AMVX:=AMVAMV1>AMVAMV2;P022:=AMVX;{23}MTMMTM:=C-REF(C,12);MTMMAMTM:=MA(MTMMTM,6);MTMX:=MTMMTM>MTMMAMTM;P023:=MTMX;{24}ZJTJVAR1:=EMA(EMA(C,9),9);ZJTJ控盘:=(ZJTJVAR1-REF(ZJTJVAR1,1))/REF(ZJTJVAR1,1)*1000;YZKPX:=ZJTJ控盘>REF(ZJTJ控盘,1) AND ZJTJ控盘>0;P024:=YZKPX;{已去掉第七项}量化趋势:=IFF(C>0 AND 日线锁定,(P001+P002+P003+P004+P005+P006+P008+P009+P010+P 011+P012+P013+P014+P015+P016+P017+P018+P019+P020+P021+P 022+P023+P024)*(100/数量),DRAWNULL);{读取这个量化数据即可} XG3:=量化趋势>=REF(量化趋势,1) AND REF(量化趋势,1)<REF(量化趋势,2);{量化指标模型}ZBSLPG:=22;{01.四海腾龙}LTSHPG:=100-100*(HHV(H,40)-C)/(HHV(H,40)-LLV(L,40));ZB01:=LTSHPG>=50;{02.MACD}DIFPG:=EMA(C,12)-EMA(C,26);DEAPG:=EMA(DIFPG,9);ZB02:=DIFPG>DEAPG;{03~05.趋势顶底}APG:=MA((-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),19);BPG:=(-100)*(HHV(H,14)-C)/(HHV(H,14)-LLV(L,14));CPG:=EMA((-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),4);QSDDLONG:=APG+100;QSDDSHORT:=BPG+100;QSDDMID:=CPG+100;ZB03:=QSDDSHORT>QSDDMID;ZB04:=QSDDSHORT>QSDDLONG;ZB05:=QSDDMID>QSDDLONG;{06.KDJ}RSVPG:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;KPG:=SMA(RSVPG,3,1);DPG:=SMA(KPG,3,1);ZB06:=KPG>DPG;{07~09.RSI}LCPG:=REF(CLOSE,1);RPG1:=SMA(MAX(C-LCPG,0),6,1)/SMA(ABS(C-LCPG),6,1)*100;RPG2:=SMA(MAX(C-LCPG,0),12,1)/SMA(ABS(C-LCPG),12,1)*100;RPG3:=SMA(MAX(C-LCPG,0),24,1)/SMA(ABS(C-LCPG),24,1)*100;ZB07:=RPG1>RPG2;ZB08:=RPG1>RPG3;ZB09:=RPG2>RPG3;{10~12.MA}ZB10:=MA(C,5)>MA(C,10);ZB11:=MA(C,5)>MA(C,20);ZB12:=MA(C,10)>MA(C,20);{13.主力进出}MAVPG:=(C*2+H+L)/4;SKPG:=EMA(MAVPG,13)-EMA(MAVPG,34); SDPG:=EMA(SKPG,5);ZB13:=(2*(SKPG-SDPG))>((-2)*(SKPG-SDPG)); {14~16.多空线}MIDPGX:=(3*C+O+L+H)/6;DKXPG1:=WMA(MIDPGX,5);DKXPG2:=WMA(MIDPGX,10);DKXPG3:=WMA(MIDPGX,20);ZB14:=DKXPG1>REF(DKXPG1,1);ZB15:=DKXPG2>REF(DKXPG2,1);ZB16:=DKXPG3>REF(DKXPG3,1);{17.G08}G08PG:=EMA(C,34);ZB17:=G08PG>REF(G08PG,1);{18.B08}B08PG:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*80; BPG1:=SMA(B08PG,7,1);BPG2:=SMA(BPG1,3,1);ZB18:=BPG1>BPG2;{19.BBI}BBIPG:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4; ZB19:=C>BBIPG;{20~21.速率表}MIDSLB:=(3*C+L+O+H)/6;E1:=EMA(10000*(WMA(MIDSLB,30)-REF(WMA(MIDSLB,30),1))/REF(WMA(MIDSLB,30),1),10);E2:=EMA(E1,2);E3:=EMA(E2,2);E4:=EMA(E3,2);E5:=EMA(E4,2);E6:=EMA(E5,2);E7:=EMA(E6,2);ZB20:=E2>E3 AND E3>E4 AND E4>E5 AND E5>E6 AND E6>E7;ZB21:=E2>REF(E2,1) AND E3>REF(E3,1) AND E4>REF(E4,1) AND E5>REF(E5,1) AND E6>REF(E6,1) AND E7>REF(E7,1);{22.趋势向量}TRPG1:=MAX(MAX((H-L),ABS(H-REF(C,1))),ABS(REF(C,1)-L));ATRPG1:=EMA(TRPG1,14);HDPG:=H-REF(H,1);LDPG:=REF(L,1)-L;PDMPG:=EMA(IFF(HDPG>0 AND HDPG>LDPG,HDPG,0),14);MDMPG:=EMA(IFF(LDPG>0 AND LDPG>HDPG,LDPG,0),14);PDIPG:=PDMPG/ATRPG1;MDIPG:=MDMPG/ATRPG1;XLPG:=(PDIPG-MDIPG)/(PDIPG+MDIPG);ZB22:=XLPG>0;量化指标:=IFF(日线锁定AND C>0,(ZB01+ZB02+ZB03+ZB04+ZB05+ZB06+ZB07+ZB08+ZB09 +ZB10+ZB11+ZB12+ZB13+ZB14+ZB15+ZB16+ZB17+ZB18+ZB19+ ZB20+ZB21+ZB22)*(100/ZBSLPG),DRAWNULL),;XG4:=量化指标>=REF(量化指标,1) AND REF(量化指标,1)<REF(量化指标,2);日期锁定:=DATE>=1100104;CN1:=HHV(V,5);{5日最高量}CN2:=O>C;CN02:=C>O;CN03:=C=O;CN04:=((SUM(V,5)/CN1));CN05:=IF(CN04>0.3,1,0);{大资金}N:=10;M:=60;资金锁定:=IF(CN04>0.3,1,0);主力流入:=IF(CN02 AND CN05,V,0);主力流出:=IF(CN2 AND CN05,V,0);主力净买:=IFF(1,(主力流入-主力流出)/10000,DRAWNULL);P0011:=SUM(主力净买,1)>0;P0021:=SUM(主力净买,2)>0;P0031:=SUM(主力净买,3)>0;P0041:=SUM(主力净买,4)>0;P0051:=SUM(主力净买,5)>0;SUM111:=SUM(主力净买,11);SUM121:=SUM(主力净买,12);SUM131:=SUM(主力净买,13);SUM141:=SUM(主力净买,14);SUM151:=SUM(主力净买,15);SUM161:=SUM(主力净买,16);SUM171:=SUM(主力净买,17);SUM181:=SUM(主力净买,18);SUM191:=SUM(主力净买,19);SUM201:=SUM(主力净买,20);P111:=SUM11>0 AND SUM111>REF(SUM111,1);P121:=SUM12>0 AND SUM121>REF(SUM121,1);P131:=SUM13>0 AND SUM131>REF(SUM131,1);P141:=SUM14>0 AND SUM141>REF(SUM141,1);P151:=SUM15>0 AND SUM151>REF(SUM151,1);P161:=SUM16>0 AND SUM161>REF(SUM161,1);P171:=SUM17>0 AND SUM171>REF(SUM171,1);P181:=SUM18>0 AND SUM181>REF(SUM181,1);P191:=SUM19>0 AND SUM191>REF(SUM191,1);P201:=SUM20>0 AND SUM201>REF(SUM201,1);MAZJ051:=MA(主力净买,5);MAZJ101:=MA(主力净买,10);MAZJ151:=MA(主力净买,15);MAZJ201:=MA(主力净买,20);MA011:=MAZJ051>MAZJ101;MA021:=MAZJ051>MAZJ151;MA031:=MAZJ051>MAZJ201;MA041:=MAZJ101>MAZJ151;MA051:=MAZJ101>MAZJ201;MA061:=MAZJ151>MAZJ201;基准线11:=EMA(EMA(EMA(EMA(IFF(主力净买>=0,主力净买,0),20),2),2),2);基准线61:=基准线11*6;ZJDL101:=IFF(主力净买>基准线6,10,IFF(主力净买<=基准线6 AND 主力净买>0,10*主力净买/基准线6,0));{长中短线}短线资金:=SUM(主力净买,3);短线资金10:=EMA(短线资金,10);短线资金60:=EMA(短线资金,60);短线资金20:=EMA(短线资金,20);短线资金30:=EMA(短线资金,30);CZD011:=短线资金>短线资金10;CZD021:=短线资金20>短线资金30;CZD031:=短线资金10>短线资金60;总权1:=53;量化资金:=IFF(日线锁定AND 日期锁定AND 资金锁定AND C>0,EMA(EMA(100*(P0011*2+P0021*2+P0031*5+P0041*2+P00 51*2+P111*1+P121*1+P131*1+P141*1+P151*1+P161*1+P171* 1+P181*1+P191*1+P201*1+MA011*2+MA021*2+MA031*1+MA041*1+MA051*1+MA0 61*1+ZJDL10+CZD01*5+CZD02*4+CZD03*3)/总权,2),2),DRAWNULL);XG5:=量化资金>=REF(量化资金,1) AND REF(量化资金,1)<REF(量化资金,1);五行量化选股:XG1+XG2+XG3+XG4+XG5>=4;。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

这是一组简单直观、方便实用的辅助决策指标。

本指标综合了五行量化化指标、经传海洋状态指标、操盘动力线指标,经个人加工整理而成。

一、指标介绍:1、五行量化指标(浅灰色实心空心方格):实心代表趋势走好,空心代表趋势走坏;2、操盘动力线指标(黄金线):短线灵敏指标,低位拐头向上可跟进,高位拐头向下要警惕,附有高低位买卖提示;3、海洋状态指标(彩带):彩带颜色代表短中期多空趋势,低位转红可跟进,高位变色宜减仓、清仓;二、使用方法和个人心得:1、依据大盘趋势,结合市场热点,综合分析个股短、中期趋势,短线激进者可依据五行量化指标和操盘动力线走势快进快出,中线稳健者还须结合海洋状态指标分仓操盘;2、喜欢做波段的朋友可采取“2+3+2”仓位策略,五行指标四行以上走好+操盘动力线低位向上拐头--买入2成仓位,如果之后海洋状态指标低位飘红,可追加3成仓位,另外2成仓位根据短线指标适时T+0;全部指标线走坏后,坚决清仓;3、指标为辅助决策工具,不负责盈亏;股票的盈亏是个人心态、技术水平和执行力等多种因素决定的;心态第一,纪律第一,执行第一!!DMADIF:=MA(C,10)-MA(C,50);DMAAMA:=MA(DMADIF,10);DMAX:=DMADIF>DMAAMA;P01:=DMAX;DMITR:=EXPMEMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),14); DMIHD:=H-REF(H,1);DMILD:=REF(L,1)-L;DMIDMP:=EXPMEMA(IFF(DMIHD>0 AND DMIHD>DMILD,DMIHD,0),14); DMIDMM:=EXPMEMA(IFF(DMILD>0 AND DMILD>DMIHD,DMILD,0),14); DMIPDI:=DMIDMP*100/DMITR;DMIMDI:=DMIDMM*100/DMITR;DMIX:=DMIPDI>DMIMDI;P02:=DMIX;DPODPO:=C-REF(MA(C,20),20/2+1);DPOMADPO:=MA(DPODPO,6);DPOX:=DPODPO>DPOMADPO;P03:=DPOX;EMVVOLUME:=MA(V,14)/V;EMVMID:=100*(H+L-REF(H+L,1))/(H+L);EMVEMV:=MA(EMVMID*EMVVOLUME*(H-L)/MA(H-L,14),14); EMVMAEMV:=MA(EMVEMV,9);EMVX:=EMVEMV>EMVMAEMV;P04:=EMVX;MACDDIF:=EMA(C,12)-EMA(C,26);MACDDEA:=EMA(MACDDIF,9);MACDX:=MACDDIF>MACDDEA;P05:=MACDX;TRIXTR:=EMA(EMA(EMA(C,12),12),12);TRIXTRIX:=(TRIXTR-REF(TRIXTR,1))/REF(TRIXTR,1)*100; TRIXMATRIX:=MA(TRIXTRIX,9);TRIXX:=TRIXTRIX>TRIXMATRIX;P06:=TRIXX;WVADWVAD:=SUM((C-O)/(H-L)*V,24)/10000;WVADMAWVAD:=MA(WVADWVAD,6);WVADX:=WVADWVAD>WVADMAWVAD;P07:=WVADX;JSJS:=100*(C-REF(C,5))/(5*REF(C,5));JSMAJS1:=MA(JSJS,5);JSX:=JSJS>JSMAJS1;P08:=JSX;CYEMAL:=MA(C,5);CYEMAS:=MA(MA(C,20),5);CYECYEL:=(CYEMAL-REF(CYEMAL,1))/REF(CYEMAL,1)*100; CYECYES:=(CYEMAS-REF(CYEMAS,1))/REF(CYEMAS,1)*100;CYEX:=CYECYEL>CYECYES;P09:=CYEX;JLHBVAR1:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*80;JLHBB:=SMA(JLHBVAR1,7,1);JLHBVAR2:=SMA(JLHBB,5,1);JLHBX:=JLHBB>JLHBVAR2;P10:=JLHBX;CYCJJJ:=IFF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3)); CYCDDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);CYCJJJT:=IFF(CYCDDD,1,(CYCJJJ<(DYNAINFO(5)+0.01) &&CYCJJJ>(DYNAINFO(6)-0.01)));CYCCYC1:=IFF(CYCJJJT,0.01*EMA(AMOUNT,5)/EMA(VOL,5),EMA((HIGH+LOW+CLOSE)/ 3,5));CYCCYC2:=IFF(CYCJJJT,0.01*EMA(AMOUNT,13)/EMA(VOL,13),EMA((HIGH+LOW+CLOS E)/3,13));CYCX:=CYCCYC1>CYCCYC2;P11:=CYCX;BBIBBI:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;BBIX:=C>BBIBBI;P12:=BBIX;DDITR:=MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)));DDIDMZ:=IFF((H+L)<=(REF(H,1)+REF(L,1)),0,MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)))); DDIDMF:=IFF((H+L)>=(REF(H,1)+REF(L,1)),0,MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)))); DDIDIZ:=SUM(DDIDMZ,13)/(SUM(DDIDMZ,13)+SUM(DDIDMF,13));DDIDIF:=SUM(DDIDMF,13)/(SUM(DDIDMF,13)+SUM(DDIDMZ,13));DDIDDI:=DDIDIZ-DDIDIF;DDIADDI:=SMA(DDIDDI,30,10);DDIAD:=MA(DDIADDI,5);DDIX:=DDIADDI>DDIAD;P13:=DDIX;FSLSWL:=(EMA(C,5)*7+EMA(C,10)*3)/10;FSLSWS:=DMA(EMA(C,12),MAX(1,100*(SUM(V,5)/(3*CAPITAL))));FSLX:=FSLSWL>FSLSWS;P14:=FSLX;MAMA1:=MA(C,5);MAMA2:=MA(C,10);MAXX:=MAMA1>MAMA2;P15:=MAXX;EXPEMA1:=EMA(C,12);EXPEMA2:=EMA(C,17);EXPMAX:=EXPEMA1>EXPEMA2 AND EXPEMA1>REF(EXPEMA1,1) ANDEXPEMA2>REF(EXPEMA2,1);P16:=EXPMAX;PBX1:=(EMA(C,4)+MA(C,4*2)+MA(C,4*4))/3;PBX2:=(EMA(C,6)+MA(C,6*2)+MA(C,6*4))/3;PBXX:=PBX1>PBX2 AND PBX1>REF(PBX1,1) AND PBX2>REF(PBX2,1);P17:=PBXX;SARX:=C>SAR(4,2,20);P18:=SARX;QLTB:=IFF(H>REF(C,1),H-REF(C,1)+C-L,C-L);QLTS:=IFF(REF(C,1)>LOW,REF(C,1)-L+H-C,H-C);QLVOL_:=(QLTB-QLTS)*V/(QLTB+QLTS)/100;QLVOL_0:=DMA(QLVOL_,0.1);QLVOL_1:=DMA(QLVOL_,0.05);QLRES1:=QLVOL_0-QLVOL_1;QLLON:=SUM(QLRES1,0);QLLONG:=QLLON;QLMA1:=MA(QLLON,10);LONQLX:=QLLONG>REF(QLLONG,1) AND QLMA1>REF(QLMA1,1) ANDQLLONG>QLMA1,NODRAW,COLORFFFFFF;P19:=LONQLX;QLSTB:=IFF(H>REF(C,1),H-REF(C,1)+C-L,C-L);QLSTS:=IFF(REF(C,1)>L,REF(C,1)-L+H-C,H-C);QLSVOL_:=(QLSTB-QLSTS)*V/(QLSTB+QLSTS)/100;QLSVOL_0:=DMA(QLSVOL_,0.1);QLSVOL_1:=DMA(QLSVOL_,0.05);QLSSHORT:=QLSVOL_0-QLSVOL_1;QLSMA1:=MA(QLSSHORT,10);SHORTQLX:=QLSSHORT>QLSMA1;P20:=SHORTQLX;AMVAMV0:=V*(O+C)/2;AMVAMV1:=SUM(AMVAMV0,5)/SUM(V,5);AMVAMV2:=SUM(AMVAMV0,13)/SUM(V,13);AMVX:=AMVAMV1>AMVAMV2;P21:=AMVX;MTMMTM:=C-REF(C,12);MTMMAMTM:=MA(MTMMTM,6);MTMX:=MTMMTM>MTMMAMTM;P22:=MTMX;ZJTJVAR1:=EMA(EMA(C,9),9);ZJTJ控盘:=(ZJTJVAR1-REF(ZJTJVAR1,1))/REF(ZJTJVAR1,1)*1000;YZKPX:=ZJTJ控盘>REF(ZJTJ控盘,1) AND ZJTJ控盘>0;P23:=YZKPX;趋势:(P01+P02+P03+P04+P05+P06+P07+P08+P09+P10+P11+P12+P13+P14+P15+P16 +P17+P18+P19+P20+P21+P22+P23)*(100/23),NODRAW,COLORCYAN; STICKLINE(趋势>=REF(趋势,1),81,100,4,0),COLORGRAY;STICKLINE(趋势<REF(趋势,1),81,100,4,1),COLORGRAY;TRENDA:=WINNER(C)*100;CMQS1:=WMA(TRENDA,8);CMQS2:=WMA(TRENDA,13);CMQS3:=WMA(TRENDA,21);CMQS4:=WMA(TRENDA,34);CMQS5:=WMA(TRENDA,55);CM01:=CMQS1>REF(CMQS1,1);CM02:=CMQS2>REF(CMQS2,1);CM03:=CMQS3>REF(CMQS3,1);CM04:=CMQS4>REF(CMQS4,1);CM05:=CMQS5>REF(CMQS5,1);CM06:=TRENDA>CMQS1;CM07:=TRENDA>CMQS2;CM08:=TRENDA>CMQS3;CM09:=TRENDA>CMQS4;CM10:=TRENDA>CMQS5;CM11:=CMQS1>CMQS2;CM12:=CMQS1>CMQS3;CM13:=CMQS1>CMQS4;CM14:=CMQS1>CMQS5;CM15:=CMQS2>CMQS3;CM16:=CMQS2>CMQS4;CM17:=CMQS2>CMQS5;CM18:=CMQS3>CMQS4;CM19:=CMQS3>CMQS5;CM20:=CMQS4>CMQS5;筹码:EMA(((CM01+CM02+CM03+CM04+CM05+CM06+CM07+CM08+CM09+CM10+ CM11+CM12+CM13+CM14+CM15+CM16+CM17+CM18+CM19+CM20)*(100/20)),2),NO DRAW,COLORGREEN;STICKLINE(筹码>=REF(筹码,1),61,80,4,0),COLORGRAY;STICKLINE(筹码<REF(筹码,1),61,80,4,1),COLORGRAY;JE:=VOL;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);主力流入:=(QJ0*(JJ-MIN(CLOSE,OPEN)));主力流出:=(QJ0*(MIN(OPEN,CLOSE)-LOW));主力净买:=(主力流入-主力流出)/10000;PP01:=SUM(主力净买,1)>0;PP02:=SUM(主力净买,2)>0;PP03:=SUM(主力净买,3)>0;PP04:=SUM(主力净买,4)>0;PP05:=SUM(主力净买,5)>0;SUM11:=SUM(主力净买,11);SUM12:=SUM(主力净买,12);SUM13:=SUM(主力净买,13);SUM14:=SUM(主力净买,14);SUM15:=SUM(主力净买,15);SUM16:=SUM(主力净买,16);SUM17:=SUM(主力净买,17);SUM18:=SUM(主力净买,18);SUM19:=SUM(主力净买,19);SUM20:=SUM(主力净买,20);PP11:=SUM11>0 AND SUM11>REF(SUM11,1);PP12:=SUM12>0 AND SUM12>REF(SUM12,1);PP13:=SUM13>0 AND SUM13>REF(SUM13,1);PP14:=SUM14>0 AND SUM14>REF(SUM14,1);PP15:=SUM15>0 AND SUM15>REF(SUM15,1);PP16:=SUM16>0 AND SUM16>REF(SUM16,1);PP17:=SUM17>0 AND SUM17>REF(SUM17,1);PP18:=SUM18>0 AND SUM18>REF(SUM18,1);PP19:=SUM19>0 AND SUM19>REF(SUM19,1);PP20:=SUM20>0 AND SUM20>REF(SUM20,1);MAZJ05:=MA(主力净买,5);MAZJ10:=MA(主力净买,10);MAZJ15:=MA(主力净买,15);MAZJ20:=MA(主力净买,20);MA01:=MAZJ05>MAZJ10;MA02:=MAZJ05>MAZJ15;MA03:=MAZJ05>MAZJ20;MA04:=MAZJ10>MAZJ15;MA05:=MAZJ10>MAZJ20;MA06:=MAZJ15>MAZJ20;基线1:=EMA(EMA(EMA(EMA(IFF(主力净买>=0,主力净买,0),20),2),2),2);基线6:=基线1*6;ZJDL10:=IFF(主力净买>基线6,10,IFF(主力净买<=基线6 AND 主力净买>0,10*主力净买/基线6,0));短线资金:=SUM(主力净买,3);短线资金10:=EMA(短线资金,10);短线资金60:=EMA(短线资金,60);短线资金20:=EMA(短线资金,20);短线资金30:=EMA(短线资金,30);CZD01:=短线资金>短线资金10;CZD02:=短线资金20>短线资金30;CZD03:=短线资金10>短线资金60;总权1:=53;资金:EMA(EMA(100*(PP01*2+PP02*2+PP03*5+PP04*2+PP05*2+PP11*1+PP12*1+PP13* 1+PP14*1+PP15*1+PP16*1+PP17*1+PP18*1+PP19*1+PP20*1+MA01*2+MA02*2+MA03*1+MA04*1+MA05*1+MA06*1+ZJDL10+CZD01*5+CZD02*4+ CZD03*3)/总权1,2),2),NODRAW,COLORRED;STICKLINE(资金>=REF(资金,1),41,60,4,0),COLORGRAY;STICKLINE(资金<REF(资金,1),41,60,4,1),COLORGRAY;LTSHPG:=100-100*(HHV(H,40)-C)/(HHV(H,40)-LLV(L,40));ZB01:=LTSHPG>=50;DIFPG:=EMA(C,12)-EMA(C,26);DEAPG:=EMA(DIFPG,9);ZB02:=DIFPG>DEAPG;APG:=MA((-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),19);BPG:=(-100)*(HHV(H,14)-C)/(HHV(H,14)-LLV(L,14));DPG:=EMA((-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),4);QSDDLONG:=APG+100;QSDDSHORT:=BPG+100;QSDDMID:=DPG+100;ZB03:=QSDDSHORT>QSDDMID;ZB04:=QSDDSHORT>QSDDLONG;ZB05:=QSDDMID>QSDDLONG;RSVPG:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;KPG:=SMA(RSVPG,3,1);DPG2:=SMA(KPG,3,1);ZB06:=KPG>DPG2;LCPG:=REF(CLOSE,1);RPG1:=SMA(MAX(C-LCPG,0),6,1)/SMA(ABS(C-LCPG),6,1)*100;RPG2:=SMA(MAX(C-LCPG,0),12,1)/SMA(ABS(C-LCPG),12,1)*100;RPG3:=SMA(MAX(C-LCPG,0),24,1)/SMA(ABS(C-LCPG),24,1)*100;ZB07:=RPG1>RPG2;ZB08:=RPG1>RPG3;ZB09:=RPG2>RPG3;ZB10:=MA(C,5)>MA(C,10);ZB11:=MA(C,5)>MA(C,20);ZB12:=MA(C,10)>MA(C,20);MAVPG:=(C*2+H+L)/4;SKPG:=EMA(MAVPG,13)-EMA(MAVPG,34);SDPG:=EMA(SKPG,5);ZB13:=(2*(SKPG-SDPG))>((-2)*(SKPG-SDPG));MIDPGX:=(3*C+O+L+H)/6;DKXPG1:=WMA(MIDPGX,5);DKXPG2:=WMA(MIDPGX,10);DKXPG3:=WMA(MIDPGX,20);ZB14:=DKXPG1>REF(DKXPG1,1);ZB15:=DKXPG2>REF(DKXPG2,1);ZB16:=DKXPG3>REF(DKXPG3,1);G08PG:=EMA(C,34);ZB17:=G08PG>REF(G08PG,1);B08PG:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*80;BPG1:=SMA(B08PG,7,1);BPG2:=SMA(BPG1,3,1);ZB18:=BPG1>BPG2;BBIPG:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;ZB19:=C>BBIPG;MIDSLB:=(3*C+L+O+H)/6;E1:=EMA(10000*(WMA(MIDSLB,30)-REF(WMA(MIDSLB,30),1))/REF(WMA(MIDSLB,30),1 ),10);E2:=EMA(E1,2);E3:=EMA(E2,2);E4:=EMA(E3,2);E5:=EMA(E4,2);E6:=EMA(E5,2);E7:=EMA(E6,2);ZB20:=E2>E3 AND E3>E4 AND E4>E5 AND E5>E6 AND E6>E7;ZB21:=E2>REF(E2,1) AND E3>REF(E3,1) AND E4>REF(E4,1) AND E5>REF(E5,1) AND E6>REF(E6,1) AND E7>REF(E7,1);TRPG1:=MAX(MAX((H-L),ABS(H-REF(C,1))),ABS(REF(C,1)-L));ATRPG1:=EMA(TRPG1,14);HDPG:=H-REF(H,1);LDPG:=REF(L,1)-L;PDMPG:=EMA(IFF(HDPG>0 AND HDPG>LDPG,HDPG,0),14);MDMPG:=EMA(IFF(LDPG>0 AND LDPG>HDPG,LDPG,0),14);PDIPG:=PDMPG/ATRPG1;MDIPG:=MDMPG/ATRPG1;XLPG:=(PDIPG-MDIPG)/(PDIPG+MDIPG);ZB22:=XLPG>0;指标:(ZB01+ZB02+ZB03+ZB04+ZB05+ZB06+ZB07+ZB08+ZB09+ZB10+ZB11+ZB12+ZB13+ZB14+ZB15+ZB16+ZB17+ZB18+ZB19+ZB20+ZB21+ZB22)*(100/22 ),NODRAW,COLORLIRED;STICKLINE(指标>=REF(指标,1),21,40,4,0),COLORGRAY;STICKLINE(指标<REF(指标,1),21,40,4,1),COLORGRAY;方向成交量:=IFF(CLOSE>=OPEN,VOL,VOL*(-1));LHLNMID:=(3*CLOSE+OPEN+HIGH+LOW)/6;LHLN短线:=WMA(LHLNMID,5);LHLN中线:=WMA(LHLNMID,10);LHLN多头:=LHLN短线>LHLN中线;CP01:=SUM(方向成交量,1)>0;CP02:=SUM(方向成交量,2)>0;CP03:=SUM(方向成交量,3)>0;CP04:=SUM(方向成交量,4)>0;CP05:=SUM(方向成交量,5)>0;CSUM11:=SUM(方向成交量,11);CSUM12:=SUM(方向成交量,12);CSUM13:=SUM(方向成交量,13);CSUM14:=SUM(方向成交量,14);CSUM15:=SUM(方向成交量,15);CSUM16:=SUM(方向成交量,16);CSUM17:=SUM(方向成交量,17);CSUM18:=SUM(方向成交量,18);CSUM19:=SUM(方向成交量,19);CSUM20:=SUM(方向成交量,20);CP11:=CSUM11>0 AND CSUM11>REF(CSUM11,1);CP12:=CSUM12>0 AND CSUM12>REF(CSUM12,1);CP13:=CSUM13>0 AND CSUM13>REF(CSUM13,1);CP14:=CSUM14>0 AND CSUM14>REF(CSUM14,1);CP15:=CSUM15>0 AND CSUM15>REF(CSUM15,1);CP16:=CSUM16>0 AND CSUM16>REF(CSUM16,1);CP17:=CSUM17>0 AND CSUM17>REF(CSUM17,1);CP18:=CSUM18>0 AND CSUM18>REF(CSUM18,1);CP19:=CSUM19>0 AND CSUM19>REF(CSUM19,1);CP20:=CSUM20>0 AND CSUM20>REF(CSUM20,1);CMAZJ05:=MA(方向成交量,5);CMAZJ10:=MA(方向成交量,10);CMAZJ15:=MA(方向成交量,15);CMAZJ20:=MA(方向成交量,20);CMA01:=CMAZJ05>CMAZJ10;CMA02:=CMAZJ05>CMAZJ15;CMA03:=CMAZJ05>CMAZJ20;CMA04:=CMAZJ10>CMAZJ15;CMA05:=CMAZJ10>CMAZJ20;CMA06:=CMAZJ15>CMAZJ20;基准1:=EMA(EMA(EMA(EMA(IFF(方向成交量>=0,方向成交量,0),20),2),2),2);基准6:=基准1*6;CZJDL10:=IFF(方向成交量>基准6,10,IFF(方向成交量<=基准6 AND 方向成交量>0,10*方向成交量/基准6,0));短线总量:=SUM(方向成交量,3);短线总量10:=EMA(短线总量,10);短线总量20:=EMA(短线总量,20);短线总量30:=EMA(短线总量,30);短线总量60:=EMA(短线总量,60);CCZD01:=短线总量>短线总量10;CCZD02:=短线总量20>短线总量30;CCZD03:=短线总量10>短线总量60;总权:=53;量化量能X:=EMA(EMA(100*(CP01*2+CP02*2+CP03*5+CP04*2+CP05*2+CP11*1+CP12*1+CP13 *1+CP14*1+CP15*1+CP16*1+CP17*1+CP18*1+CP19*1+CP20*1+CMA01*2+CMA02*2+CMA03*1+CMA04*1+CMA05*1+CMA06*1+CZJDL10+CCZD01*5+ CCZD02*4+CCZD03*3)/总权,2),2),NODRAW,COLORLIRED;量化量能XX:=IFF(LHLN多头,量化量能X*1.2,量化量能X);量能:WMA(IFF(量化量能XX>=100,100,量化量能XX),3),NODRAW,COLORLIMAGENTA; STICKLINE(量能>=REF(量能,1),0,20,4,0),COLORGRAY;STICKLINE(量能<REF(量能,1),0,20,4,1),COLORGRAY;DRAWTEXT_FIX(1,0,0.08,0,'趋势')COLORCYAN;DRAWTEXT_FIX(1,0,0.27,0,'筹码')COLORGREEN;DRAWTEXT_FIX(1,0,0.47,0,'资金')COLORRED;DRAWTEXT_FIX(1,0,0.66,0,'指标')COLORLIRED;DRAWTEXT_FIX(1,0,0.86,0,'量能')COLORLIMAGENTA;{操盘动力线}绝对底:=0;绝对顶:=38*2.632;底:=3*2.632;顶:=35*2.632;VAR1:=LLV(LOW,10);VAR2:=HHV(HIGH,25);短期趋势线:EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4)*26.3,COLORYELLOW; {DRAWBAND(趋势线,RGB(250,0,0),REF(趋势线,1),RGB(0,250,250));}短多:=IF(短期趋势线>REF(短期趋势线,1),短期趋势线,DRAWNULL),COLORYELLOW;短空:=IF(短期趋势线<=REF(短期趋势线,1),短期趋势线,DRAWNULL),COLORBLUE; DRAWICON(CROSS(短期趋势线,底),5,1);DRAWICON(CROSS(短期趋势线,绝对底),5,1);DRAWICON(CROSS(顶,短期趋势线),98,2);DRAWICON(CROSS(绝对顶,短期趋势线),98,2);{海洋状态}X1:=(2*C+H+L)/4;X2:=LLV(L,34);X3:=HHV(H,34);QSX:=EMA((X1-X2)/(X3-X2)*100,13);QSJX:=EMA((0.618*REF(QSX,1)+0.382*QSX),2);DRAWBAND(QSX,RGB(255,0,0),QSJX,RGB(0,250,250));。

相关文档
最新文档