副图公式 源码支持:手机/电脑
GUP2:=LLV(LOW,10);
GUP3:=HHV(HIGH,25);
GUP5:=EMA((CLOSE-GUP2)/(GUP3-GUP2)*4,4);
减仓:3.2,COLORCYAN;
清仓:3.5,COLORGREEN;
底部:0.2,COLORRED;
关注:0.5,COLOR0FFFFF;
STICKLINE(GUP5>REF(GUP5,1),GUP5,REF(GUP5,1),6,0),COLORRED;
STICKLINE(GUP5<=REF(GUP5,1),GUP5,REF(GUP5,1),6,0),COLOR00FF00;
DRAWICON(FILTER(CROSS(GUP5,关注),10),REF(GUP5,1)-0.3,25);
DRAWICON(FILTER(CROSS(GUP5,底部),10),REF(GUP5,1)-0.3,26);
乾坤线:1.75,COLORBLUE,LINETHICK2;
当前:GUP5,COLORA8A8A8;
DRAWTEXT(CROSS(当前,0.50),2.5,'有'),COLORYELLOW;
DRAWTEXT(CROSS(当前,0.50),2,'异'),COLORB47DFF;
DRAWTEXT(CROSS(当前,0.50),1.5,'动'),COLOR00C0FF;
选股公式源码
{选股公式一:红钻图标}
GUP2:=LLV(LOW,10);
GUP3:=HHV(HIGH,25);
GUP5:=EMA((CLOSE-GUP2)/(GUP3-GUP2)*4,4);
关注:=0.5,COLOR0FFFFF;
{DRAWICON(FILTER(CROSS(GUP5,关注),10),REF(GUP5,1)-0.3,25);}
红钻图标:FILTER(CROSS(GUP5,关注),10);
{选股公式二:黄钻图标}
GUP2:=LLV(LOW,10);
GUP3:=HHV(HIGH,25);
GUP5:=EMA((CLOSE-GUP2)/(GUP3-GUP2)*4,4);
底部:=0.2,COLORRED;
{DRAWICON(FILTER(CROSS(GUP5,底部),10),REF(GUP5,1)-0.3,26);}
黄钻图标:FILTER(CROSS(GUP5,底部),10);
{选股公式三:有异动}
GUP2:=LLV(LOW,10);
GUP3:=HHV(HIGH,25);
GUP5:=EMA((CLOSE-GUP2)/(GUP3-GUP2)*4,4);
乾坤线:=1.75,COLORBLUE,LINETHICK2;
当前:=GUP5,COLORA8A8A8;
{DRAWTEXT(CROSS(当前,0.50),2.5,'有'),COLORYELLOW;
DRAWTEXT(CROSS(当前,0.50),2,'异'),COLORB47DFF;
DRAWTEXT(CROSS(当前,0.50),1.5,'动'),COLOR00C0FF;}
有异动:CROSS(当前,0.50);
|