{翻倍猎手副图源码如下}
ABCF:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1),3,1);
ABCG:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
趋势:=IF(ABCF-ABCG,ABCF,ABCF),COLORBB11AA,LINETHICK0;
底部:=IF(ABCG-ABCF,ABCG,ABCF),COLORGRAY;
STICKLINE(趋势> REF(趋势,1),0,3,2.75,0),COLORFF00FF;
STICKLINE(趋势<=REF(趋势,1),0,3,2.75,0),COLORFF7700;
{翻倍猎手主图源码如下}
ABC1:EMA(C,10),COLOR61DC16 DOTLINE;
ABC2:EMA(ABC1,3),COLOR61DC16 DOTLINE;
ABC3:EMA(ABC2,3),COLOR61DC16 DOTLINE;
ABC4:EMA(ABC3,3),COLOR61DC16 DOTLINE;
ABC5:EMA(ABC4,3),COLOR61DC16 DOTLINE;
ABCS1:EMA(C,45),COLORD1875A DOTLINE;
ABCS2:EMA(ABCS1,3),COLORD1875A DOTLINE;
ABCS3:EMA(ABCS2,3),COLORD1875A DOTLINE;
ABCS4:EMA(ABCS3,3),COLORD1875A DOTLINE;
ABCS5:EMA(ABCS4,3),COLORD1875A DOTLINE;
IF(ABC1>REF(ABC1,1),ABC1,DRAWNULL),COLORMAGENTA LINETHICK2;
IF(ABC2>REF(ABC2,1),ABC2,DRAWNULL),COLORMAGENTA;
IF(ABC3>REF(ABC3,1),ABC3,DRAWNULL),COLORMAGENTA;
IF(ABC4>REF(ABC4,1),ABC4,DRAWNULL),COLORMAGENTA;
IF(ABC5>REF(ABC5,1),ABC5,DRAWNULL),COLORMAGENTA;
IF(ABCS1>REF(ABCS1,1),ABCS1,DRAWNULL),COLORRED LINETHICK2;
IF(ABCS2>REF(ABCS2,1),ABCS2,DRAWNULL),COLORRED;
IF(ABCS3>REF(ABCS3,1),ABCS3,DRAWNULL),COLORRED;
IF(ABCS4>REF(ABCS4,1),ABCS4,DRAWNULL),COLORRED;
IF(ABCS5>REF(ABCS5,1),ABCS5,DRAWNULL),COLORRED;
STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,3.5,-1),COLOR00FFFF;
STICKLINE(CLOSE< REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,3.5,-1),COLORGREEN;
ACB1:=REF(MA(C,20),10);
开:=O-ACB1;
高:=H-ACB1;
低:=L-ACB1;
收:=C-ACB1;
MID:=MA(C,20);
UPPER:=MID+2*STD(C,20);
LOWER:=MID-2*STD(C,20);
V1:=(C-LOWER)/(UPPER-LOWER)*100;
V2:=V1-EMA(V1,5);
K1:=SUM(LLV(V2,4),4)/4;
V3:=EMA(V2,64)*10;
V4:=EMA(0.4*V2*(-1),3);
V5:=-1*EMA(V2,39)*10;
A:=V3>10;
B:=V2>V4;
D:=V5>10;
E:=V3<=10 OR V2<=V4 OR V5<=10;
AAA1:=C>MA(C,5);
ABCF:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1),3,1);
ABCG:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
趋势:=IF(ABCF-ABCG,ABCF,ABCF),COLORBB11AA,LINETHICK0;
底部:=IF(ABCG-ABCF,ABCG,ABCF),COLORGRAY;
多多:=BARSLASTCOUNT(开<=收 AND B)=1 AND AAA1 AND (趋势> REF(趋势,1));
DRAWICON(多多,L*1.002,9);
HGW:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
HGW1:=EMA(HGW,3);
HGW2:=EMA(HGW,5);
HGW3:=EMA(HGW,7);
T1:=HGW2>=HGW3 AND HGW1< REF(HGW1,1);
T2:=HGW2< HGW3 AND HGW1>REF(HGW1,1);
STICKLINE(T1,C,O,1.25,0),COLORFF7700;
STICKLINE(T1,C,O,1.25,0),COLORFF7700;
STICKLINE(T2,C,O,1.25,0),COLORRED;
STICKLINE(T2,C,O,1.25,0),COLORRED;
N:=10;
大涨:=CLOSE/REF(CLOSE,1)>=1.08 OR ((H-L)/REF(C,1)>0.1 AND C=H);
STICKLINE(大涨,C,O,2.75,0),COLOR007FFF;
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
DBB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(CROSS(DA-DBB,0),L*0.995,' ★B'),COLORYELLOW;
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
操作线:MA(C,5)*IF(CONST(MA(C,5)),1,DRAWNULL)COLORYELLOW LINETHICK2;
NN:=8;
AA:=REF(H,NN)=HHV(H,2*NN+1);
AA1:=REF(L,NN)=LLV(L,2*NN+1);
QY:=(AA,NN+1);
QY1:= (AA1,NN+1);
CC:=FILTER(QY,NN) AND H=HHV(H,NN+1);
CC1:=FILTER(QY1,NN) AND L=LLV(L,NN+1);
DRAWICON(CC,H,2);