副图公式源码支持 手机/电脑
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,8);
CHP13:=EMA(CHP12,5);
STICKLINE(CHP12>0 AND CHP12-CHP13>=0,19,20,0,0),COLORRED;
STICKLINE(CHP12>0 AND CHP12-CHP13<0,19,20,0,1),COLORGREEN;
交叉线:CHP12-CHP13,COLORRED,LINETHICK2;
STICKLINE(CHP12-CHP13>0,CHP12,CHP13,2,0),COLORRED;
条件:-交叉线,COLORYELLOW;
STICKLINE(CHP12-CHP13<0,CHP12,CHP13,2,0),COLORGREEN;
卖出:REF(交叉线,1)>0 AND 交叉线<=0 OR (交叉线<1 AND 交叉线>=0 AND CLOSE
风险线:85,COLORRED,LINETHICK2;
机会线:20,NODRAW,COLORGREEN;
底线:0,COLORLICYAN,LINETHICK2;
神买:卖出=0 AND REF(交叉线,1)<0 AND 交叉线>0,COLORLICYAN;
STICKLINE(神买,0,22,2,0),COLORYELLOW;
STICKLINE(神买,0,5,5,0),COLORFF7700;
STICKLINE(神买,0,5,4.5,0),COLORFF8800;
STICKLINE(神买,0,5,4,0),COLORFF9900;
STICKLINE(神买,0,5,3.5,0),COLORFFAA00;
STICKLINE(神买,0,5,3,0),COLORFFBB00;
STICKLINE(神买,0,5,2.5,0),COLORFFCC00;
STICKLINE(神买,0,5,2,0),COLORFFDD00;
STICKLINE(神买,0,5,1,0),COLORFFEE00;
STICKLINE(神买,0,15,4.5,0),COLOR102099;
STICKLINE(神买,0,15,4,0),COLOR1020AA;
STICKLINE(神买,0,15,3.5,0),COLOR1020BB;
STICKLINE(神买,0,15,3,0),COLOR1020CC;
STICKLINE(神买,0,15,2.5,0),COLOR1020DD;
STICKLINE(神买,0,15,2,0),COLOR1020EE;
STICKLINE(神买,0,15,1,0),COLORYELLOW;
DRAWTEXT(神买,25,'神买'),COLORYELLOW;
选股公式源码
{选股公式:神买}
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,8);
CHP13:=EMA(CHP12,5);
交叉线:=CHP12-CHP13,COLORRED,LINETHICK2;
条件:=-交叉线,COLORYELLOW;
卖出:=REF(交叉线,1)>0 AND 交叉线<=0 OR (交叉线<1 AND 交叉线>=0 AND CLOSE
神买:卖出=0 AND REF(交叉线,1)<0 AND 交叉线>0;
{卖出公式:卖出}
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,8);
CHP13:=EMA(CHP12,5);
交叉线:=CHP12-CHP13,COLORRED,LINETHICK2;
条件:=-交叉线,COLORYELLOW;
卖出:REF(交叉线,1)>0 AND 交叉线<=0 OR (交叉线<1 AND 交叉线>=0 AND CLOSE |