副图公式源码支持 手机/电脑
均线1:MA(CLOSE,6);
均线2:MA(CLOSE,10);
均线3:MA(CLOSE,20);
均线4:MA(CLOSE,30);
均线5:MA(CLOSE,60);
均线6:MA(CLOSE,126);
均线7:MA(CLOSE,250);
GUP:=CROSS(MA(CLOSE,126),MA(CLOSE,250));
STICKLINE(CLOSE>MA(CLOSE,6) AND REF(CLOSE,1)>REF(MA(CLOSE,6),1),O,CLOSE,9,0),COLORMAGENTA;
STICKLINE(CLOSE>MA(CLOSE,6) AND REF(CLOSE,1)>REF(MA(CLOSE,6),1),H,L,1,0),COLORMAGENTA;
STICKLINE(CLOSE<MA(CLOSE,6) AND REF(CLOSE,1)<REF(MA(CLOSE,6),1),O,CLOSE,9,0),COLORBLUE;
STICKLINE(CLOSE<MA(CLOSE,6) AND REF(CLOSE,1)<REF(MA(CLOSE,6),1),H,L,1,0),COLORBLUE;
STICKLINE((CROSS(CLOSE,均线2) AND CLOSE>均线1) OR (CROSS(REF(CLOSE,1),REF(均线2,1)) AND REF(CLOSE,1)<=REF(均线1,1) AND CLOSE>均线1 AND CLOSE>均线2),O,CLOSE,9,0),COLORRED;
STICKLINE((CROSS(CLOSE,均线2) AND CLOSE>均线1) OR (CROSS(REF(CLOSE,1),REF(均线2,1)) AND REF(CLOSE,1)<=REF(均线1,1) AND CLOSE>均线1 AND CLOSE>均线2),H,L,1,0),COLORRED;
STICKLINE((CROSS(均线2,CLOSE) AND CLOSE<均线1) OR (CROSS(REF(均线2,1),REF(CLOSE,1)) AND REF(CLOSE,1)>=REF(均线1,1) AND CLOSE<均线1 AND CLOSE<均线2),O,CLOSE,9,0),COLORYELLOW;
STICKLINE((CROSS(均线2,CLOSE) AND CLOSE<均线1) OR (CROSS(REF(均线2,1),REF(CLOSE,1)) AND REF(CLOSE,1)>=REF(均线1,1) AND CLOSE<均线1 AND CLOSE<均线2),H,L,1,0),COLORYELLOW;
DRAWICON(CROSS(MA(CLOSE,10),MA(CLOSE,60)),MA(CLOSE,10)*1.001,38);
DRAWICON(CROSS(MA(CLOSE,60),MA(CLOSE,10)),MA(CLOSE,10)*1.001,39);
DRAWICON(CROSS(MA(CLOSE,10),MA(CLOSE,60)) AND 均线5>均线6 AND 均线5>均线7,H*1.001,1);
DRAWICON(CROSS(MA(CLOSE,60),MA(CLOSE,10)) AND 均线5<均线6 AND 均线5<均线7,H*1.001,2);
选股公式源码
{选股公式一:红三角图标}
红三角图标:CROSS(MA(CLOSE,10),MA(CLOSE,60)),COLORWHITE;
{选股公式二:红箭头图标}
均线1:=MA(CLOSE,6),COLORWHITE;
均线2:=MA(CLOSE,10),COLORWHITE;
均线3:=MA(CLOSE,20),COLORWHITE;
均线4:=MA(CLOSE,30),COLORWHITE;
均线5:=MA(CLOSE,60),COLORWHITE;
均线6:=MA(CLOSE,126),COLORWHITE;
均线7:=MA(CLOSE,250),COLORWHITE;
红箭头图标:CROSS(MA(CLOSE,10),MA(CLOSE,60)) AND 均线5>均线6 AND 均线5>均线7,COLORWHITE;
{卖出公式一:绿三角图标}
红三角图标:CROSS(MA(CLOSE,60),MA(CLOSE,10));
{卖出公式二:绿箭头图标}
均线1:=MA(CLOSE,6);
均线2:=MA(CLOSE,10);
均线3:=MA(CLOSE,20);
均线4:=MA(CLOSE,30);
均线5:=MA(CLOSE,60);
均线6:=MA(CLOSE,126);
均线7:=MA(CLOSE,250);
红箭头图标:CROSS(MA(CLOSE,60),MA(CLOSE,10)) AND 均线5<均线6 AND 均线5<均线7;
|