珍藏操盘主图指标源码 主图 通达信 贴图
BICCUP1:=MA((C-MA(C,13))/MA(C,13),3)*100,COLORWHITE,LINETHICK0;
BICCUP3:=MA((C-MA(C,34))/MA(C,34),3)*100,COLORFF00FF,LINETHICK0;
进入视野区域:=COUNT(BICCUP3<0,8)>=8 AND COUNT(BICCUP3>0,34)>13 AND COUNT(BICCUP3<0,55)>30 OR BICCUP3<-15,LINETHICK0;
STICKLINE(进入视野区域,C,O,3,0),COLOR8977FF;STICKLINE(进入视野区域,L,H,0,0),COLOR8977FF;
迅速出击:=CROSS(BICCUP1,0) AND SUM(IF(BICCUP3<-15,10,0),8)>10,LINETHICK0;
STICKLINE(迅速出击,C,O,3,0),COLOR0066BB;STICKLINE(迅速出击,C,O,2,0),COLOR0099CC;
STICKLINE(迅速出击,C,O,1,0),COLOR00CCEE;STICKLINE(迅速出击,C,O,0.1,0),COLOR00FFFF;
STICKLINE(迅速出击,L,H,0,0),COLOR00FFFF;DRAWTEXT(迅速出击,C*0.97,'迅速出击'),COLOR0000FF;
LC:=REF(C,1),LINETHICK0;RSI:=((SMA(MAX((C-LC),0),13,1)/SMA(ABS((C-LC)),13,1))*100);
STICKLINE((RSI<20),L,H,0.1,0),COLORFF6600;STICKLINE((RSI<20),O,C,8,0),COLORCC5000;
DRAWTEXT(CROSS(RSI,20-0.0005),L*0.97,'短牛'),COLORAA99AA;
STICKLINE(CROSS(RSI,20-0.0005),C,O,3,0),COLOR888888;
STICKLINE(CROSS(RSI,20-0.0005),C,O,2,0),COLORAAAAAA;
STICKLINE(CROSS(RSI,20-0.0005),C,O,1,0),COLORCCCCCC;
STICKLINE(CROSS(RSI,20-0.0005),C,O,0.1,0),COLORFFFFFF;
STICKLINE(CROSS(RSI,20-0.0005),L,H,0,0),COLORFFFFFF;
RSV:=(((C-LLV(L,9))/(HHV(H,9)-LLV(L,9)))*100);
猛马:=SMA(RSV,3,1);
D:=SMA(猛马,3,1);
{}
牛来了:=((C>LC) AND C>O);
K猛马:=HHV(猛马,5);
白猛马:=HHV(D,5);
D1:=REF(D,1);K1:=REF(猛马,1);
STICKLINE(((白猛马>75) AND CROSS(D,猛马)),C,O,3,0),COLOR008800;
STICKLINE(((白猛马>75) AND CROSS(D,猛马)),C,O,2,0),COLOR00AA00;
STICKLINE(((白猛马>75) AND CROSS(D,猛马)),C,O,1,0),COLOR00CC00;
STICKLINE(((白猛马>75) AND CROSS(D,猛马)),C,O,0.1,0),COLOR00FF00;
STICKLINE(((白猛马>75) AND CROSS(D,猛马)),L,H,0,0),COLOR00FF00;
STICKLINE((((D1<30) AND CROSS(猛马,D)) AND 牛来了),C,O,3,0),COLOR0011FF;
STICKLINE((((D1<30) AND CROSS(猛马,D)) AND 牛来了),C,O,2,0),COLOR0044FF;
STICKLINE((((D1<30) AND CROSS(猛马,D)) AND 牛来了),C,O,1,0),COLOR0077FF;
STICKLINE((((D1<30) AND CROSS(猛马,D)) AND 牛来了),C,O,0.1,0),COLOR0099FF;
STICKLINE((((D1<30) AND CROSS(猛马,D)) AND 牛来了),L,H,0,0),COLOR0099FF;
DRAWTEXT((((D1<30) AND CROSS(猛马,D)) AND 牛来了),L,'立刻出击'),COLOR0066FF;
DRAWTEXT((((D1<30) AND CROSS(猛马,D)) AND 牛来了),L*0.95,'↑买'),COLORFFAAFF;
DRAWTEXT(((白猛马>75) AND CROSS(D,猛马)),H*1.05,'↓卖'),COLOR00CC00;
GXL1:=MA(C,13);{}
GXL:=ATAN((GXL1-REF(GXL1,1)))*180/2;
STICKLINE(GXL>1 AND GXL1>REF(GXL1,1),GXL1,REF(GXL1,1),5,0),COLOR00FFFF;
STICKLINE(GXL<1 AND GXL1<REF(GXL1,1),GXL1,REF(GXL1,1),5,1),COLORGREEN;
GXL2:=MA(C,21);
GXL3:=ATAN((GXL2-REF(GXL2,1)))*180/2;
STICKLINE(GXL3>1,GXL2,REF(GXL2,1),5,0),COLORFF00FF;
STICKLINE(GXL3<1,GXL2,REF(GXL2,1),5,1),COLORFF0000;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
BICCUP1赋值:MA((C-MA(C,13))/MA(C,13),3)*100,画白色,LINETHICK0
BICCUP3赋值:MA((C-MA(C,34))/MA(C,34),3)*100,COLORFF00FF,LINETHICK0
进入视野区域赋值:统计8日满足BICCUP3<0的天数>=8 AND 统计34日满足BICCUP3>0的天数>13 AND 统计55日满足BICCUP3<0的天数>30 OR BICCUP3<-15,LINETHICK0
当满足条件进入视野区域时,在C和O之间画柱状线
当满足条件进入视野区域时,在L和H之间画柱状线
如果BICCUP3<-15返回10否则返回0
当满足条件迅速出击时,在C和O之间画柱状线
当满足条件迅速出击时,在C和O之间画柱状线
当满足条件迅速出击时,在C和O之间画柱状线
当满足条件迅速出击时,在C和O之间画柱状线
当满足条件迅速出击时,在L和H之间画柱状线
当满足条件迅速出击时,在C*0.97和'迅速出击'位置书写文字
LC赋值:1日前的C,LINETHICK0
RSI赋值:((SMA(MAX((C-LC),0),13,1)/SMA((C-LC的绝对值),13,1))*100)
STICKLINE((RSI<20),L,H,0.1,0),COLORFF6600
STICKLINE((RSI<20),O,C,8,0),COLORCC5000
DRAWTEXT(RSI上穿20-0.0005,L*0.97,'短牛'),COLORAA99AA
STICKLINE(RSI上穿20-0.0005,C,O,3,0),COLOR888888
STICKLINE(RSI上穿20-0.0005,C,O,2,0),COLORAAAAAA
STICKLINE(RSI上穿20-0.0005,C,O,1,0),COLORCCCCCC
STICKLINE(RSI上穿20-0.0005,C,O,0.1,0),COLORFFFFFF
STICKLINE(RSI上穿20-0.0005,L,H,0,0),COLORFFFFFF
RSV赋值:(((C-9日内L最低值)/(9日内H最高值-9日内L最低值))*100)
RSV的3日[1日权重]移动平均
猛马的3日[1日权重]移动平均
{}
牛来了赋值:((C>LC) AND C>O)
K猛马赋值:5日内猛马最高值
白猛马赋值:5日内D最高值
D1:=1日前的D
K1赋值:1日前的猛马
STICKLINE(((白猛马>75) AND D上穿猛马),C,O,3,0),COLOR008800
STICKLINE(((白猛马>75) AND D上穿猛马),C,O,2,0),COLOR00AA00
STICKLINE(((白猛马>75) AND D上穿猛马),C,O,1,0),COLOR00CC00
STICKLINE(((白猛马>75) AND D上穿猛马),C,O,0.1,0),COLOR00FF00
STICKLINE(((白猛马>75) AND D上穿猛马),L,H,0,0),COLOR00FF00
STICKLINE((((D1<30) AND 猛马上穿D) AND 牛来了),C,O,3,0),COLOR0011FF
STICKLINE((((D1<30) AND 猛马上穿D) AND 牛来了),C,O,2,0),COLOR0044FF
STICKLINE((((D1<30) AND 猛马上穿D) AND 牛来了),C,O,1,0),COLOR0077FF
STICKLINE((((D1<30) AND 猛马上穿D) AND 牛来了),C,O,0.1,0),COLOR0099FF
STICKLINE((((D1<30) AND 猛马上穿D) AND 牛来了),L,H,0,0),COLOR0099FF
DRAWTEXT((((D1<30) AND 猛马上穿D) AND 牛来了),L,'立刻出击'),COLOR0066FF
DRAWTEXT((((D1<30) AND 猛马上穿D) AND 牛来了),L*0.95,'↑买'),COLORFFAAFF
DRAWTEXT(((白猛马>75) AND D上穿猛马),H*1.05,'↓卖'),COLOR00CC00
GXL1赋值:C的13日简单移动平均
{}
GXL赋值:ATAN((GXL1-1日前的GXL1))*180/2
STICKLINE(GXL>1 AND GXL1>1日前的GXL1,GXL1,1日前的GXL1,5,0),COLOR00FFFF
STICKLINE(GXL<1 AND GXL1<1日前的GXL1,GXL1,1日前的GXL1,5,1),画绿色
GXL2赋值:C的21日简单移动平均
GXL3赋值:ATAN((GXL2-1日前的GXL2))*180/2
STICKLINE(GXL3>1,GXL2,1日前的GXL2,5,0),COLORFF00FF
STICKLINE(GXL3<1,GXL2,1日前的GXL2,5,1),COLORFF0000