请高手帮忙把下面的通达信公式改成大智慧的,谢谢了! 5

虚拟量:IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBAR... 虚拟量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟量,0,0.3,0.5),COLORRED;
VOLUME:VOL,VOLSTICK;
VAR1:=VOL/((H-L)*2-ABS(C-O));
主买:=IF(C>O,VAR1*(H-L),IF(C<O,VAR1*((H-O)+(C-L)),VOL/2)),COLORRED,NODRAW;
主卖:=IF(C>O,0-VAR1*((H-C)+(O-L)),IF(C<O,0-VAR1*(H-L),0+V/2)),COLOR00FF00,NODRAW;
【差】:(主买+主卖),NODRAW,COLOR0000FF;
K:=IF(【差】>0,【差】,-【差】);
STICKLINE(【差】>0,0,K,2.5,0),COLOR000088;
STICKLINE(【差】>0,0,K,1.8,0),COLOR0000AA;
STICKLINE(【差】>0,0,K,1.2,0),COLOR0000CC;
STICKLINE(【差】>0,0,K,0.4,0),COLOR0000EE;
STICKLINE(【差】<0,0,K,2.5,0),COLOR008800;
STICKLINE(【差】<0,0,K,1.8,0),COLOR00AA00;
STICKLINE(【差】<0,0,K,1.2,0),COLOR00CC00;
STICKLINE(【差】<0,0,K,0.4,0),COLOR00EE00;
AA1:=VOL<REF(LLV(VOL,20),1);
AA2:=VOL<REF(LLV(VOL,60),1);
AA3:=VOL<REF(LLV(VOL,100),1);
STICKLINE(AA1,0,V,1,1),COLORBLUE;
STICKLINE(AA2,0,V,0.6,1),COLORMAGENTA;
STICKLINE(AA3,0,V,0.3,1)COLORWHITE;
DDX:=主买+主卖;
DX:=MA(DDX,5)*5;
DDX1:SMA(DX,3,1),COLORRED,LINETHICK1;
DDX2:SMA(DDX1,3,1),COLORYELLOW,LINETHICK1;
DDX3:EMA(DDX2,5),COLORF0F000,LINETHICK1;
X1:=(3*C+L+H+O)/6;
F:=(EMA(CLOSE,5)-EMA(CLOSE,21))*4;
VAR10:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
VAR20:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);
VAR30:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
VAR40:=(20*X1+19*REF(X1,1)+18*REF(X1,2)+17*REF(X1,3)+16*REF(X1,4)+15*REF(X1,5)+
14*REF(X1,6)+13*REF(X1,7)+12*REF(X1,8)+11*REF(X1,9)+10*REF(X1,10)+9*REF(X1,11)+8*REF(X1,12)
+7*REF(X1,13)+6*REF(X1,14)+5*REF(X1,15)+4*REF(X1,16)+3*REF(X1,17)+2*REF(X1,18)+REF(X1,20))/210;
MTM:=C-REF(C,1);
DX1:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
CB:=EMA(VAR40,13);
卖1:=HHV(DX1,2)=HHV(DX1,7) AND COUNT(DX1>50,2) AND CROSS(MA(DX1,2),DX1);
DRAWTEXT(FILTER(卖1=1,1),VOLUME*-0.1,'卖'),COLOR00C800;
买1:=LLV(DX1,2)=LLV(DX1,7) AND COUNT(DX1<0,2) AND CROSS(DX1,MA(DX1,2));
DRAWTEXT(FILTER(DDX1>=DDX2 AND 买1=1,5),VOLUME*-0.1,'买'),COLORYELLOW;
展开
 我来答
秛酱
2014-06-10 · TA获得超过186个赞
知道答主
回答量:190
采纳率:50%
帮助的人:57.4万
展开全部
多方:EMA(100-3*SMA((LLV(LOW,75)-CLOSE)/(HHV(HIGH,75)-LLV(LOW,75))*100,27,1)+2*SMA(SMA((LLV(LOW,75)-CLOSE)/(HHV(HIGH,75)-LLV(LOW,75))*100,27,1),15,1)-100,3),LINETHICK2,COLORCC00CC;MA(多方,3);
空方:EMA(100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,27,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,27,1),15,1),3),LINETHICK2,COLOR00CC00;
V1:=(C*2+H+L)/4*10; V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
主力撤:=IF(V4<=0,V4,0);
主力进:=IF(V4>=0,V4,0);
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5); V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4; V9:=EMA(V8,13)-EMA(V8,34); VA:=EMA(V9,3); VB:=(V9-VA)/2;
大盘资金进场:=IF(VB>=0,VB,0);
大盘资金撤走:=IF(VB<=0,VB,0);
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); V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100; 准备现金:STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900;
AA:=(趋势线<=13) AND FILTER((趋势线<=13),15); DRAWTEXT (AA,30,''),COLORCC9900; 买入股票:STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF;
BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ; DRAWTEXT (BB,60,'买入'),COLOR0099FF;
卖临界:STICKLINE(趋势线>90 AND 趋势线>REF(趋势线,1),100,95,15,1),COLORFFFF00;见顶清仓:=FILTER(趋势线>90 AND 趋势线<REF(趋势线,1) AND 主力进<REF(主力进,1),8); DRAWTEXT( 见顶清仓,90,'逃顶'),COLORYELLOW;CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);STICKLINE(大盘资金进场 AND 趋势线<13,0,30,10,0),COLORRED;STICKLINE(大盘资金撤走 AND 趋势线>90,0,30,10,0),COLORGREEN;STICKLINE(主力进 AND 趋势线<13,0,40,10,0),COLORFF00FF;STICKLINE(主力撤 AND 趋势线>90,0,40,10,0),COLORBLUE;P:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),3);
风警值:P+100,COLORYELLOW,LINETHICK2;顶:95,COLORRED,LINETHICK2;底:5,COLORGREEN,LINETHICK2;

(已修改并测试)
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
pu...7@163.com
2014-06-10 · 超过19用户采纳过TA的回答
知道答主
回答量:144
采纳率:0%
帮助的人:49.1万
展开全部
信噪比:≥10; M1:= 3; M2:= 3;

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))* 100;

杀:= SMA(RSV,M1,1);

D:= SMA(K,M2,1);

记者:= 3 * K-2 * D;

短期高度:IF(BETWEEN(“KDJ.K”,100,80),88,100);

短期低:IF(BETWEEN(“KDJ.K”,20,0),12,0);

波低:IF(BETWEEN(“KDJ.K#WEEK”,10,0),30,0);

波高:IF(BETWEEN(“KDJ.K#WEEK”,100,90),70,100);

低:IF(BETWEEN(“KDJ.K#MONTH”,20,0),30,0),COLOR0000FF; 高:IF(BETWEEN(“KDJ.K#MONTH”,100,75),70,100);

A1:= BARSLAST(REF(CROSS(“MACD.DIF”,“MACD.DEA”),1));

B1:= REF(CLOSE,A1 +1)> CLOSE AND REF(“MACD.DIF”,A1 +1)<“。MACD的DIF”AND CROSS(“MACD.DIF”,“MACD.DEA” ); MACD结束:FILTER(B1> 0,5),LINETHICK0;

STICKLINE(FILTER(B1> 0,5),0,10,3,0),COLOR00FF00;

DrawText的(FILTER(B1> 0,5),10,'MACD后端'),COLOR00FF00;

A2:= BARSLAST(REF(CROSS(“KDJ.K”,“KDJ.D”),1));

B2:= REF(CLOSE,A2 +1)> CLOSE AND REF(“KDJ.K”,A2 +1)<“KDJ.K”AND CROSS(“KDJ.K”,“KDJ.D” );

出发KDJ结束:FILTER(B2> 0,5),LINETHICK0;

STICKLINE(FILTER(B2> 0,5),0,20,3,0),COLOR00FFFF;

DrawText的(FILTER(B2> 0.5),20,'KDJ后端'),COLOR00FFFF;

A3:= BARSLAST(REF(CROSS(“RSI.RSI1”,“RSI.RSI2”),1));

B3:= REF(CLOSE,A3 +1)>;关闭和REF(“RSI.RSI1”,A3 +1)<“RSI.RSI1”AND CROSS(“RSI.RSI1”,“RSI.RSI2”); 强弱指数结束:FILTER(B3> 0,5),LINETHICK0;

STICKLINE(FILTER(B3> 0,5),0,30,3,0),COLORFFFF00;

DrawText的(FILTER(B3> 0,5),30,'RSI后端'),COLORFFFF00;

C1:= BARSLAST(REF(CROSS(“MACD.DEA”,“MACD.DIF”),1)); D1:= REF(CLOSE,C1 +1)和“MACD.DIF”AND CROSS(“MACD.DEA”,“MACD.DIF “);

MACD顶背离:FILTER(D1> 0,5),LINETHICK0;

STICKLINE(FILTER(D1> 0,5),100,80,3,0),COLOR0066FF;

DrawText的(FILTER(D1> 0,5),80,'MACD顶了回去'),COLOR0066FF;

C2:= BARSLAST(REF(CROSS(“KDJ.D”,“KDJ.K”),1));

D2:= REF(CLOSE,C 2 +1)和“KDJ.K”AND CROSS(“KDJ.D”,“KDJ.K” );

从顶部KDJ出发:FILTER(D2> 0,5),LINETHICK0;

STICKLINE(FILTER(D2> 0,5),100,70,3,0),COLOR0000FF;

DrawText的(FILTER(D2> 0,5),70,'KDJ顶了回去'),COLOR0000FF;

C3:= BARSLAST(REF(CROSS(“RSI.RSI2”,“RSI.RSI1”),1));

D3:= REF(CLOSE,C 3 +1)“RSI.RSI1”AND CROSS(“RSI.RSI2”,“RSI.RSI1” );
从顶部相对强弱指数出发:FILTER(D3> 0,5),LINETHICK0;
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式