杭州龍主圖
杭:EMA(CLOSE,6);
州:EMA(CLOSE,12),POINTDOT;
龍:MA(CLOSE,33),,COLORFF00FF,LINETHICK3;
龍族: IF(龍<=REF(龍,1),龍,DRAWNULL),COLOR00FF00,LINETHICK3;
阻力:REFDATE(REF(HHV(H,22),1),DATE),COLORGRAY;
底:REFDATE(REF(LLV(L,22),1),DATE),COLORGRAY;
---------------------------------------------
杭州龍主圖A
龍1:EXPMEMA(CLOSE,6);
龍2:MA(CLOSE,12),POINTDOT;
龍3:MA(CLOSE,33),COLORFF00FF,LINETHICK3;
龍4:MA(CLOSE,155),COLORFFFF00;
龍5:MA(CLOSE,299);
IF(龍3<REF(龍3,1),龍3,DRAWNULL),COLOR00FF00,LINETHICK3;
杭:=XMA(XMA(XMA(EMA(C,1),2),2),2);
DRAWTEXT(CROSS(杭,REF(杭,1)),L,'買'),COLORFF00FF;
DRAWTEXT(CROSS(REF(杭,1),杭),H,'賣'),COLOR00FF00;
阻力:REFDATE(REF(HHV(H,22),1),DATE),COLORGRAY;
底:REFDATE(REF(LLV(L,22),1),DATE),COLORGRAY;
------------------------------------------------
杭州龍主圖B
杭:EMA(CLOSE,6);
州:EMA(CLOSE,12),POINTDOT;
龍:MA(CLOSE,33),,COLORFF00FF,LINETHICK3;
龍族: IF(龍<=REF(龍,1),龍,DRAWNULL),COLOR00FF00,LINETHICK3;
阻力:REFDATE(REF(HHV(H,22),1),DATE),COLORGRAY;
底:REFDATE(REF(LLV(L,22),1),DATE),COLORGRAY;
杭A:=XMA(XMA(XMA(EMA(C,1),2),2),2);
DRAWTEXT(CROSS(杭A,REF(杭A,1)),L,'買'),COLORFF00FF;
DRAWTEXT(CROSS(REF(杭A,1),杭A),H,'賣'),COLOR00FF00;
=======================================================
杭州龍成交額
額:AMOUNT/100000000,VOLSTICK,COLORFF00FF;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入億:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
流出億:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
差億:流入億+流出億,COLORFFFF00,NODRAW;
凈:=XMA(XMA(差億,2),2),COLOR00FFFF,NODRAW;
凈1:=XMA(凈,2);
流:=EMA(凈1,7);
凈流:=3*EMA(凈1+流,2);
STICKLINE(凈流<0,0,凈流,4,0),COLORFF6600;
STICKLINE(凈流<0,0,凈流,3,0),COLORFF9900;
STICKLINE(凈流<0,0,凈流,1.5,0),COLORFFCC00;
STICKLINE(凈流<0,0,凈流,0.5,0),COLORCYAN;
STICKLINE(凈流>0,0,凈流,4,0),COLOR000099;
STICKLINE(凈流>0,0,凈流,3,0),COLOR0000CC;
STICKLINE(凈流>0,0,凈流,1.5,0),COLOR0000FF;
STICKLINE(凈流>0,0,凈流,0.5,0),COLORCC66FF;
STICKLINE(凈流<REF(凈流,1)AND 凈流>0,0,凈流,4,0),COLOR009900;
STICKLINE(凈流<REF(凈流,1)AND 凈流>0,0,凈流,3,0),COLOR00BB00;
STICKLINE(凈流<REF(凈流,1)AND 凈流>0,0,凈流,2,0),COLOR00DD00;
STICKLINE(凈流<REF(凈流,1)AND 凈流>0,0,凈流,1,0),COLOR00FF00;
STICKLINE(凈流>REF(凈流,1)AND 凈流<0,0,凈流,4,0),COLOR000099;
STICKLINE(凈流>REF(凈流,1)AND 凈流<0,0,凈流,3,0),COLOR0000BB;
STICKLINE(凈流>REF(凈流,1)AND 凈流<0,0,凈流,1.5,0),COLOR0000DD;
STICKLINE(凈流>REF(凈流,1)AND 凈流<0,0,凈流,0.5,0),COLOR0000FF;
DRAWTEXT(CROSS(凈流,0),0,'買'),COLORFF00FF;
DRAWTEXT(CROSS(REF(凈流,1),凈流),凈流,'賣'),COLOR00FFFF;
DRAWTEXT(CROSS(0,凈流),0,'空'),COLOR00FFFF;
--------------------------------------------------
杭州龍趨勢
主力:=XMA(XMA((CLOSE*2+LOW-OPEN-HIGH)/4,2),2);
散戶:=XMA(主力,11);
量比:=EMA(散戶,11);
杭:= (-100)*(散戶-量比)*100,COLOR00FF00,LINETHICK5;
州:= 100*(散戶-量比)*100,COLOR0000FF,LINETHICK5;
杭A:XMA(XMA(XMA(EMA(州,1),2),2),2),COLOR0000FF,LINETHICK5;
州A:XMA(XMA(XMA(EMA(杭,1),2),2),2),COLOR00FF00,LINETHICK5;
龍:0;
龍族: IF(杭A<=REF(杭A,1),杭A,DRAWNULL),COLOR00FFFF,LINETHICK5;
DRAWTEXT(CROSS(杭A,0),0,'走強'),COLOR00FFFF;
DRAWTEXT(CROSS(0,杭A),0,'空倉'),COLOR00FF00;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),11,1)/SMA(MAX(LOW-VAR2,0),11,1)*10;
VAR4:=EXPMEMA(IF(CLOSE*1,VAR3*10,VAR3/10),1);
VAR5:=LLV(LOW,11);
VAR6:=HHV(VAR4,2);
VAR7:=IF(LLV(LOW,11),1,0);
機構(gòu):50*EXPMEMA(IF(LOW<=VAR5,(VAR4+VAR6)/2,0),3)/100-VAR7,COLOR0000FF,NODRAW;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)>0,0,機構(gòu),6,0),COLOR000055;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)>0,0,機構(gòu),5,0),COLOR000066;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)>0,0,機構(gòu),4,0),COLOR000099;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)>0,0,機構(gòu),3,0),COLOR0000BB;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)>0,0,機構(gòu),2,0),COLOR0000DD;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)>0,0,機構(gòu),1,0),COLOR0000FF;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)<0,0,機構(gòu),4,0),COLOR0000AA;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)<0,0,機構(gòu),3,0),COLOR0000BB;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)<0,0,機構(gòu),2,0),COLOR0000DD;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)<0,0,機構(gòu),1,0),COLOR0000FF;
-------------------------------------------------------
杭州龍資金
杭州龍A:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
莊影難逃:=EMA((杭州龍A-REF(杭州龍A,1))/REF(杭州龍A,1),1)*1000,COLORFF00FF,NODRAW;
凈:=XMA(莊影難逃,11);
流:=EMA(凈,11);
主力動向:EMA(凈+流,1)-XMA(凈-流,2),COLORFF00FF,NODRAW;
杭州龍:=XMA(主力動向,11),COLORFF00FF,NODRAW;
STICKLINE(杭州龍<0,杭州龍,0,4,0),COLOR009900;
STICKLINE(杭州龍<0,杭州龍,0,3,0),COLOR00BB00;
STICKLINE(杭州龍<0,杭州龍,0,2,0),COLOR00DD00;
STICKLINE(杭州龍<0,杭州龍,0,1,0),COLOR00FF00;
STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍<0,杭州龍,0,4,0),COLOR000099;
STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍<0,杭州龍,0,3,0),COLOR0000BB;
STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍<0,杭州龍,0,2,0),COLOR0000DD;
STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍<0,杭州龍,0,1,0),COLOR0000FF;
STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,4,0),COLOR000099;
STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,3,0),COLOR0000CC;
STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,1.5,0),COLOR0000FF;
STICKLINE(杭州龍>REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,0.5,0),COLORCC00FF;
VAR2:=EXPMEMA(XMA(WINNER(C)*100,2),1);
STICKLINE(VAR2>50 AND COST(60)<C AND 杭州龍>0,杭州龍,0,4,0),COLOR990099;
STICKLINE(VAR2>50 AND COST(60)<C AND 杭州龍>0,杭州龍,0,3,0),COLORBB00BB;
STICKLINE(VAR2>50 AND COST(60)<C AND 杭州龍>0,杭州龍,0,2,0),COLORDD00DD;
STICKLINE(VAR2>50 AND COST(60)<C AND 杭州龍>0,杭州龍,0,1,0),COLORFF00FF;
STICKLINE(杭州龍<REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,4,0),COLORCC9900;
STICKLINE(杭州龍<REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,3,0),COLORDDBB00;
STICKLINE(杭州龍<REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,2,0),COLORBBDD00;
STICKLINE(杭州龍<REF(杭州龍,1) AND 杭州龍>0,杭州龍,0,1,0),COLORAAFF00;
DRAWTEXT(CROSS(0,杭州龍),0,'空'),COLOR00FFFF;
DRAWTEXT(CROSS(杭州龍,0),0,'買'),COLORFF00FF;
--------------------------------------------------
杭州龍風(fēng)向標
VAR1:=XMA(REF((L+OPEN+CLOSE+HIGH)/4,1),2);
VAR2:=SMA(ABS(LOW-VAR1),60,1)/SMA(MAX(LOW-VAR1,0),60,1);
VAR3:=EMA(VAR2,1);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),11);
博弈:=IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
Q64948640號:=IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;
差:EXPMEMA(博弈+Q64948640號,1),COLORRED,NODRAW;
杭:=EXPMEMA(博弈-Q64948640號,1);
機構(gòu):=3*EXPMEMA(差*杭,1);
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)>0,0,機構(gòu),4,0),COLOR000099;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)>0,0,機構(gòu),3,0),COLOR0000CC;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)>0,0,機構(gòu),1.5,0),COLOR0000FF;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)>0,0,機構(gòu),0.5,0),COLORCC66FF;
STICKLINE(機構(gòu)>REF(機構(gòu),1)AND 機構(gòu)<0,0,機構(gòu),3,0),COLORCC00FF;
STICKLINE(機構(gòu)<REF(機構(gòu),1)AND 機構(gòu)<0,0,機構(gòu),4,0),COLORAA00AA;
STICKLINE(機構(gòu)<REF(機構(gòu),1)AND 機構(gòu)<0,0,機構(gòu),3,0),COLORBB00BB;
STICKLINE(機構(gòu)<REF(機構(gòu),1)AND 機構(gòu)<0,0,機構(gòu),2,0),COLORDD00DD;
STICKLINE(機構(gòu)<REF(機構(gòu),1)AND 機構(gòu)<0,0,機構(gòu),1,0),COLORCC00FF;
DRAWTEXT(CROSS(機構(gòu),0),0,'主力建侖'),COLOR00FFFF;
---------------------------------------------------------
杭州龍?zhí)崆傲?/P>
短線:=20*XMA(XMA(XMA((CLOSE-REF(CLOSE,2))/CLOSE*100,2),2),2);
中線:=20*XMA(XMA(XMA((CLOSE-REF(CLOSE,2))/CLOSE*100,2),2),2);
紅柱持股:SMA(短線,2,1),COLORRED,NODRAW;
黃柱高拋:SMA(短線,2,1),COLOR00FFFF,NODRAW;
藍柱持幣:SMA(短線,2,1),COLORFFFF00,NODRAW;
STICKLINE(紅柱持股<REF(紅柱持股,0.5)AND 紅柱持股>0,0,紅柱持股,8,0),COLOR0000AA;
STICKLINE(紅柱持股<REF(紅柱持股,0.5)AND 紅柱持股>0,0,紅柱持股,7,0),COLOR0000BB;
STICKLINE(紅柱持股<REF(紅柱持股,0.5)AND 紅柱持股>0,0,紅柱持股,6,0),COLOR0000CC;
STICKLINE(紅柱持股<REF(紅柱持股,0.5)AND 紅柱持股>0,0,紅柱持股,5,0),COLOR0000DD;
STICKLINE(紅柱持股<REF(紅柱持股,0.5)AND 紅柱持股>0,0,紅柱持股,4,0),COLOR0000EE;
STICKLINE(紅柱持股<REF(紅柱持股,1)AND 紅柱持股>0,0,紅柱持股,3,0),COLOR0000FF;
STICKLINE(紅柱持股<REF(紅柱持股,1)AND 紅柱持股>0,0,紅柱持股,2,1),COLORRED;
STICKLINE(紅柱持股<REF(紅柱持股,1)AND 紅柱持股>0,0,紅柱持股,1,0),COLOR00FF00;
STICKLINE(紅柱持股>REF(紅柱持股,1)AND 紅柱持股>0,0,紅柱持股,8,0),COLOR0000AA;
STICKLINE(紅柱持股>REF(紅柱持股,1)AND 紅柱持股>0,0,紅柱持股,7,0),COLOR0000BB;
STICKLINE(紅柱持股>REF(紅柱持股,1)AND 紅柱持股>0,0,紅柱持股,6,0),COLOR0000CC;
STICKLINE(紅柱持股>REF(紅柱持股,1)AND 紅柱持股>0,0,紅柱持股,5,0),COLOR0000DD;
STICKLINE(紅柱持股>REF(紅柱持股,1)AND 紅柱持股>0,0,紅柱持股,4,0),COLOR0000EE;
STICKLINE(紅柱持股>REF(紅柱持股,1)AND 紅柱持股>0,0,紅柱持股,3,0),COLOR0000FF;
STICKLINE(紅柱持股>REF(紅柱持股,1)AND 紅柱持股>0,0,紅柱持股,2,0),COLORRED;
STICKLINE(藍柱持幣<REF(藍柱持幣,1) AND 藍柱持幣>0,0,藍柱持幣,9,0),COLOR0000FF;
STICKLINE(藍柱持幣<REF(藍柱持幣,1) AND 藍柱持幣>0,0,藍柱持幣,7,0),COLOR0033FF;
STICKLINE(藍柱持幣<REF(藍柱持幣,1) AND 藍柱持幣>0,0,藍柱持幣,6,0),COLOR0055FF;
STICKLINE(藍柱持幣<REF(藍柱持幣,1) AND 藍柱持幣>0,0,藍柱持幣,5,0),COLOR0077FF;
STICKLINE(藍柱持幣<REF(藍柱持幣,1) AND 藍柱持幣>0,0,藍柱持幣,4,0),COLOR0099FF;
STICKLINE(藍柱持幣<REF(藍柱持幣,1) AND 藍柱持幣>0,0,藍柱持幣,3,0),COLOR00BBFF;
STICKLINE(藍柱持幣<REF(藍柱持幣,1) AND 藍柱持幣>0,0,藍柱持幣,2,0),COLOR00DDFF;
STICKLINE(藍柱持幣<REF(藍柱持幣,1) AND 藍柱持幣>0,0,藍柱持幣,1,0),COLOR00FFFF;
STICKLINE(紅柱持股>REF(紅柱持股,0)AND 紅柱持股<0,0,紅柱持股,8,0),COLORFF0000;
STICKLINE(紅柱持股>REF(紅柱持股,0)AND 紅柱持股<0,0,紅柱持股,7,0),COLORFF3300;
STICKLINE(紅柱持股>REF(紅柱持股,0)AND 紅柱持股<0,0,紅柱持股,6,0),COLORFF5500;
STICKLINE(紅柱持股>REF(紅柱持股,0)AND 紅柱持股<0,0,紅柱持股,5,0),COLORFF7700;
STICKLINE(紅柱持股>REF(紅柱持股,0)AND 紅柱持股<0,0,紅柱持股,4,0),COLORFF9900;
STICKLINE(紅柱持股>REF(紅柱持股,1)AND 紅柱持股<0,0,紅柱持股,3,0),COLORFFBB00;
STICKLINE(紅柱持股>REF(紅柱持股,1)AND 紅柱持股<0,0,紅柱持股,2,0),COLORFFDD00;
STICKLINE(紅柱持股>REF(紅柱持股,1)AND 紅柱持股<0,0,紅柱持股,2,1),COLORFF00FF;
STICKLINE(紅柱持股<REF(紅柱持股,1)AND 紅柱持股<0,0,紅柱持股,8,0),COLORFF0000;
STICKLINE(紅柱持股<REF(紅柱持股,1)AND 紅柱持股<0,0,紅柱持股,8,0),COLORFF0000;
STICKLINE(紅柱持股<REF(紅柱持股,1)AND 紅柱持股<0,0,紅柱持股,7,0),COLORFF3300;
STICKLINE(紅柱持股<REF(紅柱持股,1)AND 紅柱持股<0,0,紅柱持股,6,0),COLORFF5500;
STICKLINE(紅柱持股<REF(紅柱持股,1)AND 紅柱持股<0,0,紅柱持股,5,0),COLORFF7700;
STICKLINE(紅柱持股<REF(紅柱持股,1)AND 紅柱持股<0,0,紅柱持股,4,0),COLORFF9900;
STICKLINE(紅柱持股<REF(紅柱持股,1)AND 紅柱持股<0,0,紅柱持股,3,0),COLORFFBB00;
STICKLINE(紅柱持股<REF(紅柱持股,1)AND 紅柱持股<0,0,紅柱持股,2,0),COLORFFDD00;
STICKLINE(紅柱持股<REF(紅柱持股,1)AND 紅柱持股<0,0,紅柱持股,1,0),COLORFFFF00;
STICKLINE(藍柱持幣>REF(藍柱持幣,1)AND 藍柱持幣<0,0,藍柱持幣,10,0),COLOR990099;
STICKLINE(藍柱持幣>REF(藍柱持幣,1)AND 藍柱持幣<0,0,藍柱持幣,7,0),COLORBB00BB;
STICKLINE(藍柱持幣>REF(藍柱持幣,1)AND 藍柱持幣<0,0,藍柱持幣,4,0),COLORDD00DD;
STICKLINE(藍柱持幣>REF(藍柱持幣,1)AND 藍柱持幣<0,0,藍柱持幣,2,0),COLORFF00FF;
-------------------------------------------------
杭州龍均量
總成交:=AMOUNT/100000000,VOLSTICK,COLORFF00FF;
VAR1:=AMOUNT/((HIGH-LOW)*1-ABS(CLOSE-OPEN));
流入億:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
流出億:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
量:=(CLOSE-LLV(LOW,22))/(HHV(HIGH,22)-LLV(LOW,22))*100;
杭:XMA(SMA(量,2,1),2),COLOR00FFFF;
州:EMA(杭,5),NODRAW;
龍:XMA((3*杭-2*州),2),COLORFF00FF,LINETHICK3;
龍1:龍,COLORSTICK;
DRAWICON(CROSS(龍,50),50,9);
DRAWICON(CROSS(50,龍),50,6);
DRAWICON(CROSS(REF(龍1,1),龍1),龍,2);
頂:120;
軸:50;
零:0;
-----------------------------------------------------------
杭州龍小波段
強:=XMA(XMA(XMA((CLOSE-REF(CLOSE,1))/CLOSE*100,2),2),2);
主力:MA(強,5),COLORFF00FF,LINETHICK5;
散戶:MA(主力,5) ;
IF(主力<REF(主力,1),主力,DRAWNULL),COLOR00FF00,LINETHICK5;
DRAWTEXT(CROSS(主力,散戶),散戶,'強'),COLORFF00FF;
DRAWTEXT(CROSS(散戶,主力),主力,'空'),COLORFFFF00;
----------------------------------------------------------
杭州龍MACD
杭:XMA(EMA(EMA(CLOSE,5)-EMA(CLOSE,10),2),2);
州:EMA(杭,5);
龍:(杭),COLORSTICK;龍族:0;
杭1:IF(杭<=REF(杭,1),杭,DRAWNULL),COLOR00FF00,LINETHICK2;
龍1:IF(杭>=REF(杭,1),杭,DRAWNULL),COLORFF00FF,LINETHICK5;
----------------------------------------------------------
杭州龍短主力
額:AMOUNT/10000000,NODRAW;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入億:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
流出億:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
差:(流入億+流出億),NODRAW;
強:=XMA((CLOSE-REF(CLOSE,1))/CLOSE*10,2);
主力:=EMA(差,1),COLORFF00FF,LINETHICK5;
差A(yù):3*XMA(XMA(XMA(EMA(強,2),2),2),2),NODRAW;
凈流:3*XMA(XMA(XMA(EMA(差A(yù),1),2),2),2), COLORRED,NODRAW;
STICKLINE(凈流<0,0,凈流,4,0),COLORFF6600;
STICKLINE(凈流<0,0,凈流,3,0),COLORFF9900;
STICKLINE(凈流<0,0,凈流,1.5,0),COLORFFCC00;
STICKLINE(凈流<0,0,凈流,0.5,0),COLORCYAN;
STICKLINE(凈流>0,0,凈流,4,0),COLOR000099;
STICKLINE(凈流>0,0,凈流,3,0),COLOR0000CC;
STICKLINE(凈流>0,0,凈流,1.5,0),COLOR0000FF;
STICKLINE(凈流>0,0,凈流,0.5,0),COLORCC66FF;
STICKLINE(凈流<REF(凈流,1)AND 凈流>0,0,凈流,4,0),COLOR009999;
STICKLINE(凈流<REF(凈流,1)AND 凈流>0,0,凈流,3,0),COLOR00BBBB;
STICKLINE(凈流<REF(凈流,1)AND 凈流>0,0,凈流,2,0),COLOR00DDDD;
STICKLINE(凈流<REF(凈流,1)AND 凈流>0,0,凈流,1,0),COLOR00FFFF;
STICKLINE(凈流>REF(凈流,1)AND 凈流<0,0,凈流,4,0),COLOR000099;
STICKLINE(凈流>REF(凈流,1)AND 凈流<0,0,凈流,3,0),COLOR0000BB;
STICKLINE(凈流>REF(凈流,1)AND 凈流<0,0,凈流,1.5,0),COLOR0000DD;
STICKLINE(凈流>REF(凈流,1)AND 凈流<0,0,凈流,0.5,0),COLOR0000FF;
DRAWTEXT(CROSS(0,凈流),0+0,'空'),COLORGREEN;
DRAWTEXT(CROSS(REF(凈流,1),凈流),凈流-0,'注意'),COLORFFFF00;
DRAWTEXT(CROSS(凈流,0),0,'有資金介入'),COLOR00FFFF;
--------------------------------------------------
杭州龍方向線
杭: XMA(XMA(EMA(100*(CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33)),1),2),2);
龍: EMA(杭,5);
龍族:80;龍族1:50;
A:IF(杭>=50,杭,DRAWNULL),COLOR0000FF,LINETHICK6;
B:IF(龍>=50,龍,DRAWNULL),COLOR0000FF,LINETHICK2;
散:=XMA(XMA(XMA(EMA((WINNER(C*1.1)-WINNER(C*0.9)),1),2),2),2)*100,COLOR00FFFF,LINETHICK2;
空方籌碼:XMA(XMA(XMA(EMA(散,1),2),2),2),COLORGRAY,LINETHICK2;
-----------------------------------------------
杭州龍短線
額億:AMOUNT/100000000,COLORFF00FF,NODRAW;
AA:=(AMOUNT / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
買億:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))/100000000,COLORRED,NODRAW;
賣億:IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2))/100000000,LINETHICK0,COLORCYAN,NODRAW;
存量:(買億+賣億),COLORRED,NODRAW;
酈飛:=C-(VOL,1);
酈斐:=EXPMEMA(酈飛,2);
杭州龍:=EXPMEMA(酈飛-酈斐,1),COLORSTICK;
機構(gòu)量能:XMA(杭州龍,2),COLORRED,NODRAW;
紅十天羅陀:=EXPMEMA(機構(gòu)量能,2);
紅十天羅陀1:=EXPMEMA(紅十天羅陀,2);
STICKLINE(機構(gòu)量能,(REF(機構(gòu)量能,1)),機構(gòu)量能,5,0),COLOR000077;
STICKLINE(機構(gòu)量能,(REF(機構(gòu)量能,1)),機構(gòu)量能,4,0),COLOR000099;
STICKLINE(機構(gòu)量能,(REF(機構(gòu)量能,1)),機構(gòu)量能,3,0),COLOR0000BB;
STICKLINE(機構(gòu)量能,(REF(機構(gòu)量能,1)),機構(gòu)量能,1.5,0),COLOR0000DD;
STICKLINE(機構(gòu)量能,(REF(機構(gòu)量能,1)),機構(gòu)量能,0.5,0),COLOR0000FF;
STICKLINE(機構(gòu)量能,(REF(紅十天羅陀,1)),紅十天羅陀,5,0),COLOR000077;
STICKLINE(機構(gòu)量能,(REF(紅十天羅陀,1)),紅十天羅陀,4,0),COLOR000099;
STICKLINE(機構(gòu)量能,(REF(紅十天羅陀,1)),紅十天羅陀,3,0),COLOR0000BB;
STICKLINE(機構(gòu)量能,(REF(紅十天羅陀,1)),紅十天羅陀,1.5,0),COLOR0000DD;
STICKLINE(機構(gòu)量能,(REF(紅十天羅陀,1)),紅十天羅陀,0.5,0),COLOR0000FF;
金色持有:=REF(機構(gòu)量能>REF(機構(gòu)量能,1),1);
STICKLINE(金色持有,(REF(機構(gòu)量能,1)),機構(gòu)量能,5,0),COLOR007777;
STICKLINE(金色持有,(REF(機構(gòu)量能,1)),機構(gòu)量能,4,0),COLOR009999;
STICKLINE(金色持有,(REF(機構(gòu)量能,1)),機構(gòu)量能,3,0),COLOR00BBBB;
STICKLINE(金色持有,(REF(機構(gòu)量能,1)),機構(gòu)量能,1.5,0),COLOR00DDDD;
STICKLINE(金色持有,(REF(機構(gòu)量能,1)),機構(gòu)量能,0.5,0),COLOR00FFFF;
綠色減倉:=機構(gòu)量能<REF(機構(gòu)量能,1);
STICKLINE(綠色減倉,(REF(紅十天羅陀,1)),紅十天羅陀,5,0 ),COLOR007700;
STICKLINE(綠色減倉,(REF(紅十天羅陀,1)),紅十天羅陀,4,0 ),COLOR009900;
STICKLINE(綠色減倉,(REF(紅十天羅陀,1)),紅十天羅陀,3,0 ),COLOR00BB00;
STICKLINE(綠色減倉,(REF(紅十天羅陀,1)),紅十天羅陀,2,0 ),COLOR00DD00;
STICKLINE(綠色減倉,(REF(紅十天羅陀,1)),紅十天羅陀,1,0 ),COLOR00FF00;
DRAWTEXT(CROSS(機構(gòu)量能,0),0,'買'),COLORFF00FF;
DRAWTEXT(CROSS(0,機構(gòu)量能),0,'賣'),COLOR00FFFF;
DRAWTEXT(CROSS(機構(gòu)量能,紅十天羅陀),機構(gòu)量能,'B'),COLORFF00FF;
DRAWTEXT(CROSS(紅十天羅陀,機構(gòu)量能),機構(gòu)量能,'S'),COLOR00FFFF;
--------------------------------------------
杭州龍機構(gòu)能
VARA:=XMA(XMA(XMA((CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3)),2),2),2)*100;
量線:=SMA(VARA,2,1)-8;
阻力線: 80;
買: 50;
底:20;
BB:=DRAWTEXT(CROSS(量線,50),50,'買'),COLORFF00FF;
機構(gòu)量能:EXPMA(量線,1),NODRAW;
杭州龍:EXPMA(量線,22),NODRAW;
杭州龍1:=EXPMEMA(機構(gòu)量能,2);
STICKLINE(機構(gòu)量能,(REF(機構(gòu)量能,1)),機構(gòu)量能,5,0),COLOR000077;
STICKLINE(機構(gòu)量能,(REF(機構(gòu)量能,1)),機構(gòu)量能,4,0),COLOR000099;
STICKLINE(機構(gòu)量能,(REF(機構(gòu)量能,1)),機構(gòu)量能,3,0),COLOR0000BB;
STICKLINE(機構(gòu)量能,(REF(機構(gòu)量能,1)),機構(gòu)量能,1.5,0),COLOR0000DD;
STICKLINE(機構(gòu)量能,(REF(機構(gòu)量能,1)),機構(gòu)量能,0.5,0),COLOR0000FF;
STICKLINE(機構(gòu)量能,(REF(杭州龍,1)),杭州龍,5,0),COLOR000077;
STICKLINE(機構(gòu)量能,(REF(杭州龍,1)),杭州龍,4,0),COLOR000099;
STICKLINE(機構(gòu)量能,(REF(杭州龍,1)),杭州龍,3,0),COLOR0000BB;
STICKLINE(機構(gòu)量能,(REF(杭州龍,1)),杭州龍,1.5,0),COLOR0000DD;
STICKLINE(機構(gòu)量能,(REF(杭州龍,1)),杭州龍,0.5,0),COLOR0000FF;
金色持有:=REF(機構(gòu)量能>REF(機構(gòu)量能,1),1);
STICKLINE(金色持有,(REF(機構(gòu)量能,1)),機構(gòu)量能,5,0),COLOR007777;
STICKLINE(金色持有,(REF(機構(gòu)量能,1)),機構(gòu)量能,4,0),COLOR009999;
STICKLINE(金色持有,(REF(機構(gòu)量能,1)),機構(gòu)量能,3,0),COLOR00BBBB;
STICKLINE(金色持有,(REF(機構(gòu)量能,1)),機構(gòu)量能,1.5,0),COLOR00DDDD;
STICKLINE(金色持有,(REF(機構(gòu)量能,1)),機構(gòu)量能,0.5,0),COLOR00FFFF;
綠色減倉:=機構(gòu)量能<REF(機構(gòu)量能,1);
STICKLINE(綠色減倉,(REF(機構(gòu)量能,1)),機構(gòu)量能,5,0),COLOR007700;
STICKLINE(綠色減倉,(REF(機構(gòu)量能,1)),機構(gòu)量能,4,0),COLOR009900;
STICKLINE(綠色減倉,(REF(機構(gòu)量能,1)),機構(gòu)量能,3,0),COLOR00BB00;
STICKLINE(綠色減倉,(REF(機構(gòu)量能,1)),機構(gòu)量能,1.5,0),COLOR00DD00;
STICKLINE(綠色減倉,(REF(機構(gòu)量能,1)),機構(gòu)量能,0.5,0),COLOR00FF00;
STICKLINE(綠色減倉,(REF(杭州龍,1)),杭州龍,5,0 ),COLOR007700;
STICKLINE(綠色減倉,(REF(杭州龍,1)),杭州龍,4,0 ),COLOR009900;
STICKLINE(綠色減倉,(REF(杭州龍,1)),杭州龍,3,0 ),COLOR00BB00;
STICKLINE(綠色減倉,(REF(杭州龍,1)),杭州龍,2,0 ),COLOR00DD00;
STICKLINE(綠色減倉,(REF(杭州龍,1)),杭州龍,1,0 ),COLOR00FF00;
DRAWTEXT(CROSS(機構(gòu)量能,20),20,'抄底'),COLORFF00FF;
DRAWTEXT(CROSS(機構(gòu)量能,50),50,'買'),COLORFF00FF;
DRAWTEXT(CROSS(REF(機構(gòu)量能,1),機構(gòu)量能),機構(gòu)量能,'S'),COLOR00FFFF;
DRAWTEXT(CROSS(機構(gòu)量能,REF(機構(gòu)量能,1)),機構(gòu)量能,'B'),COLORFF00FF;
---------------------------------------------------
龍族KDJ
A:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:SMA(A,2,1);
D:SMA(K,2,1);
J:3*K-2*D;龍族:50;
--------------------------------------------------
龍族CCI
AA:=(HIGH+LOW+CLOSE)/3;
龍族CCI:(AA-MA(AA,11))/(0.015*AVEDEV(AA,11)),COLOR00FF00;
龍族CI:EMA(龍族CCI,5);界:100;界0:0;界1:-100;
IF(龍族CCI>=REF(龍族CCI,1),龍族CCI,DRAWNULL),COLOR0000FF,LINETHICK3;
=======================================================================
杭龍總選個股
杭州龍A:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
莊影難逃:=EMA((杭州龍A-REF(杭州龍A,1))/REF(杭州龍A,1),1)*1000;
凈:=XMA(莊影難逃,11);
流:=EMA(凈,44);
散戶:=XMA(凈+流,11);
量比:=EMA(散戶,110);
凈流:= 100*(散戶-量比)*100;
A:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
A1:=EMA(A,6);
A2:=EMA(A,12);
A3:=EMA(A,33);
CLOSE>A1 AND A1>A2 AND A2>A3 AND CLOSE>OPEN&&凈流>0;
-----------------------------------------------
反彈
A:=EMA(C,6);
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入億:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000;
流出億:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000;
差億:=流入億+流出億;
凈:=XMA(XMA(差億,2),2);
凈1:=XMA(凈,2);
流:=EMA(凈1,7);
凈流:=3*EMA(凈1+流,1);
----------------------------------------------
強勢
VAR1:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
杭龍:=XMA((VAR1-REF(VAR1,1))/REF(VAR1,1),11)*1000;
龍:=EMA(杭龍,33);
杭州龍:=EMA(杭龍+龍,1);
杭州龍>10&&杭州龍>REF(杭州龍,1)&&C>REF(C,1);
C>A&&C>REF(C,1)&&凈流>0&&凈流>REF(凈流,1);
-------------------------------------------------
趨勢漲
A:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
A1:=EMA(A,6);
A2:=EMA(A,12);
A3:=EMA(A,33);
AA:=CLOSE>A1 AND A1>A2 AND A2>A3 ;
主力:=XMA(XMA((CLOSE*2+LOW-OPEN-HIGH)/4,2),2);
散戶:=XMA(主力,11);
量比:=EMA(散戶,11);
杭:= (-100)*(散戶-量比)*100;
州:= 100*(散戶-量比)*100;
杭A:=XMA(XMA(XMA(EMA(州,1),2),2),2);
州A:=XMA(XMA(XMA(EMA(杭,1),2),2),2);
AAA:AA&&杭A>州A&&杭A>REF(杭A,1)&&C>REF(C,1);
--------------------------------------------------
加量MACD
A:=EMA(C,6);
杭:=XMA(XMA(EMA(CLOSE,5)-EMA(CLOSE,10),2),2);
州:=EMA(杭,5);
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入億:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000;
流出億:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000;
差億:=流入億+流出億;
凈:=XMA(XMA(差億,2),2);
凈1:=XMA(凈,2);
流:=EMA(凈1,7);
凈流:=3*EMA(凈1+流,1);
C>A&&杭>0&&杭>州&&杭>REF(杭,1)&&凈流>0&&凈流>REF(凈流,1)&&C>O;