通达信主图一个特别的

一个特别的通达信主图

高:=REF(HHV(H,N),M);
低:=REF(LLV(L,N),M);
 H19:=高-(高-低)*0.191;
H38:=高-(高-低)*0.382;
H中:=高-(高-低)*0.5;
H61:=高-(高-低)*0.618;
H80:=高-(高-低)*0.809;
 顶点:REFDATE(高,DATE),COLORWHITE;
 %19.8:REFDATE(H19,DATE),COLORYELLOW;
 %38.2:REFDATE(H38,DATE),COLORMAGENTA;
 %50:REFDATE(H中,DATE),COLORRED;
 %61.8:REFDATE(H61,DATE),COLORMAGENTA;
 %80.9:REFDATE(H80,DATE),COLORYELLOW;
 低点:REFDATE(低,DATE),COLORWHITE;
 DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;
 DRAWTEXT(ISLASTBAR,%19.8,'%19.8'),COLORYELLOW;
 DRAWTEXT(ISLASTBAR,%38.2,'%38.2'),COLORMAGENTA;
 DRAWTEXT(ISLASTBAR,%50,'%50'),COLORRED;
 DRAWTEXT(ISLASTBAR,%61.8,'%61.8'),COLORMAGENTA;
 DRAWTEXT(ISLASTBAR,%80.9,'%80.9'),COLORYELLOW;
 VAR1:=(100 - ((70 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
 VAR2:=(100 - ((70 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
 VAR3:=(100 - MA(((80 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));均价线:=AMOUNT/V/100;
 C2:=REF(C,1);
 涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
 STICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;
 STICKLINE(涨停,OPEN,CLOSE,3,0),COLORYELLOW;
 STICKLINE(涨停,H,L,0,0),COLORYELLOW;
 B1:='┄┄┄┄┄';
 DRAWTEXT(均价线 AND 涨停,均价线,B1),COLORGREEN;
 B3:='┄┄┄┄┄';
 DRAWTEXT((O+C)/2  AND 涨停,(O+C)/2 ,B3),COLORMAGENTA;
 B2:='┄┄┄┄┄';
 DRAWTEXT(涨停,L,B2),COLORGRAY;
 MA13:MA(C,13),COLORYELLOW;
 MA21:MA(C,21),COLORWHITE;
 支撑线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
 LC:=REF(CLOSE,1);
 操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
 趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
 震仓线:=45;
 震仓线2:=50;
 逃命线:=80;
 抄底线:=20;
 绝底线:=5;
 PP2:=操作线<震仓线2  AND REF(操作线,1)>震仓线2 ;
 PP:=操作线<震仓线  AND REF(操作线,1)>震仓线 ;
 PP3:=操作线<抄底线  AND REF(操作线,1)>抄底线;
 HH:=COUNT(涨停,13)>=1;
 STICKLINE(PP2 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
 STICKLINE(PP AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
 STICKLINE(PP3 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
 A:=SMA(L,4,3) ;
 STICKLINE(A AND REF(PP,1) AND HH ,A*0.9999,A*0.9979,5,0);
 DRAWICON(A AND REF(PP,1) AND HH,L*0.98,1);
 STICKLINE(A AND REF(PP3,1) AND HH ,A*0.9999,A*0.9979,5,0);
 DRAWICON(A AND REF(PP3,1) AND HH,L*0.98,1);
HD:=COUNT(涨停,21)>=1;
 A1:=SMA(H,4,3);
 STICKLINE(A1 AND HD ,A1,A1*1.001,0.3,0);
 ZT:=C/REF(C,1)>1.097;
 DRAWTEXT(ZT,L*0.98,'涨停'),COLORGRAY;
 VARZT:=BARSLAST(C/REF(C,1)>1.097);
 STICKLINE(VARZT=2,L*0.97,L*0.98,8,0),COLOR0000FF;
 DRAWTEXT(VARZT=2,L*0.95,'3天'),COLORYELLOW;
 STICKLINE(VARZT=4,H*1.03,H*1.02,8,0),COLOR9966FF;
 DRAWTEXT(VARZT=4,H*1.06,'5天'),COLORYELLOW;
 STICKLINE(VARZT=7,L*0.97,L*0.98,8,0),COLOR00FFFF;
 DRAWTEXT(VARZT=7,L*0.95,'8天'),COLORYELLOW;
 STICKLINE(VARZT=12,H*1.03,H*1.02,8,0),COLORFF33FF;
 DRAWTEXT(VARZT=12,H*1.06,'13天'),COLORYELLOW;
 AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);
 AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);
 AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);
 BB1:=0;
 B1万元:=DVOL*DCLOSE/100;
 B1差:=B1万元-REF(B1万元,1);
 B2万元:=DVOL*DCLOSE/100;
 B2比:=B2万元/REF(B2万元,1);
 净流入万元:=(AAA2-AAA3-0.5*AAA4);
 PM:=MA(净流入万元,1);
 PMA:=PM/REF(PM,1)>1;
 PMB:=REF(PMA,1)<1 AND PMA;
密码:(EMA(MA(B1万元,2),2))/100000,COLORYELLOW,NODRAW;
 二日比:=密码/REF(密码,1);
 选股:PMB AND 密码>REF(密码,1) AND 二日比>1,COLORRED,NODRAW;
 
DRAWNUMBER(选股=1 ,L,密码),COLORYELLOW;
 DRAWICON(选股,L*0.975,1);工作线:EMA(CLOSE,50),COLORRED,LINETHICK2;
 工作线2:EMA(CLOSE,17),LINETHICK2;
 
牛:=EMA(CLOSE,144)>=REF(EMA(CLOSE,144),1);
 DRAWTEXT((工作线2>=REF(工作线2,1) AND
 L<工作线2 AND C>工作线2) ,L, '买');参数n1.00.999.00.80.00.m1.00.15.00.3.00




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

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

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