{短线加仓2号副图源码如下}
V1:=MA(C,3)=HHV(MA(C,3),7);
V2:=MA(C,3)>MA(C,5);
V3:=MA(V,5)>MA(V,10)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
LC20:=REF(CLOSE,1);
RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;
STICKLINE(CROSS(RSI20,11)*1,-10,20,2,0),COLORYELLOW;
VAR3A:=3;
VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
加仓:IF(FILTER(YXF=1,5),20,-10),STICK,COLORBLUE,LINETHICK3;
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV
(L,55))*100,5,1);
FY:=EMA(A51,5);
A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
QS:(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2)),LINETHICK2,COLORRED;
{短线金手指1号副图 源码如下}
{短线加仓}{副图公式}
JGH1:=MA(C,3)=HHV(MA(C,3),7);
JGH2:=MA(C,3)>MA(C,5);
JGH3:=MA(V,5)>MA(V,10)*1.01;
JGH4:=COUNT(MA(C,1)>REF(C,1),2)=2;
JGH5:=REF(CLOSE,1);
JGH6:=SMA(MAX(CLOSE-JGH5,0),4.1,1)/SMA(ABS(CLOSE-JGH5),4.1,1)*100;
JGH7:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV
(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
JGH8:=C-REF(C,1);
JGH9:=100*EMA(EMA(JGH8,6),6)/EMA(EMA(ABS(JGH8),6),6);
JGH10:=IF(LLV(JGH9,2)=LLV(JGH9,7) AND COUNT(JGH9<0,2) AND CROSS(JGH9,MA(JGH9,2)),1,0);
加仓:IF(FILTER(JGH10=1,5),20,-10),LINETHICK3;
JGH11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-
LLV(L,55))*100,5,1);
JGH12:=EMA(JGH11,5);
JGH13:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
JGH14:=(MA(3*SMA(JGH13,6,1)-2*SMA(SMA(JGH13,5,1),5,1),2)),COLORRED;
JGH15:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;
JGH16:(EMA(JGH15,3))*2;
JGH17:MA(JGH16,3);
DRAWICON(CROSS(JGH16,20),30,1);
DRAWICON(CROSS(JGH16,20),20,13);
DRAWICON(CROSS(JGH16,8),0,13);