通达信起航选股指标公式副图源码
MaoSC:=EXPMEMA(OSC,6);
BIASMA:=MA(BIAS,6);
P1:=IF(C<REF(O,1) AND F<0,1,0);
LIN:=IF(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,1,0);
DJ1:=crOSS(OSC,MAOSC) AND LIN AND REF(EVERY(C<O,3),1) AND REF((E<-98)*50,1);
K:=SMA(RSV,3,1);
J:=3*K-2*D;
DJ2:=CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND REF((E<-98)*50,1) AND REF(EVERY(C<O,3),1);
KX:=IF(C<REF(O,1) AND F1<0,1,0);
BE:=KX=0 AND REF(KX,1)=1 AND LH=0 AND REF(LH,1)=1;
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(Abs(CLOSE-VAR1),7,1)*100;
SM01:=MA((2*C+H+L)/4,5);
SM03:=(1-7/100)*DMA(C,ABS((2*C+H+L)/4-MA(C,20))/MA(C,20));
SM05:=3*SMA(SM04,3,1)-2*SMA(SMA(SM04,3,1),3,1);
SM07:=SM02<SM03 AND SM05>REF(SM05,1) AND REF(SM05,1)<REF(SM05,2) AND SM06<-100
BZ:=SS1 AND SM07;
DD1:=DMA(CLOSE,CC1);
DI:=BETWEEN(C,EE*0.98,EE*1.01);
WZBP:=CROSS(-27,WZ) AND COUNT(H=L,5)<1;
KJ:=CROSS(-20,QSX);
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
MAOSC赋值:EXPOSC的6日平滑移动平均
BIASMA赋值:BIAS的6日简单移动平均
P1赋值:IF(C<1日前的O AND F<0,1,0)
LIN赋值:IF(P1=0 AND 1日前的P1=1 AND P2=0 AND 1日前的P2=1,1,0)
DJ1赋值:OSC上穿MAOSC AND LIN AND 1日前的CRSV的3日[1日权重]移动平均
J赋值:3*K-2*D
DJ2:=CROSS(J,1日前的J+0.01) AND X AND J<20 AND REF((E<-98)*50,1) AND REF(C
KX:=IF(C<1日前的O AND F1<0,1,0)
BE赋值:KX=0 AND 1日前的KX=1 AND LH=0 AND 1日前的LH=1
VAR2赋值:SMA(收盘价-VAR1和0较大值,7,1)/SMA(收盘价-VAR1的绝对值,7,1)*100
SM01赋值:MA((2*C+H+L)/4,5)
SM03赋值:(1-7/100)*DMA(C,(2*C+H+L的绝对值/4-MA(C,20))/MA(C,20))
SM04的3日[1日权重]移动平均
SM07:=SM021日前的SM05 AND 1日前的SM05<2日前的SM05 AND SM06<-100
BZ:=SS1 AND SM07
DD1赋值:D收盘价的CC1日简单移动平均
DI赋值:BETWEEN(C,EE*0.98,EE*1.01)
WZBP赋值:-27上穿WZ AND 统计5日满足H=L的天数<1
KJ赋值:-20上穿QSX
- QQ:88652583
- 邮箱:88652583@qq.com
- 工作时间:8:30-23:00
- 微信:88652583或扫描如下二维码
sitemap站点地图