副图公式 源码支持手机/电脑
减仓:80,COLORLIBLUE,DOTLINE;
买入:20,COLORMAGENTA,DOTLINE;
抄底:10,COLORGREEN,DOTLINE;
逃顶:90,COLORGREEN,DOTLINE;
中位:50,COLORYELLOW,DOTLINE;
绝底:=0;
绝顶:=100;
DRAWBAND(绝顶,RGB(0,100,0),逃顶,RGB(0,0,0));
DRAWBAND(抄底,RGB(139,58,139),绝底,RGB(0,0,0));
GUP1:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
AA:SMA(GUP1,3,1),COLORRED;
BB:SMA(AA,3,1),COLORGREEN;
DRAWICON(CROSS(AA,BB) AND AA<20,25,1);
DRAWICON(AA>80 AND CROSS(BB,AA),96,2);
选股公式源码
{选股公式:红箭头图标}
GUP1:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
AA:=SMA(GUP1,3,1),COLORRED;
BB:=SMA(AA,3,1),COLORGREEN;
红箭头图标:CROSS(AA,BB) AND AA<20;
{卖出公式:绿箭头图标}
GUP1:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
AA:=SMA(GUP1,3,1),COLORRED;
BB:=SMA(AA,3,1),COLORGREEN;
绿箭头图标:AA>80 AND CROSS(BB,AA); |