马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
黑马黄牛 看看月线就知道很经典(通达信)[size=1.5]
MA1:=(C+O+H+L)/4;
MA8:=MA(MA1,8);
ZQSJ:=BARSLAST(CROSS(MA1,MA8))+1;
ZRSJ:=BARSLAST(CROSS(MA8,MA1))+1;
短线:IF(ZQSJ=ZRSJ,REF(ZRSJ,1),0),COLOR0000FF,LINETHICK2;
黑马:IF(ZQSJ=ZRSJ,0-REF(ZRSJ,1),0),COLOR0000FF,LINETHICK2;
XXSJ:=BARSLAST(CROSS(0.8,短线))+1;
休息:IF(短线=0,XXSJ,0),COLOR00FF00,POINTDOT,LINETHICK1;
RSV:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,5,1);
J:=3*K-2*D;
中线:IF(JK,J,0),COLOR00FFFF,LINETHICK2;
黄牛:IF(JK,0-J,0),COLOR00FFFF,LINETHICK2;
强势:IF(JKANDJ=50,50,IF(JK,J,0)),COLORFF00FF,POINTDOT,LINETHICK0;
DXDD:=L=LLV(L,3)ORC=LLV(C,3);
回头:IF(DXDDANDCOUNT(短线0AND中线=30,3)=1,-30,0),COLORFFFFFF,LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*200-100;
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*200-100;
MA2:=MA(RSI,2);
太阳:IF(MA290ANDRSI650,1,0),COLOR0000FF,POINTDOT,LINETHICK0;
{【黑马黄牛】指标使用说明:
短线黑马小波段,中线黄牛大波澜;
短线回头中线强,寻机低吸等反弹。}
MA1:=(C+O+H+L)/4;
MA8:=MA(MA1,8);
ZQSJ:=BARSLAST(CROSS(MA1,MA8))+1;
ZRSJ:=BARSLAST(CROSS(MA8,MA1))+1;
短线:IF(ZQSJ=ZRSJ,REF(ZRSJ,1),0),COLOR0000FF,LINETHICK2;
黑马:IF(ZQSJ=ZRSJ,0-REF(ZRSJ,1),0),COLOR0000FF,LINETHICK2;
XXSJ:=BARSLAST(CROSS(0.8,短线))+1;
休息:IF(短线=0,XXSJ,0),COLOR00FF00,POINTDOT,LINETHICK1;
RSV:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,5,1);
J:=3*K-2*D;
中线:IF(JK,J,0),COLOR00FFFF,LINETHICK2;
黄牛:IF(JK,0-J,0),COLOR00FFFF,LINETHICK2;
强势:IF(JKANDJ=50,50,IF(JK,J,0)),COLORFF00FF,POINTDOT,LINETHICK0;
DXDD:=L=LLV(L,3)ORC=LLV(C,3);
回头:IF(DXDDANDCOUNT(短线0AND中线=30,3)=1,-30,0),COLORFFFFFF,LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*200-100;
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*200-100;
MA2:=MA(RSI,2);
太阳:IF(MA290ANDRSI650,1,0),COLOR0000FF,POINTDOT,LINETHICK0;
{以下设置副图显示方式,大智慧L-2版本}
DRAWGBKLAST(CLOSE0,STRIP(RGB(95,95,95),RGB(0,0,0),0));
FILLRGN(50,中线,中线50AND中线=REF(中线,1),RGB(255,00,0));
FILLRGN(50,中线,中线50AND中线=REF(中线,1),RGB(0,255,0));
FILLRGN(100,中线,中线100,RGB(255,255,255));
DRAWICON(太阳,中线*1.3,12),ALIGN1;
------------------------------------------------
{以下设置副图显示方式,飞狐版本}
FILLRGN(中线50AND中线=REF(中线,1),50,中线),COLOR0000FF;
FILLRGN(中线50AND中线REF(中线,1),50,中线),COLOR00FF00;
FILLRGN(中线100,100,中线),COLORFFFFFF;
DRAWICON(太阳,中线*1.3,10);
------------------------------------------------
{以下设置副图显示方式,通用版本}
STICKLINE(中线50AND中线=REF(中线,1),50,中线,8,0),COLOR0000FF;
STICKLINE(中线50AND中线=REF(中线,1),50,中线,8,0),COLOR00FF00;
STICKLINE(中线100,100,中线,8,0),COLORFFFFFF;
DRAWICON(太阳,中线*1.3,3);
|