通达信回调抄底源码,一个很不错的抄底指标公式
{回调抄底}
MAOSC:=EXPMEMA(OSC,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 AND SM06>REF(SM06,1);
CC1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
EE:=(1-14/100)*DD1;
WZ:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;
QSX:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
抄底:=(BE AND BZ AND DI) OR WZBP OR KJ OR DJ1 OR DJ2;
STICKLINE(抄底,1,6,1,0),COLOR00FF00,LINETHICK2;
DRAWTEXT(抄底,10,'抄底'),COLORYELLOW;
来函数检测结果如下:
该公式没有未来函数
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
{回调抄底}
MAOSC赋值:EXPOSC的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 AND SM06>1日前的SM06
CC1赋值:(2*收盘价+最高价+最低价的绝对值/4-收盘价的20日简单移动平均)/收盘价的20日简单移动平均
EE赋值:(1-14/100)*DD1
WZ赋值:(收盘价-收盘价的34日简单移动平均)/收盘价的34日简单移动平均*100
QSX赋值:(收盘价-收盘价的40日简单移动平均)/收盘价的40日简单移动平均*100
抄底赋值:(BE AND BZ AND DI) OR WZBP OR KJ OR DJ1 OR DJ2
当满足条件抄底时,在1和6之间画柱状线
当满足条件抄底时,在10和'抄底'位置书写文字
- QQ:88652583
- 邮箱:88652583@qq.com
- 工作时间:8:30-23:00
- 微信:88652583或扫描如下二维码
sitemap站点地图