九毛八公式指标
公式模块:
请老师帮忙将(地量买入)改为DZH所用,理想的老师们都辛苦了。谢谢。(已解决,非常感谢郑云2009)
虚拟换手:if(currbarscount=1 and period=5,vol*24000/fromopen/capital,0),nodraw;
stickline(currbarscount=1 and period=5,VOL*240/fromopen,0,-1,-1),color00c0c0;
vol,volstick;
volume:vol,volstick;
mavol1:ma(volume,5);
mavoL2:ma(volume,35);
mavol3:=ma(volume,135);
if(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),volume*5,0),coloryellow,linethick2;
vol,volstick;
上斜线:drawline(v<= llv(v,20),vol,vol>=hhv(v,20) ,hhv(v,20),0),,color00ffff,linethick2;
下斜线:drawline(v>=hhv(v,20),v,v<=llv(v,10),hhv(v,6),0),colorffcccc,linethick2;
xg:cross(0.9,1/v*1000>0.01),colorred;
另外还有一个:
rsv:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;
k:SMA(rsv,5,1);
d:sma(k,m1,1);
j:3*k-2*d;
varb2:=(rsv/2+22)*1;
量:=ema(vol,13);
资金:=ema(amount,13);
过滤:=((资金 /量) / 100);
提纯:=(((close -过滤) / 过滤) * 100);
黄金:=((提纯 < (0)) and zxnh),colorred;
低买:if(黄金 and rsv<varb2-2,50,0),colorred,linethick2;
高卖:if(黄金 and rsv>varb2,80,120),colorgreen,linethick2;
上涨分界:25;
再次感谢
FROMOPEN:=IF(HOUR<12,60*(HOUR-9)-30+MINUTE,120+60*(HOUR-13)+MINUTE);
PERIOD:=COUNT(DATE<>REF(DATE,1),2)=2;
虚拟换手:IF(BARSTATUS=1 AND PERIOD=5,VOL*24000/FROMOPEN/CAPITAL,0),LINETHICK0;
STICKLINE(BARSTATUS=1 AND PERIOD=5,VOL*240/FROMOPEN,0,-1,-1),COLOR00C0C0;
VOL,VOLSTICK;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5);
MAVOL2:MA(VOLUME,35);
MAVOL3:=MA(VOLUME,135);
IF(CROSS(0.9,1/VOL*1000>0.01 AND "kdJ.J"<0),VOLUME*5,0),COLORYELLOW,LINETHICK2;
VOL,VOLSTICK;
上斜线:DRAWLINE(V<= LLV(V,20),VOL,VOL>=HHV(V,20) ,HHV(V,20),0),COLOR00FFFF,LINETHICK2;
下斜线:DRAWLINE(V>=HHV(V,20),V,V<=LLV(V,10),HHV(V,6),0),COLORFFCCCC,LINETHICK2;
XG:CROSS(0.9,1/V*1000>0.01),COLORRED;
================
第二个指标中有"zxnh"直线拟合函数,是通达信特有的未来函数,大智慧找不到相关替代。无法改。