博弈大师(澎博)指标源码:
VAR1:=LLV(LOW,34);
VAR2:=HHV(HIGH,30);
VAR3:=REF(CLOSE,1);
VAR4:=EMA((CLOSE-VAR1)/(VAR2-VAR1),3)*100;
主力:=SMA(MAX(CLOSE-VAR3,0),7,1)/SMA(ABS(CLOSE-VAR3),7,1)*100,COLORRED;
CC:主力;
散户:=VAR4;
RSV:= (CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
FASTK:=SMA(RSV,9,1);
K:SMA(FASTK,3,1),COLORWHITE;
D:SMA(K,5,1),COLORWHITE;
DRAWICON(CROSS(K,D) AND CROSS(K,D),K,1);
DRAWICON(CROSS(D,K) AND CROSS(D,K),K,2);
VAR5:=(VAR4-LLV(VAR4,21))/(HHV(VAR4,21)-LLV(VAR4,21))*100;
Q1:IF(CROSS(VAR5,90) AND 散户STICKLINE(L2>L3,L3+2,L3-2,5,0),COLORRED;
STICKLINE(L2