副图公式源码支持: 手机/电脑
CHP1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
CHP2:=SMA(ABS(LOW-CHP1),13,1)/SMA(MAX(LOW-CHP1,0),10,1);
CHP3:=EMA(CHP2,10);
CHP4:=LLV(LOW,33);
CHP5:=EMA(IF(LOW<=CHP4,CHP3,0),3);
建:IF(CHP5>REF(CHP5,1),CHP5,0),COLORRED,NODRAW;
洗:IF(CHP5
STICKLINE(CHP5
STICKLINE(CHP5>REF(CHP5,1),0,CHP5,3,0 ),COLOR000055;
STICKLINE(CHP5>REF(CHP5,1),0,CHP5,2.6,0 ),COLOR000077;
STICKLINE(CHP5>REF(CHP5,1),0,CHP5,2.1,0 ),COLOR000099;
STICKLINE(CHP5>REF(CHP5,1),0,CHP5,1.5,0 ),COLOR0000BB;
STICKLINE(CHP5>REF(CHP5,1),0,CHP5,0.9,0 ),COLOR0000DD;
STICKLINE(CHP5>REF(CHP5,1),0,CHP5,0.3,0 ),COLOR0000FF;
STICKLINE(CHP5
STICKLINE(CHP5
STICKLINE(CHP5
STICKLINE(CHP5
STICKLINE(CHP5
STICKLINE(CHP5
CHP21:=SMA(ABS(HIGH-CHP1),13,1)/SMA(MIN(HIGH-CHP1,0),10,1);
CHP31:=EMA(CHP21,10);
CHP41:=HHV(HIGH,33);
CHP51:=EMA(IF(HIGH>=CHP41,CHP31,0),3),COLORLIBLUE;
拉:IF(CHP51
STICKLINE(CHP51
出:IF(CHP51>REF(CHP51,1),CHP51,0),COLORCYAN,NODRAW;
STICKLINE(CHP51>REF(CHP51,1),0,CHP51,2,0 ),COLORCYAN;
趋势线:=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);
底部:=CROSS(趋势线,8),COLORYELLOW;
A:=建>0;
B:=洗>0;
D:=A OR B;
买进:底部 AND D;
STICKLINE(买进>0 ,-5,-20,3,0),COLORRED;
DRAWTEXT(买进>0,-30,'买点'),COLORRED;
N1:=9;N2:=5;
MTM:=C-REF(C,1);
主力:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORWHITE;
主力线:MA(主力,N2),COLORYELLOW;
选股公式源码
{选股公式:买点}
CHP1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
CHP2:=SMA(ABS(LOW-CHP1),13,1)/SMA(MAX(LOW-CHP1,0),10,1);
CHP3:=EMA(CHP2,10);
CHP4:=LLV(LOW,33);
CHP5:=EMA(IF(LOW<=CHP4,CHP3,0),3);
建:=IF(CHP5>REF(CHP5,1),CHP5,0),COLORRED;
洗:=IF(CHP5
趋势线:=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);
底部:=CROSS(趋势线,8),COLORYELLOW;
A:=建>0;
B:=洗>0;
D:=A OR B;
买进:=底部 AND D;
买点:买进>0; |