擒龙副图公式
源码
VAR1:=HHV(HIGH,3);
VAR2:=((IF((WINNER((1.1 * CLOSE)) < 0),0,WINNER((1.1 * CLOSE))) - IF((WINNER((0.9 * CLOSE)) < 0),0,WINNER((0.9 * CLOSE)))) * 100);
VAR3:=IF((VAR1 < 0),0,VAR1);
VAR4:=IF((VAR2 < 0),0,VAR2);
主力震仓:PWINNER(10,VAR4),LINETHICK2,colorFF0000;
VAR5:=COST(10);
VAR6:=(((CLOSE - VAR5) / VAR5) * 100);
VAR7:=COUNT((VAR6 < (0 - 2.05)),3);
主力吸筹:IF((VAR7 >= 3),0.5,0),LINETHICK4,colorFFCC66;
VAR9:=(((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100);
VAR10:=SMA(VAR9,3,1);
VAR11:=SMA(VAR10,3,1);
VAR12:=SMA(VAR11,3,1);
买:IF((CROSS(VAR11,VAR12) AND (VAR11 < 40)),1,0),LINETHICK2,colorFF;
STICKLINE(买,0,0.5,8,0),LINETHICK2,colorFF;
STICKLINE(买,0.45,0.6,2,0),LINETHICK2;
RSV:=(((CLOSE - LLV(LOW,6)) / (HHV(HIGH,6) - LLV(LOW,6))) * 1);
短K:=SMA(RSV,2,1);
短D:SMA(短K,2,1),colorFFFF;
RSV1:=(((CLOSE - LLV(LOW,38)) / (HHV(HIGH,38) - LLV(LOW,38))) * 1);
STICKLINE((短K > 短D),短K,短D,6,0),LINETHICK4,colorFF00FF;
STICKLINE((短K <= 短D),短K,短D,5,0),LINETHICK3,colorFF00;
VAR6:=((((2 * CLOSE) + HIGH) + LOW) / 4);
VAR7:=LLV(LOW,8);
VAR8:=HHV(HIGH,8);
VAR9:=EMA((((VAR6 - VAR7) / (VAR8 - VAR7)) * 100),2);
VARA:=EMA(((0.667 * REF(VAR9,1)) + (0.333 * VAR9)),2);
战术线:=VAR9;
战略线:=EMA(((0.382 * REF(VAR9,2)) + (0.618 * VAR9)),12);
AA:=IF((战略线 > REF(战略线,1)),5,0);
BB:=IF((战略线 < REF(战略线,1)),5,0);
DRAWICON(AA,0.01,10),LINETHICK2;
DRAWICON(BB,0.01,11),LINETHICK2;
VAR1:=REF(CLOSE,1);
VAR2:=((SMA(MAX((CLOSE - VAR1),0),6,1) / SMA(ABS((CLOSE - VAR1)),6,1)) * 100);
顶部雷达:=(CROSS(80,VAR2) * 1);
DRAWTEXT(CROSS(80,VAR2),1,'★见顶 '),LINETHICK2,colorEEFF;