源码
{龙行九天2}
DRAWGBK(CLOSE>0,COLORRGB(155,222,233),COLORRGB(0,8,11),1);
套牢盘:(1-WINNER(CLOSE))*100,LINETHICK0,colorAA9966;
FILLRGN(套牢盘>0,0,套牢盘),colorAA9966;
获利盘:WINNER(CLOSE)*100,LINETHICK0,color886633;
筹码重心:(HHV(获利盘,20)+LLV(获利盘,20))/2,LINETHICK0,colorFFFFFF;
筹码重心2:=MA(筹码重心,10);
筹码重心3:=(筹码重心-筹码重心2)/筹码重心;
筹码重心4:=筹码重心*筹码重心3;
FILLRGN(获利盘>0,0,获利盘),color886633;
控盘筹码:(0.1-WINNER(CLOSE/1.1))*100,LINETHICK0,colorDDFF99;
FILLRGN(控盘筹码<=0,0+20,控盘筹码),colorFFEE66;
FILLRGN(CLOSE>0,筹码重心,筹码重心2),colorFFFFFF;
浮筹:(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,LINETHICK0,color553322;
FILLRGN(浮筹>=0,0,浮筹),color553322;
FILLRGN(CLOSE>0,-50,-80),colorFFEE66;
DRAWICON(FILTER(获利盘>99.5,15),-2,'悟空2');
VAR1:=EMA(HHV(HIGH,500),21);
VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21);
VAR4:=EMA(LLV(LOW,500),21);
VAR5:=EMA(LLV(LOW,250),21);
VAR6:=EMA(LLV(LOW,90),21);
VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21);
VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21);
VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);
VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=(SMA(ABS(LOW-VARB),3,1))/(SMA(MAX(LOW-VARB,0),3,1))*100;
VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
VAR10:=IF(MA(CLOSE,58),1,0);
哪吒擒龙:(EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3))/(618)*VAR10,LINETHICK0,colorFF;
今量:=IF(哪吒擒龙<1,哪吒擒龙,哪吒擒龙/40);
FILLRGN(哪吒擒龙>0,-70,今量*60-70),colorFF;
工作线:=EMA(CLOSE,14);
QJ2:="MACD.DIFF";
QJ3:="MACD.DEA";
哪吒选股:CLOSE>工作线 AND CROSS(QJ2,QJ3) AND QJ3<0,LINETHICK0;
DRAWTEXT(哪吒选股,筹码重心,'哪
吒
我
来
也'),colorFFFF;
DRAWICON(哪吒选股,筹码重心+25,1),colorFFFF;
VAR0:=DYNAINFO(5);
VAR1:=BARSCOUNT(HIGH);
VAR2:=SMA(HIGH/HHV(CLOSE,120),3,1)*100;
低位金叉跟进:=IF(VAR1>20,VAR2,0);
VAR1:=IF(HIGHVAR0,1,(VAR0-HIGH+0.009)/(LOW-HIGH+0.009)));
AAA:=DMA(VAR1,VOL/SUM(VOL,90))*60;
BBB:=DMA(VAR1,VOL/CAPITAL)*60;
VAR2:=IF(CLOSE>1000,AAA,BBB);
VAR3:=IF(VAR2>0 AND VAR2>REF(VAR2,1) AND 低位金叉跟进>=88,VAR2,0);
VAR4:=3*SMA((CLOSE-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27))*100,5,1)-2*SMA(SMA((HIGH-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27))*100,5,1),3,1);
VAR5:=EMA(VAR4,8);
VAR6:=3*SMA((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55))*100,5,1)-2*SMA(SMA((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55))*100,5,1),3,1);
VAR7:=EMA(VAR6,3)-10;
A:=1.1*CLOSE;
B:=0.9*CLOSE;
B1:=100*(WINNER(A)-WINNER(B));
C1:=MA(CLOSE,13)
D1:=IF(CLOSE>1000,CROSS(VAR3,22),CROSS(VAR3,24));
锁定筹码:100-B1,LINETHICK0,color84FF;
龙珠:IF(CROSS(锁定筹码,90) AND C1,1,0),LINETHICK0,colorFF;
龙眼:IF(D1,1,0),LINETHICK0,colorFFFF;
DRAWICON(龙珠,(筹码重心+筹码重心2)/2,10);
DRAWICON(龙眼,(筹码重心+筹码重心2)/2,12);
DRAWTEXTEX(CLOSE>0,1,20,780,'≮长阳真人≯'),colorFF;