副图公式源码支持: 手机/电脑
GUP1:=(HIGH+LOW+CLOSE)/3;
GUP2:=(GUP1-MA(GUP1,14))/(0.015*AVEDEV(GUP1,14));
GUP3:=(GUP1-MA(GUP1,70))/(0.015*AVEDEV(GUP1,70));
GUP4:=IF(GUP2<=-150 AND GUP2>-200 AND GUP3<=-150 AND GUP3>-200,10,0);
GUP6:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);
GUP7:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);
GUP8:=IF(BARSCOUNT(CLOSE)<70,-120,IF(GUP3<=-200 AND GUP2<=-150,15,GUP4)-120);
GUP9:=SMA((GUP7-50)*2,3,1)+SMA((GUP6-50)*2,3,1)/2;
GUP10:=(HIGH+LOW+CLOSE*2)/4;
GUP11:=EMA(GUP10,10);
GUP12:=STD(GUP10,10);
GUP13:=(GUP10-GUP11)*100/GUP12;
GUP14:=EMA(GUP13,5);
GUP15:=EMA(GUP14,10)+100/2-5,COLORRED;
GUP16:=EMA(GUP15,4),COLORWHITE;
猎物别跑:IF(CROSS(GUP15,GUP16) AND GUP16<-10,0.8,0) AND CROSS(GUP9,GUP8),COLORMAGENTA;
DRAWTEXT(猎物别跑,0.8,' 猎物别跑'),COLORMAGENTA;
DRAWBAND(猎物别跑,RGB(255,0,255),0,RGB(0,0,0));
选股公式源码
{选股公式:猎物别跑}
GUP1:=(HIGH+LOW+CLOSE)/3;
GUP2:=(GUP1-MA(GUP1,14))/(0.015*AVEDEV(GUP1,14));
GUP3:=(GUP1-MA(GUP1,70))/(0.015*AVEDEV(GUP1,70));
GUP4:=IF(GUP2<=-150 AND GUP2>-200 AND GUP3<=-150 AND GUP3>-200,10,0);
GUP6:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);
GUP7:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);
GUP8:=IF(BARSCOUNT(CLOSE)<70,-120,IF(GUP3<=-200 AND GUP2<=-150,15,GUP4)-120);
GUP9:=SMA((GUP7-50)*2,3,1)+SMA((GUP6-50)*2,3,1)/2;
GUP10:=(HIGH+LOW+CLOSE*2)/4;
GUP11:=EMA(GUP10,10);
GUP12:=STD(GUP10,10);
GUP13:=(GUP10-GUP11)*100/GUP12;
GUP14:=EMA(GUP13,5);
GUP15:=EMA(GUP14,10)+100/2-5,COLORRED;
GUP16:=EMA(GUP15,4),COLORWHITE;
猎物别跑:IF(CROSS(GUP15,GUP16) AND GUP16<-10,0.8,0) AND CROSS(GUP9,GUP8),COLORMAGENTA; |