当前位置:→ 公式网 > 大智慧公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是股海无敌系列--布林擒兽(无源码的请下载附件导入)
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- MA5:MA(CLOSE,5),COLORWHITE;
- MA13:MA(CLOSE,13),COLORMAGENTA;
- MA55:MA(CLOSE,55),COLORCYAN,POINTDOT;
- MID:=MA(C,N);
- VART1:=POW((C-MID),2);
- VART2:=MA(VART1,N);
- VART3:=SQRT(VART2);
- UPPER:=MID+2*VART3;
- LOWER:=MID-2*VART3;
- BOLL:REF(MID,1),COLORGREEN,LINETHICK1;
- UB:REF(UPPER,1),COLORFFA100;
- LB:REF(LOWER,1),COLOR4DA1FF;
- XS1:=MA(HIGH,5)*(1+5/100);
- DRAWICON(CROSS(XS1,C),XS1*1.1,'▼'),COLORWHITE;
- {}
- WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
- DRAWICON(FILTER(CROSS(WR,(0 - 81)),10),L,0);{//威廉买点↑}
- DRAWICON(FILTER(CROSS((0 -19),WR),10),H*1.04,1);{//威廉卖点}
- DRAWTEXT(FILTER(CROSS(WR,(0 - 81)),21),L*0.96,'●'),COLORRED;
- DRAWICON(FILTER(CROSS(0 -19,WR),21),H*1.03,'WR'),COLORGREEN;
- STICKLINE(C>REF(C,1)*1.0985 AND C=H,H,L,0,1),COLOR5050FF;{涨停}
- STICKLINE(C>REF(C,1)*1.0985 AND C=H,C,O,0.5,1),COLOR5050FF;
- STICKLINE(C>REF(C,1)*1.0985 AND C=H,C,O,0.5,0),COLOR5050FF;
- STICKLINE(C<REF(C,1)*0.9015 AND C=L,H,L,0,0),COLORFF5500;{跌停}
- STICKLINE(C<REF(C,1)*0.9015 AND C=L,C,O,1,1),COLORFF5500;
- STICKLINE(C<REF(C,1)*0.9015 AND C=L,C,O,1,0),COLORFF5500;
- {长脚}
- 长脚:=(MIN(C,O)-L)/L*100>3.5 AND (MIN(C,O)-L)/(MAX(C,O)-MIN(C,O))>1.3 AND L<=LLV(L,50);
- STICKLINE(长脚,H,L,0.0,1),COLORFFFFFF;
- STICKLINE(长脚,O,C,3,1),COLORFFFFFF;
- 十字:=(MIN(CLOSE,OPEN)-LOW)/MIN(CLOSE,OPEN)>0.015 AND (H-MAX(CLOSE,OPEN))/MAX(CLOSE,OPEN)>0.015 AND MAX(CLOSE,OPEN)/MIN(CLOSE,OPEN)<1.012;
- STICKLINE(十字,H,L,0,1),COLORYELLOW;
- STICKLINE(十字,C,O,1,0),COLORYELLOW;
- 涨:INDEXADV,NODRAW,COLORLIMAGENTA ;
- 跌:INDEXDEC,NODRAW,COLORGREEN;
上一篇:股海无敌系列--勾庄魂 下一篇:股海无敌系列--周周KDJ