副图公式源码支持手机/电脑
GUP1:=EMA(CLOSE,5);
GUP2:=EMA(CLOSE,10);
GUP3:=EMA(GUP1,3);
GUP4:=EMA(CLOSE,3);
GUP5:=EMA(GUP4,3);
GUP6:=150;
GUP7:=3;
GUP8:=REF(HHV(HIGH,GUP6),GUP7);
GUP9:=REF(LLV(LOW,GUP6),GUP7);
GUP10:=GUP8-(GUP8-GUP9)*0.85;
GUP11:=REFDATE(GUP10,DATE);
金字塔买入:IF(CROSS(GUP4,GUP5) AND GUP11>GUP4,5,0*10),COLORYELLOW,LINETHICK2;
STICKLINE(金字塔买入,0,2.5,8,0),COLORYELLOW;
STICKLINE(金字塔买入,0.45,4,2,0),COLORYELLOW;
选股公式源码
{选股公式:金字塔买入}
GUP1:=EMA(CLOSE,5);
GUP2:=EMA(CLOSE,10);
GUP3:=EMA(GUP1,3);
GUP4:=EMA(CLOSE,3);
GUP5:=EMA(GUP4,3);
GUP6:=150;
GUP7:=3;
GUP8:=REF(HHV(HIGH,GUP6),GUP7);
GUP9:=REF(LLV(LOW,GUP6),GUP7);
GUP10:=GUP8-(GUP8-GUP9)*0.85;
GUP11:=REFDATE(GUP10,DATE);
金字塔买入:CROSS(GUP4,GUP5) AND GUP11>GUP4,COLORYELLOW; |