黄金波道通达信公式 主图 源码附图

Z1:=STRCAT(HYBLOCK,' ');
 
Z2:=STRCAT(Z1,DYBLOCK);
 
Z3:=STRCAT(Z2,' ');
 
DRAWTEXT_FIX(ISLASTBAR,0.6,0.99,0,STRCAT(Z3,GNBLOCK)),COLOR00C0C0;
 
ZK1:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),COLORGREEN,LINETHICK2;
 
ZD1:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
 
ZD2:EMA(ZD1,25),LINETHICK2;
 
DRAWBAND(ZD1,RGB(55,0,0),ZD2,RGB(0,91,0));
 
DRAWKLINE(H,O,L,C);
 
 
STICKLINE(ZD1>LOW AND ZD1<HIGH,ZD1,MIN(MIN(OPEN,CLOSE),ZD1),2,0),COLORYELLOW;
 
STICKLINE(ZD1>MIN(C,O) AND ZD1<MAX(C,O),ZD1,MIN(OPEN,CLOSE),2,0),COLORYELLOW;
 
STICKLINE(ZD1>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
 
STICKLINE(ZD1>HIGH,HIGH,LOW,0,0),COLORYELLOW;
 
VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
 
回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
 
XG:=ZD1>HIGH AND 回调买 AND L<=ZD1;
 
DRAWTEXT(XG,L,'▲'),COLORRED;
 
JJ:=(HIGH+LOW+CLOSE)/3;
 
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
 
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
 
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
 
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
 
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
 
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
 
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
 
V5:=SMA(V2*120/FROMOPEN*5,2,1);
 
V10:=SMA(V5,5,1);
 
V20:=SMA(V10,5,1);
 
DY:=CURRBARSCOUNT=1 AND C<REF(C,1);
 
DY2:=REF(V2,1)-DY;
 
XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<ZK1;
 
{DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}
 
DRAWTEXT(XG2 AND L<ZD1,L,'金牛'),COLORRED;
 
TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
 
筹码突破:=C>TYX3 AND(C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),COLORRED;
 
A111:=COST(85); 
 
A222:=COST(15); 
 
A333:=A111-A222; 
 
A444:=(A111+A222)/2; 
 
单峰密集:=A333/A444*100<30,LINETHICK0;
 
{A5:=A3/A4*100<30;} 
 
B1:=HHV(HIGH,250); 
 
B2:=LLV(LOW,250); 
 
B3:=B1-B2; 
 
B4:=(A444-B2);
 
低位:=A444<(B3*04+B2),LINETHICK0; 
 
低位单峰密集:=单峰密集 AND 低位;
 
B5:=C/REF(C,1)>1.04; {AND V/REF(V,1)>2;{ AND H=C;}
 
主力持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
 
主力持仓大于75%:=主力持仓%>=75 {AND 主力持仓%<=91} AND C>0 AND CLOSE>OPEN AND C=H;
 
敢死吗:=主力持仓大于75% AND 低位单峰密集 AND B4 AND WINNER(C)>=0.91 AND B5,COLORGREEN,LINETHICK3;
 
{DRAWTEXT(FILTER(敢死吗=1,5),L,'----敢死吗'),COLORGREEN;}
 
DRAWICON(FILTER(敢死吗=1,5),L,25);
 
 
 
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
 
DEA1:=EMA(DIF1,9);
 
AAA1:=(DIF1-DEA1)*2*60;
 
AAA上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL);
 
AAA下:=IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL);
 
买:=13;
 
入:=AAA1-REF(AAA1,1);
 
正大:=CROSS(入,买);
 
DIF2:=EMA(DCLOSE,10)-EMA(DCLOSE,72);
 
DEA2:=EMA(DIF2,17);
 
AAA:=(DIF2-DEA2)*2*60;
 
入2:=AAA-REF(AAA,1);
 
牛股:=CROSS(入2,13);
 
正大牛股:=正大 AND 牛股;
 
DRAWICON(正大牛股,L,1);
 
VAR1:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;
 
VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
 
VAR3:=SMA(VAR2,3,1);
 
天:=100+(-ABS(VAR1)),COLORRED;
 
下:=SMA(VAR3,2,1);
 
无:=ABS(VAR1),COLORGREEN;
 
敌:=50,COLORFFAA00,LINETHICK3;
 
LC:=REF(CLOSE,1);
 
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
 
卖:=CROSS(90,操作线);
 
DRAWICON(卖,H,8);
 
绝底线:=5;
 
买阴线1:操作线<5 AND ZD1>ZD2 AND L<ZD1,NODRAW;
 
DRAWICON(买阴线1,L,7);
 
买阴线2:操作线<5 AND ZD1<ZD2 AND L<ZD1,NODRAW;
 
DRAWICON(买阴线2,L,7);
 
NOTEXT1:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
 


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

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

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