通达信中底大底绝底
TYP := (HIGH + LOW + CLOSE)/3;
AA:=EMA((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),2);
BB:=EMA((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),5);
CC:=EMA((TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20)),13);
STICKLINE(C,0,MA(BB-CC,3),3,1),COLOR866600;
CCI1:AA,COLORGREEN;
CCI2:BB,COLORRED;
CCI3:CC,COLORFF8800;
A:100;
B:-100;
零度轴:0,COLORRED;
N11:=1;
STICKLINE(((CROSS(((V*N11/100-EMA(V/100,5))/EMA(V/100,5)*2+(V*N11/100-EMA(V/100,10))/EMA(V/100,10))*
10,10) OR (((V*N11/100-EMA(V/100,5))/EMA(V/100,5)*2+(V*N11/100-EMA(V/100,10))/EMA(V/100,10))*10-REF
(((V*N11/100-EMA(V/100,5))/EMA(V/100,5)*2+(V*N11/100-EMA(V/100,10))/EMA(V/100,10))*10,1))>=10) AND
C>0 AND C>REF(C,1))*10,0,((V*N11/100-EMA(V/100,5))/EMA(V/100,5)*2+(V*N11/100-EMA(V/100,10))/EMA(V/100,
10))*30,3.2,1),COLORRED;
A17:="KDJ.J";
A18:="KDJ.D";
A19:="KDJ.K";
A20:=REF(CLOSE,1);
A21:=((SMA((MAX((CLOSE - A20),0)),6,1)) / (SMA(ABS((CLOSE - A20)),6,1))) * 100;
A22:=DMA(AMO/VOL,HSL/100);
A23:=(100 * (CLOSE - A22)) / A22;
循环低位:((((A17 < 5) AND (A21 < 20)) AND (A23 < -5)) AND (A18 < 20)) > 0;
STICKLINE(循环低位,0,300,2,0),COLORFF0000;
A24:=(((CLOSE - CYC(13)) / CYC(13)) * 100) ;
中底:((A24 < -18) AND (A21 < 20)) AND (A19 < 18),COLORYELLOW;
STICKLINE((中底 > 0),0,200,4,0),COLORYELLOW;
大底:((A24 < -24) AND (A21 < 20)) AND (A18 < 20),COLORRED;
STICKLINE((大底 > 0),0,100,8,0),COLORRED;
绝底:((A24 < -30) AND (A21 < 15)) AND (A18 < 15),COLORMAGENTA;
STICKLINE((绝底 > 0),0,70,12,0),COLORMAGENTA;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
TYP := (最高价 + 最低价 + 收盘价)/3
AA赋值:EMA((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),2)
BB赋值:EMA((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),5)
CC赋值:EMA((TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20)),13)
STICKLINE(C,0,BB-CC的3日简单移动平均,3,1),COLOR866600
CCI1:AA,画绿色
CCI2:BB,画红色
CCI3:CC,COLORFF8800
输出
A:100
输出
B:-100
输出
零度轴:0,画红色
N11赋值:1
STICKLINE(((CROSS(((V*N11/100-V/100的5日指数移动平均)/V/100的5日指数移动平均*2+(V*N11/100-V/100的10日指数移动平均)/V/100的10日指数移动平均)*
10,10) OR (((V*N11/100-V/100的5日指数移动平均)/V/100的5日指数移动平均*2+(V*N11/100-V/100的10日指数移动平均)/V/100的10日指数移动平均)*10-REF
(((V*N11/100-V/100的5日指数移动平均)/V/100的5日指数移动平均*2+(V*N11/100-V/100的10日指数移动平均)/V/100的10日指数移动平均)*10,1))>=10) AND
C>0 AND C>1日前的C)*10,0,((V*N11/100-V/100的5日指数移动平均)/V/100的5日指数移动平均*2+(V*N11/100-V/100的10日指数移动平均)/V/100的
10日指数移动平均)*30,3.2,1),画红色
A17赋值:"KDJ.J"
A18:="KDJ.D"
A19:="KDJ.K"
A20:=1日前的收盘价
A21:=((SMA((MAX((收盘价 - A20),0)),6,1)) / (SMA((收盘价 - A20的绝对值),6,1))) * 100
A22:=DAMO/成交量的HSL/100日简单移动平均
A23:=(100 * (收盘价 - A22)) / A22
输出
循环低位:((((A17 < 5) AND (A21 < 20)) AND (A23 < -5)) AND (A18 < 20)) > 0
当满足条件循环低位时,在0和300之间画柱状线
A24:=(((收盘价 - CYC(13)) / CYC(13)) * 100)
输出
中底:((A24 < -18) AND (A21 < 20)) AND (A19 < 18),画黄色
STICKLINE((中底 > 0),0,200,4,0),画黄色
输出
大底:((A24 < -24) AND (A21 < 20)) AND (A18 < 20),画红色
STICKLINE((大底 > 0),0,100,8,0),画红色
输出
绝底:((A24 < -30) AND (A21 < 15)) AND (A18 < 15),画洋红色
STICKLINE((绝底 > 0),0,70,12,0),画洋红色