副图公式源码支持 手机/电脑
总量:100,LINETHICK0;
LC20:=REF(C,1);
RSI20:=SMA(MAX(C-LC20,0),4.1,1)/SMA(ABS(C-LC20),4.1,1)*100;
STICKLINE(CROSS(RSI20,11)*1,0,16,3,0),COLORFF0080;
GUP1:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
GUP2:=SMA(GUP1,3.1,1);
GUP3:=SMA(GUP2,3.1,1);
顶部:110,COLOR007700,LINETHICK2;
底部:0,COLORRED;
分界:50,DOTLINE,COLORLIGRAY;
买入:3*GUP2-2*GUP3,COLORYELLOW,LINETHICK2;
压力:3*GUP3-2*GUP2,COLORFF8800,LINETHICK1;
DRAWICON(CROSS(买入,5),5,38);
DRAWICON(CROSS(110,买入),110,39);
选股公式源码
{选股公式:红三角图标}
LC20:=REF(C,1);
RSI20:=SMA(MAX(C-LC20,0),4.1,1)/SMA(ABS(C-LC20),4.1,1)*100;
GUP1:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
GUP2:=SMA(GUP1,3.1,1);
GUP3:=SMA(GUP2,3.1,1);
买入:=3*GUP2-2*GUP3,COLORYELLOW,LINETHICK2;
压力:=3*GUP3-2*GUP2,COLORFF8800,LINETHICK1;
{DRAWICON(CROSS(买入,5),5,38);}
红三角图标:CROSS(买入,5);
{卖出公式:绿三角图标}
LC20:=REF(C,1);
RSI20:=SMA(MAX(C-LC20,0),4.1,1)/SMA(ABS(C-LC20),4.1,1)*100;
GUP1:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
GUP2:=SMA(GUP1,3.1,1);
GUP3:=SMA(GUP2,3.1,1);
买入:=3*GUP2-2*GUP3,COLORYELLOW,LINETHICK2;
压力:=3*GUP3-2*GUP2,COLORFF8800,LINETHICK1;
{DRAWICON(CROSS(110,买入),110,39);}
绿三角图标:CROSS(110,买入); |