{乾坤趋势副图源码如下}
DRAWGBK(C>0, RGB(180,170,170),RGB(183,164,165),0,'11',0);关注:20,POINTDOT;
警戒:80,POINTDOT;
VAR1:=LLV(LOW,10);
VAR2:=HHV(HIGH,25);
趋势:= EMA((CLOSE-VAR1)/(VAR2-VAR1)*110,10),COLORFF00FF,LINETHICK5;
IF(趋势>=REF(趋势,1),趋势,DRAWNULL),COLORFF00FF,LINETHICK2;
IF(趋势< REF(趋势,1),趋势,DRAWNULL),COLOR00FFFF,LINETHICK2;
STICKLINE(趋势>=REF(趋势,1) ,趋势 ,REF(趋势,1),3 ,1),COLORRED,LINETHICK3;
STICKLINE(趋势< REF(趋势,1) ,趋势 ,REF(趋势,1),3 ,1),COLOR00FF00,LINETHICK3;
IF(趋势>=REF(趋势,1),0,13),COLORFF00FF,LINETHICK2;
DRAWICON(趋势>=REF(趋势,1),8,1);
DRAWICON(趋势< REF(趋势,1),2,2);
VOLUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
STICKLINE(MAVOL1>=MAVOL2,122,116,3,0),COLORFF00FF;
STICKLINE (MAVOL1
成交量叉:MAVOL1>MAVOL2,POINTDOT;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
STICKLINE (DIF>=DEA,114,108,3,0),COLORFF00FF;
STICKLINE (DIF
MACD叉:DIF>DEA,POINTDOT;{}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE (K>=D,106,100,3,0),COLORFF00FF;
STICKLINE (K
KDJ叉:K>D POINTDOT;
DRAWTEXT(CURRBARSCOUNT=3,119,'VOL'),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=3,111,'MACD'),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=3,103,'KDJ'),COLORFF0000;
{乾坤狂飙副图源码如下}
DRAWGBK(C>0, RGB(180,170,170),RGB(183,164,165),0,'11',0);LC:=REF(CLOSE,1);XB_1:=IF(DATE<=1211231,1,1);
XB_2:=EMA(CLOSE,3);
XB_3:=EMA(CLOSE,20);
XB_4:=EMA(CLOSE,60);
XB_5:=ATAN((XB_4-REF(XB_4,1))/XB_4*10)/3.142*180;
XB_6:=EMA(CLOSE,120);
XB_7:=EMA(CLOSE,250);
XB_8:=REF(LOW,1);
XB_9:=SMA(ABS(LOW-XB_8),3,1)/SMA(MAX(LOW-XB_8,0),3,1)*100;
XB_10:=EMA(XB_9*10,3);
XB_11:=LLV(LOW,13);
XB_12:=HHV(XB_10,13);
XB_13:=EMA(IF(LOW<=XB_11,(XB_10+XB_12*2)/2,0),3)/618;
XB_14:=IF(XB_13>500,500,XB_13);
XB_15:=XB_1 AND CLOSE>XB_4 AND XB_4>XB_6 AND XB_6>XB_7;
XB_16:=XB_1 AND XB_15 AND KDJ.J>REF(KDJ.J,1) AND REF(KDJ.J,1)REF(CLOSE,1);
XB_17:=1;{}
(-0.5),DOTLINE,COLORBLACK;
STICKLINE(CLOSE>MA(CLOSE,60),0,0.2,1,0),COLORRED;
STICKLINE(CLOSE>MA(CLOSE,20),0.2,0.4,1,0),COLORGREEN;
STICKLINE(XB_5>0,0.4,0.6,1,0),COLORMAGENTA;
STICKLINE(XB_16,0.6,0.8,1,0),COLORBLUE;
STICKLINE(XB_14>1,0.8,1,1,0),COLORYELLOW;
DRAWICON(XB_1 AND XB_15 AND CLOSE>MA(CLOSE,20) AND XB_14>1 AND KDJ.J>REF(KDJ.J,1) AND REF(KDJ.J,1)
AND XB_5>0 AND CLOSE>REF(CLOSE,1),(-0.1),5) AND XB_17;
{乾坤牛场副图源码如下}
DRAWGBK(C>0, RGB(180,170,170),RGB(183,164,165),0,'11',0);LC:=REF(CLOSE,1);牛短:SMA(WINNER(CLOSE*0.9),2.5,1)*46,COLORRED,LINETHICK2;
牛长:SMA(WINNER(CLOSE*0.95),5,1)*30,COLORYELLOW,LINETHICK2;
IF(牛短>牛长 AND 牛长>REF(牛长,1),牛短,DRAWNULL),COLORRED,LINETHICK3;
IF(牛长
IF(牛长
牛线:6,DOTLINE,LINETHICK1,COLORWHITE;
DRAWICON(CROSS(牛短,牛长),牛线+0.5,1);
内容加载中..