副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=G1*VOL;
GUP2:=EMA((EMA(GUP1,3)/EMA(VOL,3)+EMA(GUP1,6)/EMA(VOL,6)+EMA(GUP1,12)/EMA(VOL,12)+EMA(GUP1,9)/EMA(VOL,9))/4,8);
GUP3:=1.06*GUP2;
趋势:EMA(GUP3-(EMA(G1,3)-GUP3),5),COLORRED;
GUP4:=IF(趋势<=GUP3,趋势,GUP3);
牛线:2*GUP3-GUP4,COLORMAGENTA;
DRAWICON(CROSS(G1,趋势),0.98*G2,1);
DRAWICON(CROSS(牛线,趋势),G2,13);
选股公式源码
{选股公式一:红球图标}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=G1*VOL;
GUP2:=EMA((EMA(GUP1,3)/EMA(VOL,3)+EMA(GUP1,6)/EMA(VOL,6)+EMA(GUP1,12)/EMA(VOL,12)+EMA(GUP1,9)/EMA(VOL,9))/4,8);
GUP3:=1.06*GUP2;
趋势:=EMA(GUP3-(EMA(G1,3)-GUP3),5),COLORRED;
GUP4:=IF(趋势<=GUP3,趋势,GUP3);
牛线:=2*GUP3-GUP4,COLORMAGENTA;
红球图标:CROSS(牛线,趋势);
{选股公式二:红箭头图标}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=G1*VOL;
GUP2:=EMA((EMA(GUP1,3)/EMA(VOL,3)+EMA(GUP1,6)/EMA(VOL,6)+EMA(GUP1,12)/EMA(VOL,12)+EMA(GUP1,9)/EMA(VOL,9))/4,8);
GUP3:=1.06*GUP2;
趋势:=EMA(GUP3-(EMA(G1,3)-GUP3),5),COLORRED;
GUP4:=IF(趋势<=GUP3,趋势,GUP3);
红箭头图标:CROSS(G1,趋势);
|