您现在的位置:程序化交易>> 股票公式>> 大智慧>> 大智慧公式>>正文内容

八仙过海副图指标公式公式、源码加图[大智慧公式]

相关标签:八仙过海指标公式 、 国画工笔八仙过海 图 、 华三川 八仙过海图 、 唐卡画 八仙过海图 、 通达信八仙过海指标 、 全仓买入指标源码附图 、 八仙过海主题曲 原唱 、 香港赛马会八仙过海图 、 60期八仙过海玄机图 、 八仙过海特码玄机图 、

 

DRAWTEXTREL( 0,10,'八仙过海-副图指标' ),COLORYELLOW;
DRAWTEXTREL( 0,100,'指标用法:八条横线代表八个指标,当天有四个以上红箭头为多头,反之为空头' ),ColorFFAA00;
100,PRECIS0;
DIFF:=EMA(CLOSE,6)-EMA(CLOSE,8);
DEA:=EMA(DIFF,3);
MCDA金叉:DIFF>DEA,LINETHICK0,PRECIS0;
DRAWTEXT(DIFF>DEA,80,'▲'),colorRED,linethick1;
DRAWTEXT(DIFF<DEA,80,'▼'),COLORgreen,linethick1;
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
KDJ金叉:K>D,LINETHICK0,PRECIS0;
DRAWTEXT(K>D,70,'▲'),colorRED,linethick1;
DRAWTEXT(K<D,70,'▼'),COLORgreen,linethick1;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),3,1))/(SMA(ABS(CLOSE-LC),3,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),4,1))/(SMA(ABS(CLOSE-LC),4,1))*100;
RSI金叉:RSI1>RSI2,LINETHICK0,PRECIS0;
DRAWTEXT(RSI1>RSI2,60,'▲'),colorRED,linethick1;
DRAWTEXT(RSI1<RSI2,60,'▼'),COLORgreen,linethick1;
RSV:=-(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8))*100;
LWR1:=SMA(RSV,5,1);
LWR2:=SMA(LWR1,5,1);
LWR金叉:LWR1>LWR2,LINETHICK0,PRECIS0;
DRAWTEXT(LWR1>LWR2,50,'▲'),colorRED,linethick1;
DRAWTEXT(LWR1<LWR2,50,'▼'),COLORgreen,linethick1;
BBI:=(MA(CLOSE,5)+MA(CLOSE,6)+MA(CLOSE,8)+MA(CLOSE,3))/4;
BBI金叉:CLOSE>BBI,LINETHICK0,PRECIS0;
DRAWTEXT(CLOSE>BBI,40,'▲'),colorRED,linethick1;
DRAWTEXT(CLOSE<BBI,40,'▼'),COLORgreen,linethick1;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,3),5)/EMA(EMA(ABS(MTM),3),5);
MMM:=100*EMA(EMA(MTM,8),6)/EMA(EMA(ABS(MTM),8),6);
MTM金叉:MMS>MMM,LINETHICK0,PRECIS0;
DRAWTEXT(MMS>MMM,30,'▲'),colorRED,linethick1;
DRAWTEXT(MMS<MMM,30,'▼'),COLORgreen,linethick1;
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
买盘:=(V9+V8);
卖盘:=(V6+V7);
买卖差:=买盘-卖盘;
DDX:=买卖差;
DX:=MA(买卖差,5)*20;
DDX1:=SMA(DX,3,1);
DDX2:=SMA(DDX1,3,1);
DDX3:=(5*DDX2+4*REF(DDX2,1)+3*REF(DDX2,2)+2*REF(DDX2,3)+REF(DDX2,4))/15;
DDX金叉:DDX1>DDX2,LINETHICK0,PRECIS0;
DRAWTEXT(DDX1>DDX2,20,'▲'),colorRED,linethick1;
DRAWTEXT(DDX1<DDX2,20,'▼'),COLORgreen,linethick1;
量:=V;
换手:=V/CAPITAL*100;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘1:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖盘1:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
DLX:=(买盘1-(-卖盘1))/量*换手;
DLX1:=SUM(DLX,6);
DLX2:=MA(DLX1,5);
VOL金叉:DLX1>DLX2,LINETHICK0,PRECIS0;
DRAWTEXT(DLX1>DLX2,10,'▲'),colorRED,linethick1;
DRAWTEXT(DLX1<DLX2,10,'▼'),COLORgreen,linethick1;
0,PRECIS0;
总分:MCDA金叉*10+KDJ金叉*15+RSI金叉*15+LWR金叉*5+BBI金叉*15+MTM金叉*10+DDX金叉*15+VOL金叉*15,LINETHICK0,PRECIS0;
CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
DRAWTEXTREL(10 ,10 ,'指标公式');


 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 1145508240  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容