通达信龙飞凤舞擒牛波段买卖抄底幅图指标公式源码:
幅图1源码:
VAR0:=SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,5,1);
波段线:EMA(VAR0,3),NODRAW;
VAR1:=EMA(波段线,2);
VAR2:=EMA(VAR1,2);
VAR3:=CROSS(VAR1,VAR2);
VAR4:=CROSS(VAR2,VAR1);
STICKLINE(波段线>20 AND 波段线<50,波段线-2,波段线+2,5,0),COLORYELLOW;
抄底:IF(CROSS(波段线,8) OR CROSS(波段线,15),波段线*3.0,0),COLORMAGENTA,LINETHICK2;
{云析赢指标公式网,指标公式,指标源码,指标编写教程、指标破解指标论坛。www.zbgs518.com}
卖:IF(VAR4,波段线,0),COLORYELLOW,NODRAW;
DRAWTEXT(VAR3 AND VAR1>20,波段线-12,’买’),COLORRED;
STICKLINE(VAR3 AND VAR1>20,波段线,0,1,0),COLORRED;
买:IF(VAR3 AND VAR1>20 ,波段线,0),COLORRED,LINETHICK8,NODRAW;
STICKLINE(波段线>80,波段线-2,波段线+2,5,0),COLORRED;
STICKLINE(波段线<20,波段线-2,波段线+2,5,0),COLORBLUE;
STICKLINE(波段线>50 AND 波段线<80,波段线-2,波段线+2,5,0),COLORMAGENTA;
DRAWTEXT(抄底>1,抄底+5,’ 抄底’),COLORYELLOW;
DRAWTEXT(VAR4,波段线+18,’卖’),COLORYELLOW;
STICKLINE(VAR4,波段线,波段线+20,1,0),COLORGREEN;
幅图2源码:
龙年大运K:=”KDJ.K”(89,3,3),COLOR00FF00;
龙年大运D:=”KDJ.D”(89,3,3),COLOR00FF00,LINETHICK2;
擒牛K:=”KDJ.K”(27,3,3),COLORRED;
擒牛D:=”KDJ.D”(27,3,3),COLORRED,LINETHICK2;
起飞K:=”KD.K”(5,3,3),COLORWHITE;
起飞D:=”KD.D”(5,3,3),COLORWHITE,LINETHICK2;
起飞共振:=IF(CROSS(起飞K,起飞D),50,0),COLORFFFFFF;
擒牛共振:=IF(CROSS(擒牛K,擒牛D),30,0),COLORRED;
DRAWTEXT(擒牛共振,30,’擒牛叉’),COLORRED;
龙年大运共振:=IF(CROSS(龙年大运K,龙年大运D),20,0),COLOR0080FF;
{云析赢指标公式网,指标公式,指标源码,指标编写教程、指标破解指标论坛。www.zbgs518.com}
DRAWTEXT(龙年大运共振,20,’龙年大运叉’),COLORYELLOW;
龙飞凤舞:66,COLORFFA2AF LINETHICK0;
龙牛起舞:88,COLORFFA2AF,POINTDOT;
STICKLINE( 擒牛共振 AND 龙年大运共振,0,66,2,0),COLORYELLOW;
DRAWTEXT(擒牛共振 AND 龙年大运共振,60,’ ★日周’),COLORRED;
STICKLINE(起飞共振 AND 擒牛共振 AND 龙年大运共振,0,66,2,0),COLORLIMAGENTA;
DRAWTEXT(起飞共振 AND 擒牛共振 AND 龙年大运共振,60,’ ★日周月’),COLORRED;
DRAWICON(擒牛共振 AND 龙年大运共振,58,25);
DRAWICON(起飞共振 AND 擒牛共振 AND 龙年大运共振,66,9);