副图公式源码支持 手机/电脑
GUP0:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
GUP1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GUP2:=SMA(ABS(LOW-GUP1),13,1)/SMA(MAX(LOW-GUP1,0),10,1);
GUP3:=EMA(GUP2,10);
GUP4:=LLV(LOW,34);
GUP5:=EMA(IF(LOW<=GUP4,GUP3,0),3);
GUP6:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
洗:=IF(GUP5<REF(GUP5,1),GUP5,0);
买:=洗>0.1 AND REF(GUP6,1)<8 AND REF(GUP6,2)>REF(GUP6,1) AND GUP6>REF(GUP6,1);
卖:=REF(GUP0,2)<REF(GUP0,1) AND GUP0<REF(GUP0,1) AND REF(GUP0,1)>95;
DRAWICON(买=1,MACD,1);
DRAWICON(卖=1,MACD,2);
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACDDIF-DEA)*2,COLORSTICK;
选股公式源码
{选股公式:红箭头图标}
GUP1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GUP2:=SMA(ABS(LOW-GUP1),13,1)/SMA(MAX(LOW-GUP1,0),10,1);
GUP3:=EMA(GUP2,10);
GUP4:=LLV(LOW,34);
GUP5:=EMA(IF(LOW<=GUP4,GUP3,0),3);
GUP6:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
洗:=IF(GUP5<REF(GUP5,1),GUP5,0);
买:=洗>0.1 AND REF(GUP6,1)<8 AND REF(GUP6,2)>REF(GUP6,1) AND GUP6>REF(GUP6,1);
红箭头图标:买=1;
{卖出公式:绿箭头图标}
GUP0:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
GUP1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GUP2:=SMA(ABS(LOW-GUP1),13,1)/SMA(MAX(LOW-GUP1,0),10,1);
GUP3:=EMA(GUP2,10);
GUP4:=LLV(LOW,34);
GUP5:=EMA(IF(LOW<=GUP4,GUP3,0),3);
卖:=REF(GUP0,2)<REF(GUP0,1) AND GUP0<REF(GUP0,1) AND REF(GUP0,1)>95;
绿箭头图标:卖=1;
|