通达信神偷盗牛-公式源码
{牛牛指标网提供:www.tdx001.com}
复制内容到剪贴板
- {神偷盗牛}
- RSVCC:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
- STICKLINE( RSVCC>0,100,50,10,0),COLOR660044;
- STICKLINE( RSVCC>0,50,0,10,0),COLOR003300;
- N:=9;M1:=3;M2:=3;P:=9;
- 快线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,,COLORRED,LINETHICK2;
- 慢线:=SMA(快线,M1,1)COLORCYAN;
- 空:=SMA(慢线,M2,1),COLOR00FF00;
- 牛股浮出:IF(BARSLAST(CROSS(慢线,空))<P AND BARSLAST(CROSS(空,慢线))<P AND CROSS(慢线,空) AND 慢线<20,90,0),COLOR0099FF;
- STICKLINE(牛股浮出,0,60,9,0),COLORGREEN;
- STICKLINE(牛股浮出,0,70,7,0),COLORFF0033;
- STICKLINE(牛股浮出,0,80,6,0),COLORFF0066;
- STICKLINE(牛股浮出,0,90,5,0),COLORFF0099;
- STICKLINE(牛股浮出,0,100,3,0),COLORFF00CC;
- STICKLINE(牛股浮出,0,105,1.5,0),COLOR0099FF;
- STICKLINE(牛股浮出,0,105,0.6,0),COLORRED;
- AA:=LLV(LOW,13);
- BB:=HHV(HIGH,13);
- DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
- 牛牛指标神偷:DD,COLORRED,LINETHICK2;
- 牛牛指标:=(((DD-LLV(DD,21))/(HHV(DD,13)-LLV(DD,21)))*(4))*(25);
- 真海神偷:IF(CROSS(牛牛指标,90) AND (牛牛指标神偷<40),70,0),COLORMAGENTA;
- {DRAWICON(CROSS(牛牛指标,90),45,5);}
- 跟踪:10,COLORFF00FF;
- 神偷隐现:IF(牛牛指标神偷<55,13,1)COLORCYAN,LINETHICK2;
- REF(牛牛指标神偷,1)>=1 AND (REF(牛牛指标神偷,2));
- REF(REF(牛牛指标神偷,1),2)AND (牛牛指标神偷<跟踪),COLOR00FFFF;
- IF((COUNT((牛牛指标神偷>REF(牛牛指标神偷,1)),1)=1) AND (REF(牛牛指标神偷,1)<REF(REF(牛牛指标神偷,1),1)) AND (牛牛指标神偷<跟踪),50,0),COLORF00FF0;
- 风险:80,COLORFF00FF;
- 狼狗:87.5,COLOR00FF00;
A87215696.jpg
|