大智慧经典黑马黄牛老指标公式
-
相关简介:大智慧经典黑马黄牛老指标公式 黑马黄牛 DRAWGBKLAST(c0,STRIP(RGB(0,30,5),RGB(0,5,15),0)); DRAWTEXTABS(10,0,'太阳+大白云=随时逃,红云强,绿云走弱,兰区休息,'),LINETHICK2,color018824; MA1:=(C+O+H+L)/4; MA8:=MA(MA1,8); ZQSJ:=BARSLAST(CROSS(MA1,MA8))+1; ZRSJ:=BARSLAST(CROSS(MA8,MA1))+1; 短线:IF(ZQ
-
文章来源:股海网作者:股海网发布时间:2013-01-14浏览次数:
大智慧经典黑马黄牛老指标公式
黑马黄牛
DRAWGBKLAST(c>0,STRIP(RGB(0,30,5),RGB(0,5,15),0));
DRAWTEXTABS(10,0,'太阳+大白云=随时逃,红云强,绿云走弱,兰区休息,'),LINETHICK2,color018824;
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,PRECIS2; {
黑码:IF(ZQSJ<=ZRSJ,0-REF(ZRSJ,1),0),COLOR0000FF,LINETHICK2,PRECIS2; }
XXSJ:=BARSLAST(CROSS(0.8,短线))+1;
休息:IF(短线=0,XXSJ,0),COLORFFff00,POINTDOT,LINETHICK1,PRECIS0; ;
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(J>K,J,0),COLOR00FFFF,LINETHICK2;{
黄牛:IF(J>K,0-J,0),COLOR00FFFF,LINETHICK2;}
强势:IF(J>K AND J>=50,50,IF(J>K,J,0)),COLORFF00FF,POINTDOT,LINETHICK0;
DXDD:=L=LLV(L,3) OR C=LLV(C,3);
回头:IF(DXDD AND COUNT(短线>0 AND 中线>=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(MA2>90 AND RSI6>50,1,0),COLOR0000FF,POINTDOT,LINETHICK0,PRECIS2; ;
{以下设置副图显示方式,大智慧L-2版本}
FILLRGN(50,中线,中线>50 AND 中线>=REF(中线,1),RGB(255,00,0));
FILLRGN(50,中线,中线>50 AND 中线<=REF(中线,1),RGB(0,255,0));
FILLRGN(100,中线,中线>100,RGB(255,255,255));
DRAWICON(太阳,中线*1.3,12),ALIGN1;
FILLRGN(休息,休息+60,休息>0,RGB(6,70,70)),LAYER7;