把这两个很好的指标公式 该成通达信用吗
2020/1/12 18:49:20
公式编写说明:
美人如玉剑如虹:源码A2:=MA(C,18);A3:=(C-A2)/A2*100>=-9.9 AND C<A2;美人如玉剑如虹:A3 AND C/REF(C,1)>1.099,COLORRED;明月照积雪:源码RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);J1:=IF(CLOSE>QJ,VOL,0);J2:=IF(CLOSE<QJ,VOL,0);明月:MA(SUM(J1-J2,22),3),COLOR00DDDD,NODRAW;累加:=21*明月+20*REF(明月,1)+19*REF(明月,2)+18*REF(明月,3)+17*REF(明月,4)+16*REF(明月,5)+15*REF(明月,6)+14*REF(明月,7)+13*REF(明月,8)+12*REF(明月,9)+11*REF(明月,10)+10*REF(明月,11)+9*REF(明月,12)+8*REF(明月,13)+7*REF(明月,14)+6*REF(明月,15)+5*REF(明月,16)+4*REF(明月,17)+3*REF(明月,18)+2*REF(明月,19)+REF(明月,20);WMA:=累加/(21+1)/21*2;积雪:WMA,COLOR008800,NODRAW;VAR3:=(明月-积雪);VAR4:=SMA(RV,3,1);VAR5:=SMA(VAR4,3,1);STICKLINE(VAR3>0,100,50,3,0),COLOR990099;STICKLINE(VAR3<0,0,50,3,0),COLOR008800;KK:EMA(SMA(RG,3,1),2),COLORFFFFFF;DD:SMA(KK,3,1),COLOR00FFFF;DRAWTEXT(CROSS(VAR4,VAR5) AND CROSS(KK,DD),10,'明月照积雪'),COLOR00FFFF;STICKLINE(CROSS(VAR4,VAR5) AND CROSS(KK,DD),0,100,1,0),COLORMAGENTA;STICKLINE(VAR4<VAR5,VAR4,VAR5,2,0),COLORFF8800;STICKLINE(VAR4>VAR5,VAR5,VAR4,2,0),COLOR0000BB;DRAWICON(CROSS(VAR4,VAR5) AND VAR5<30,2,1);DRAWICON(CROSS(VAR5,VAR4) AND VAR5>30,97,2);明月照积雪:CROSS(VAR4,VAR5) AND CROSS(KK,DD),NODRAW,COLORMAGENTA;买:CROSS(VAR4,VAR5) AND VAR5<30,NODRAW,COLORRED;**************************************************************************************************************************************指标4。和小李飞刀比拼的好指标:明月战神注意:10点以前的信号才是有效信号要求每天下载日线数据,否则选出的个股不准确通达信源码腰线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,,;KKA:=EMA(C-L,5) ;顶线:=MA((C+REF(C,1)+REF(C,1))/3+KKA,5);底线:=MA(REF(C,1)-KKA,5);MA10:= MA(C,10);MA20:= MA(C,20);MA60:= MA(C,60);BBA:=MA(C,2);CCA:=MA(C,10);DDA:=MA(C,20);EEA:=EXIST(CROSS(BBA,CCA) AND CROSS(BBA,DDA),1);RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);J1:=IF(CLOSE>QJ,VOL,0);J2:=IF(CLOSE<QJ,VOL,0);BB:=MA(SUM(J1-J2,22),3);累加:=21*BB+20*REF(BB,1)+19*REF(BB,2)+18*REF(BB,3)+17*REF(BB,4)+16*REF(BB,5)+15*REF(BB,6)+14*REF(BB,7)+13*REF(BB,8)+12*REF(BB,9)+11*REF(BB,10)+10*REF(BB,11)+9*REF(BB,12)+8*REF(BB,13)+7*REF(BB,14)+6*REF(BB,15)+5*REF(BB,16)+4*REF(BB,17)+3*REF(BB,18)+2*REF(BB,19)+REF(BB,20);WMA:=累加/(21+1)/21*2;CC:=WMA;VAR3:=(BB-CC);VAR4:=SMA(RV,3,1);VAR5:=SMA(VAR4,3,1);KK:=EMA(SMA(RG,3,1),2),COLORFFFFFF;DD:=SMA(KK,3,1),COLOR00FFFF;明月战神:腰线>O AND O>底线 AND C>顶线 AND C>MA20 AND C>腰线 AND EEAAND CROSS(VAR4,VAR5) AND CROSS(KK,DD)COLORGREEN;
公式源码回答:
美人如玉:源码
A2:=MA(C,18);
A3:=(C-A2)/A2*100>=-9.9 AND C<A2;
美人如玉剑如虹:A3 AND C/REF(C,1)>1.099,COLORRED;
明月照积雪:源码
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
J0:=(HIGH+LOW)/2;
QJ:=EMA(J0,3);
J1:=IF(CLOSE>QJ,VOL,0);
J2:=IF(CLOSE<QJ,VOL,0);
明月:MA(SUM(J1-J2,22),3),COLOR00DDDD,NODRAW;
累加:=21*明月+20*REF(明月,1)+19*REF(明月,2)+18*REF(明月,3)+17*REF(明月,4)+16*REF(明月,5)+15*REF(明月,6)+14*REF(明月,7)+13*REF(明月,8)+12*REF(明月,9)+11*REF(明月,10)+10*REF(明月,11)+9*REF(明月,12)+8*REF(明月,13)+7*REF(明月,14)+6*REF(明月,15)+5*REF(明月,16)+4*REF(明月,17)+3*REF(明月,18)+2*REF(明月,19)+REF(明月,20);
WMAA:=累加/(21+1)/21*2;
积雪:WMAA,COLOR008800,NODRAW;
VAR3:=(明月-积雪);VAR4:=SMA(RV,3,1);
VAR5:=SMA(VAR4,3,1);
STICKLINE(VAR3>0,100,50,3,0),COLOR990099;
STICKLINE(VAR3<0,0,50,3,0),COLOR008800;
KK:EMA(SMA(RG,3,1),2),COLORFFFFFF;DD:SMA(KK,3,1),COLOR00FFFF;
DRAWTEXT(CROSS(VAR4,VAR5) AND CROSS(KK,DD),10,'明月照积雪'),COLOR00FFFF;
STICKLINE(CROSS(VAR4,VAR5) AND CROSS(KK,DD),0,100,1,0),COLORMAGENTA;
STICKLINE(VAR4<VAR5,VAR4,VAR5,2,0),COLORFF8800;
STICKLINE(VAR4>VAR5,VAR5,VAR4,2,0),COLOR0000BB;
DRAWICON(CROSS(VAR4,VAR5) AND VAR5<30,2,1);
DRAWICON(CROSS(VAR5,VAR4) AND VAR5>30,97,2);
明月照积雪:CROSS(VAR4,VAR5) AND CROSS(KK,DD),NODRAW,COLORMAGENTA;
买:CROSS(VAR4,VAR5) AND VAR5<30,NODRAW,COLORRED;
**************************************************************************************************************************************
指标4。和小李飞刀比拼的好指标:明月战神
注意:10点以前的信号才是有效信号
要求每天下载日线数据,否则选出的个股不准确
通达信源码
腰线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,,;
KKA:=EMA(C-L,5) ;
顶线:=MA((C+REF(C,1)+REF(C,1))/3+KKA,5);
底线:=MA(REF(C,1)-KKA,5);
MA10:= MA(C,10);
MA20:= MA(C,20);
MA60:= MA(C,60);
BBA:=MA(C,2);
CCA:=MA(C,10);
DDA:=MA(C,20);
EEA:=EXIST(CROSS(BBA,CCA) AND CROSS(BBA,DDA),1);
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
J0:=(HIGH+LOW)/2;
QJ:=EMA(J0,3);
J1:=IF(CLOSE>QJ,VOL,0);
J2:=IF(CLOSE<QJ,VOL,0);
BB:=MA(SUM(J1-J2,22),3);
累加:=21*BB+20*REF(BB,1)+19*REF(BB,2)+18*REF(BB,3)+17*REF(BB,4)
+16*REF(BB,5)+15*REF(BB,6)+14*REF(BB,7)+13*REF(BB,8)+12*REF
(BB,9)+11*REF(BB,10)+10*REF(BB,11)+9*REF(BB,12)+8*REF(BB,13)
+7*REF(BB,14)+6*REF(BB,15)+5*REF(BB,16)+4*REF(BB,17)+3*REF
(BB,18)+2*REF(BB,19)+REF(BB,20);
WMAA:=累加/(21+1)/21*2;
CC:=WMAA;
VAR3:=(BB-CC);VAR4:=SMA(RV,3,1);
VAR5:=SMA(VAR4,3,1);
KK:=EMA(SMA(RG,3,1),2),COLORFFFFFF;
DD:=SMA(KK,3,1),COLOR00FFFF;
明月战神:腰线>O AND O>底线 AND C>顶线 AND C>MA20 AND C>腰线 AND EEA
AND CROSS(VAR4,VAR5) AND CROSS(KK,DD)COLORGREEN;
投 股票网 www.to u18.cn
股市公式下载推荐