那位高手请帮忙把这个指标改为通达信指标。或预警公式,谢谢了。

MA10:MA(CLOSE,10);
STICKLINE((CLOSE > MA10),LOW,HIGH,0.8,0),colorred;
STICKLINE((CLOSE > MA10),OPEN,CLOSE,4,0),colorred;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),9,1) / SMA(ABS((CLOSE - LC)),9,1)) * 100);
STICKLINE((RSI < 20),LOW,HIGH,0.8,0),colorFF6600;
STICKLINE((RSI < 20),OPEN,CLOSE,4,0),colorCC5000;
DRAWICON(CROSS(RSI,(20 - 0.0005)),LOW*0.99,1);

RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
YX:=((CLOSE > LC) AND ISUP);
KK:=HHV(K,5);
DD:=HHV(D,5);
D1:=REF(D,1);
K1:=REF(K,1);

DRAWTEXT((((D1 < 30) AND CROSS(K,D)) AND YX),(LOW * 1),'△'),COLORYELLOW;
DRAWTEXT((((D1 < 30) AND CROSS(K,D)) AND YX),(LOW * 0.992),'↑'),COLORYELLOW;
DRAWTEXT (((DD > 70) AND CROSS(D,K)),HIGH*1.02,''),colorFF00cc;

第1个回答  2011-08-25
TR1:=EXPMEMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),12);
HD1:=H-REF(H,1); LD1:=REF(L,1)-L;
VAR1:=EXPMEMA(IF(HD1>0&&HD1>LD1,HD1,0),12)*100/TR1;
VAR2:=EXPMEMA(IF(LD1>0&&LD1>HD1,LD1,0),12)*100/TR1;
VAR3:=VAR1>65 AND VAR1>REF(VAR1,1);
VAR4:=LLV(VAR1,0);
VAR5:=BARSLAST(VAR4=VAR1);
VAR6:=(0-REF(VAR2,4))/(VAR4-REF(VAR2,VAR5))>2;
VAR7:=VAR1>REF(VAR1,1);
VAR8:=VOL>2*MA(VOL,30);
VAR9:=EXPMEMA(ABS(VAR2-VAR1)/(VAR2+VAR1)*100,6);
VARA:=EXPMEMA(VAR3,6);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARE:=0-(EMA(CLOSE,7)-EMA(CLOSE,21));
VARF:=TROUGHBARS(3,15,1)<4;
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
VAR12:=CROSS(VAR2,VAR1) AND CROSS(VARA,VAR9);
VAR13:=CROSS(VAR2,VAR1) AND CROSS(VAR9,VARA);
VAR14:=VARB AND VARC AND VARD AND VAR10 AND VAR6 AND VAR7 AND VAR8*50;
VAR15:=BARSLAST(CROSS(VAR2,VAR1)=1);
VAR16:=BARSLAST(CROSS(VAR1,VAR2)=1);
VAR17:=HHV(VAR1,VAR16);
VAR18:=BARSLAST(VAR1=VAR17);
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
STICKLINE(0=0,0,0,1500,1),COLORRED;
STICKLINE(FILTER(VARF=1,5) AND 多空<-10,50,0,10,0),COLORF00FF0;
STICKLINE(FILTER(VARF=1,5),50,0,5,0),COLORYELLOW;
VAR19:=VAR3 OR VAR12 OR VAR13*100;
VAR1A:=VAR13*100;
DRAWTEXT(FILTER(VARF=1,3),25,'←会员★之星'),COLORRED;
STICKLINE(多空<-10,0,多空,0.85,0),COLORYELLOW;
STICKLINE(多空>10,0,多空,0.95,0),COLORRED;
第2个回答  2011-08-25
公式复制不齐全
第3个回答  2011-08-25
你想改成通达信的预警没有问题啊,可是你没有说把哪个信号改成预警啊!追问

这是大智慧指标。改为通达信的行吗?出现。会员之星呀/我也不懂。先wzqwyc 谢谢了,

追答

你要告诉我,你想把哪个信号做预警,那么多信号呢!

相似回答