副图公式 源码支持手机/电脑
GUP2:=LLV(LOW,10);
GUP3:=HHV(HIGH,25);
减仓:3.2,COLORCYAN;
清仓:3.5,COLOR0088FF;
动力线:=EMA((CLOSE-GUP2)/(GUP3-GUP2)*4,4);
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),8 ,1),COLORRED;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),8 ,1),COLORGREEN;
底部:0.2,COLORGREEN;
准备:0.25,COLORYELLOW;
强弱线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;
起势:0.60,COLORYELLOW;
买入:IF(CROSS(动力线,起势),2.2,0),LINETHICK2,STICK,COLOR0000FF;
DRAWTEXT(买入,2.3,'买入'),COLOR0000FF;
进场:IF(CROSS(动力线,准备),1.1,0),LINETHICK2,STICK,COLOR0000FF;
DRAWTEXT(进场,2,'进场'),COLOR0000FF;
拉升:1*(买入+进场);
DRAWTEXT(拉升>3.3,3.2,'拉升'),COLOR0000FF;
选股公式源码
{选股公式一:买入}
GUP2:=LLV(LOW,10);
GUP3:=HHV(HIGH,25);
减仓:=3.2,COLORCYAN;
清仓:=3.5,COLOR0088FF;
动力线:=EMA((CLOSE-GUP2)/(GUP3-GUP2)*4,4);
起势:=0.60,COLORYELLOW;
{买入:IF(CROSS(动力线,起势),2.2,0),LINETHICK2,STICK,COLOR0000FF;}
买入:CROSS(动力线,起势);
{选股公式二:进场}
GUP2:=LLV(LOW,10);
GUP3:=HHV(HIGH,25);
底部:=0.2,COLORGREEN;
动力线:=EMA((CLOSE-GUP2)/(GUP3-GUP2)*4,4);
准备:=0.25,COLORYELLOW;
{进场:IF(CROSS(动力线,准备),1.1,0),LINETHICK2,STICK,COLOR0000FF;}
进场:CROSS(动力线,准备);
{选股公式三:拉升}
GUP2:=LLV(LOW,10);
GUP3:=HHV(HIGH,25);
动力线:=EMA((CLOSE-GUP2)/(GUP3-GUP2)*4,4);
{STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),8 ,1),COLORRED;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),8 ,1),COLORGREEN;}
起势:=0.60,COLORYELLOW;
买入:=CROSS(动力线,起势);
准备:=0.25,COLORYELLOW;
进场:=CROSS(动力线,准备);
拉升:=1*(买入+进场);
{DRAWTEXT(拉升>3.3,3.2,'拉升'),COLOR0000FF;}
拉升XG:拉升>3.3;
|