请高手把这个好用的大智慧分时指标改在通达信中使用 谢谢
input:N(0,0,250),N1(0,0,100),N2(0,0,100),N3(0,0,100);时:MA(CLOSE,10);分:(EMA(CLOSE,N1)*...
input:N(0,0,250),N1(0,0,100),N2(0,0,100),N3(0,0,100);
时: MA(CLOSE,10);
分: (EMA(CLOSE,N1)*7+EMA(CLOSE,N2)*3)/10,Colorff6633;
VarA:=REF(CLOSE,1);
VarE:=SMA(MAX(CLOSE-VarA,0),6,1)/SMA(ABS(CLOSE-VarA),6,1)*100;
PARTLINE(时,时>REF(时,1),RGB(255,0,0), 时<REF(时,1),RGB(0,255,0)),linethick2;
DRAWTEXT(DATE>700101 AND CROSS(84,VarE),HIGH,☆卖出);
VarF:=(2*CLOSE+HIGH+LOW)/4;
Var10:=LLV(LOW,34);
Var11:=HHV(HIGH,34);
Var12:=EMA((VarF-Var10)/(Var11-Var10)*100,6);
Var13:=EMA(0.667*REF(Var12,1)+0.333*Var12,4);
Var14:=LLV(LOW,120);
Var15:=HHV(HIGH,120);
Var16:=Var15-Var14;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT
(Var12>Var13,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),LOW,★进场);
GDSJ:=HHVBARS(C,N);
REF(C,GDSJ),COLOR00FF00,POINTDOT;
突破:CROSS(C,REF(REF(C,GDSJ),1)) AND REF(GDSJ>=5,1),POINTDOT,LINETHICK0;
STICKLINE(突破,C*0.99,C,5,0),COLOR00FF00;
DRAWTEXT(突破,C*0.99,突破),COLOR00FFFF; 展开
时: MA(CLOSE,10);
分: (EMA(CLOSE,N1)*7+EMA(CLOSE,N2)*3)/10,Colorff6633;
VarA:=REF(CLOSE,1);
VarE:=SMA(MAX(CLOSE-VarA,0),6,1)/SMA(ABS(CLOSE-VarA),6,1)*100;
PARTLINE(时,时>REF(时,1),RGB(255,0,0), 时<REF(时,1),RGB(0,255,0)),linethick2;
DRAWTEXT(DATE>700101 AND CROSS(84,VarE),HIGH,☆卖出);
VarF:=(2*CLOSE+HIGH+LOW)/4;
Var10:=LLV(LOW,34);
Var11:=HHV(HIGH,34);
Var12:=EMA((VarF-Var10)/(Var11-Var10)*100,6);
Var13:=EMA(0.667*REF(Var12,1)+0.333*Var12,4);
Var14:=LLV(LOW,120);
Var15:=HHV(HIGH,120);
Var16:=Var15-Var14;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT
(Var12>Var13,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),LOW,★进场);
GDSJ:=HHVBARS(C,N);
REF(C,GDSJ),COLOR00FF00,POINTDOT;
突破:CROSS(C,REF(REF(C,GDSJ),1)) AND REF(GDSJ>=5,1),POINTDOT,LINETHICK0;
STICKLINE(突破,C*0.99,C,5,0),COLOR00FF00;
DRAWTEXT(突破,C*0.99,突破),COLOR00FFFF; 展开
1个回答
展开全部
时: MA(CLOSE,10),COLOR00FF00,LINETHICK2;
分: (EMA(CLOSE,N1)*7+EMA(CLOSE,N2)*3)/10,COLORFF6633;
VARA:=REF(CLOSE,1);
VARE:=SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100;
IF(时>REF(时,1),时,DRAWNULL),COLOR0000FF,LINETHICK2;
DRAWTEXT(DATE>700101 AND CROSS(84,VARE),HIGH,'☆卖出');
VARF:=(2*CLOSE+HIGH+LOW)/4;
VAR10:=LLV(LOW,34);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VARF-VAR10)/(VAR11-VAR10)*100,6);
VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,4);
VAR14:=LLV(LOW,120);
VAR15:=HHV(HIGH,120);
VAR16:=VAR15-VAR14;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT
(VAR12>VAR13,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),LOW,'★进场');
GDSJ:=HHVBARS(C,N);
REF(C,GDSJ),COLOR00FF00,POINTDOT;
突破:CROSS(C,REF(REF(C,GDSJ),1)) AND REF(GDSJ>=5,1),POINTDOT,NODRAW;
STICKLINE(突破,C*0.99,C,5,0),COLOR00FF00;
DRAWTEXT(突破,C*0.99,'突破'),COLOR00FFFF;
---------------------------------------------------------
自己在参数表里填参数--------{INPUT:N(0,0,250),N1(0,0,100),N2(0,0,100),N3(0,0,100);}
分: (EMA(CLOSE,N1)*7+EMA(CLOSE,N2)*3)/10,COLORFF6633;
VARA:=REF(CLOSE,1);
VARE:=SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100;
IF(时>REF(时,1),时,DRAWNULL),COLOR0000FF,LINETHICK2;
DRAWTEXT(DATE>700101 AND CROSS(84,VARE),HIGH,'☆卖出');
VARF:=(2*CLOSE+HIGH+LOW)/4;
VAR10:=LLV(LOW,34);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VARF-VAR10)/(VAR11-VAR10)*100,6);
VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,4);
VAR14:=LLV(LOW,120);
VAR15:=HHV(HIGH,120);
VAR16:=VAR15-VAR14;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT
(VAR12>VAR13,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),LOW,'★进场');
GDSJ:=HHVBARS(C,N);
REF(C,GDSJ),COLOR00FF00,POINTDOT;
突破:CROSS(C,REF(REF(C,GDSJ),1)) AND REF(GDSJ>=5,1),POINTDOT,NODRAW;
STICKLINE(突破,C*0.99,C,5,0),COLOR00FF00;
DRAWTEXT(突破,C*0.99,'突破'),COLOR00FFFF;
---------------------------------------------------------
自己在参数表里填参数--------{INPUT:N(0,0,250),N1(0,0,100),N2(0,0,100),N3(0,0,100);}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询