副图公式源码支持 手机/电脑
CHP1:=HHV(HIGH,9)-LLV(LOW,9);
CHP2:=HHV(HIGH,9)-CLOSE;
CHP3:=CLOSE-LLV(LOW,9);
CHP4:=CHP2/CHP1*100-70;
CHP5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
CHP6:=(2*CLOSE+HIGH+LOW)/4;
CHP7:=SMA(CHP3/CHP1*100,3,1);
CHP8:=LLV(LOW,34);
CHP9:=SMA(CHP7,3,1)-SMA(CHP4,9,1);
CHP10:=IF(CHP9>100,CHP9-100,0);
CHP11:=HHV(HIGH,34);
CHP12:=EMA((CHP6-CHP8)/(CHP11-CHP8)*100,13);
CHP13:=EMA(0.667*REF(CHP12,1)+0.333*CHP12,2);
STICKLINE(CHP12-CHP13>0,CHP12,CHP13,9,0),COLORRED;
STICKLINE(CHP12-CHP13<0,CHP12,CHP13,9,0),COLOR00FF0F;
生命线:EMA(CHP13,5),COLORGREEN,LINETHICK2;
买:CROSS(CHP12,CHP13) AND CHP12>CHP13,NODRAW,COLORRED;
卖:CROSS(CHP13,CHP12) AND CHP12
IF(生命线>=REF(生命线,1),生命线,DRAWNULL),COLORRED,LINETHICK2;
波段买入:IF(CROSS(CHP12,生命线),15,0),COLORYELLOW,LINETHICK1;
波段卖出:IF(CROSS(生命线,CHP12),85,100),COLOR008000,LINETHICK1;
选股公式源码
{选股公式一:波段买入}
CHP1:=HHV(HIGH,9)-LLV(LOW,9);
CHP2:=HHV(HIGH,9)-CLOSE;
CHP3:=CLOSE-LLV(LOW,9);
CHP4:=CHP2/CHP1*100-70;
CHP5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
CHP6:=(2*CLOSE+HIGH+LOW)/4;
CHP7:=SMA(CHP3/CHP1*100,3,1);
CHP8:=LLV(LOW,34);
CHP9:=SMA(CHP7,3,1)-SMA(CHP4,9,1);
CHP10:=IF(CHP9>100,CHP9-100,0);
CHP11:=HHV(HIGH,34);
CHP12:=EMA((CHP6-CHP8)/(CHP11-CHP8)*100,13);
CHP13:=EMA(0.667*REF(CHP12,1)+0.333*CHP12,2);
生命线:=EMA(CHP13,5),COLORGREEN,LINETHICK2;
波段买入:CROSS(CHP12,生命线),COLORYELLOW,LINETHICK1;
{选股公式二:买}
CHP1:=HHV(HIGH,9)-LLV(LOW,9);
CHP2:=HHV(HIGH,9)-CLOSE;
CHP3:=CLOSE-LLV(LOW,9);
CHP4:=CHP2/CHP1*100-70;
CHP5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
CHP6:=(2*CLOSE+HIGH+LOW)/4;
CHP7:=SMA(CHP3/CHP1*100,3,1);
CHP8:=LLV(LOW,34);
CHP9:=SMA(CHP7,3,1)-SMA(CHP4,9,1);
CHP10:=IF(CHP9>100,CHP9-100,0);
CHP11:=HHV(HIGH,34);
CHP12:=EMA((CHP6-CHP8)/(CHP11-CHP8)*100,13);
CHP13:=EMA(0.667*REF(CHP12,1)+0.333*CHP12,2);
买:CROSS(CHP12,CHP13) AND CHP12>CHP13;
|