本帖最后由 九转妖 于 2023-5-8 10:31 编辑
副图公式源码支持 手机/电脑
均5:MA(CLOSE,5), COLORYELLOW;
均10:MA(CLOSE,10), COLORMAGENTA;
均30: MA(CLOSE,30), COLORGREEN;
均60: MA(CLOSE, 60), COLORFFFF00, POINTDOT, LINETHICK2;
通道上:均30 + 2*STD(CLOSE,60), COLORFF6633 ,POINTDOT ,LINETHICK2 ;
通道下:均30 - 2*STD(CLOSE,60), COLOR00FF99 ,POINTDOT ,LINETHICK2;
GUP1:=MA(CLOSE,5);
GUP2:=MA(CLOSE,34);
GUP3:=MA(CLOSE,60);
胜利A: MA(CLOSE,13);
胜利B: (EMA(CLOSE,5)*7+EMA(CLOSE,5)*3)/10,COLORFFFFFF;
GUPA:=REF(CLOSE,1);
GUPE:=SMA(MAX(CLOSE-GUPA,0),6,1)/SMA(ABS(CLOSE-GUPA),6,1)*100;
DRAWTEXT( CROSS(84,GUPE),HIGH,'☆见好就收'),COLORGREEN;
GUPF:=(2*CLOSE+HIGH+LOW)/4;
GUP4:=LLV(LOW,34);
GUP5:=HHV(HIGH,34);
GUP6:=EMA((GUPF-GUP4)/(GUP5-GUP4)*100,6);
GUP7:=EMA(0.667*REF(GUP6,1)+0.333*GUP6,4);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(GUP6>GUP7,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),LOW,'★走向胜利'),COLORYELLOW;
STICKLINE(胜利B<胜利A,胜利A,胜利B,0.1,1),COLOR009900;
选股公式源码
{选股公式:走向胜利}
GUP1:=MA(CLOSE,5);
GUP2:=MA(CLOSE,34);
GUP3:=MA(CLOSE,60);
GUPA:=REF(CLOSE,1);
GUPE:=SMA(MAX(CLOSE-GUPA,0),6,1)/SMA(ABS(CLOSE-GUPA),6,1)*100;
GUPF:=(2*CLOSE+HIGH+LOW)/4;
GUP4:=LLV(LOW,34);
GUP5:=HHV(HIGH,34);
GUP6:=EMA((GUPF-GUP4)/(GUP5-GUP4)*100,6);
GUP7:=EMA(0.667*REF(GUP6,1)+0.333*GUP6,4);
走向胜利:COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(GUP6>GUP7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN;
{卖出公式:见好就收}
GUP1:=MA(CLOSE,5);
GUP2:=MA(CLOSE,34);
GUP3:=MA(CLOSE,60);
GUPA:=REF(CLOSE,1);
GUPE:=SMA(MAX(CLOSE-GUPA,0),6,1)/SMA(ABS(CLOSE-GUPA),6,1)*100;
GUPF:=(2*CLOSE+HIGH+LOW)/4;
GUP4:=LLV(LOW,34);
GUP5:=HHV(HIGH,34);
GUP6:=EMA((GUPF-GUP4)/(GUP5-GUP4)*100,6);
GUP7:=EMA(0.667*REF(GUP6,1)+0.333*GUP6,4);
见好就收:CROSS(84,GUPE);
|