副图公式源码支持: 手机/电脑
GUA1:=EMA((CLOSE-MA((1.2*CLOSE+HIGH+LOW)/3,13))/MA((1.2*CLOSE+HIGH+LOW)/3,13)*100,3);
底部:-5;
MACD120:REF(GUA1/2,BARSLAST(GUA1=HHV(GUA1,120))),COLORRED,LINETHICK2;
妖:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,25))/MA((2*CLOSE+HIGH+LOW)/4,25)*100,3);
STICKLINE(底部>妖,底部,妖,2,0),COLORRED;
GUP1:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;
GUP2:=SMA(GUP1,4,1);
GUP3:=SMA(GUP2,2,1);
GUP5:=IF(GUP3<8.5 AND GUP2<11,-10,0),COLORRED;
DRAWTEXT(CROSS(GUP5,-1),-1,'买入'),COLORYELLOW;
选股公式源码
{选股公式一:红区}
GUA1:=EMA((CLOSE-MA((1.2*CLOSE+HIGH+LOW)/3,13))/MA((1.2*CLOSE+HIGH+LOW)/3,13)*100,3);
GUP1:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;
底部:=-5;
MACD120:=REF(GUA1/2,BARSLAST(GUA1=HHV(GUA1,120))),COLORRED,LINETHICK2;
妖:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,25))/MA((2*CLOSE+HIGH+LOW)/4,25)*100,3);
{STICKLINE(底部>妖,底部,妖,2,0),COLORRED;}
红区:底部>妖;
{选股公式二:买入}
GUA1:=EMA((CLOSE-MA((1.2*CLOSE+HIGH+LOW)/3,13))/MA((1.2*CLOSE+HIGH+LOW)/3,13)*100,3);
GUP1:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;
GUP2:=SMA(GUP1,4,1);
GUP3:=SMA(GUP2,2,1);
GUP5:=IF(GUP3<8.5 AND GUP2<11,-10,0),COLORRED;
{DRAWTEXT(CROSS(GUP5,-1),-1,'买入'),COLORYELLOW;}
买入:CROSS(GUP5,-1); |