202经典K线 黄进绿出《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
GUP1:=C>O AND C>REF(C,1);
GUP2:=C>O;
GUP3:=REF(GUP1,1) AND O<REF(C,1) AND C<O;
GUP4:=REF(GUP2,1) AND O<REF(C,1) AND C<O;
GUP5:=C<REF(C,1) AND O<REF(C,1);
GUP6:=C<REF(C,1) AND O>REF(C,1);
GUP7:=REF(GUP5,1) AND O>REF(C,1) AND C>O;
GUP8:=REF(GUP6,1) AND O>REF(C,1) AND C>O;
STICKLINE(GUP3,C,O,2,0),COLORGREEN;
STICKLINE(GUP4,C,O,2,0),COLORGREEN;
STICKLINE(GUP7,C,O,2,0),COLORYELLOW;
STICKLINE(GUP8,C,O,2,0),COLORYELLOW;
ZT:=C/REF(C,1)>=1.089 AND C=H;
STICKLINE(ZT,C,O,0.5,0),COLORFF00FF;
选股公式源码
{选股公式一:黄K信号1}
GUP1:=C>O AND C>REF(C,1);
GUP2:=C>O;
GUP3:=REF(GUP1,1) AND O<REF(C,1) AND C<O;
GUP4:=REF(GUP2,1) AND O<REF(C,1) AND C<O;
GUP5:=C<REF(C,1) AND O<REF(C,1);
GUP6:=C<REF(C,1) AND O>REF(C,1);
GUP7:=REF(GUP5,1) AND O>REF(C,1) AND C>O;
黄K信号1:GUP7;
{选股公式二:黄K信号2}
GUP1:=C>O AND C>REF(C,1);
GUP2:=C>O;
GUP3:=REF(GUP1,1) AND O<REF(C,1) AND C<O;
GUP4:=REF(GUP2,1) AND O<REF(C,1) AND C<O;
GUP5:=C<REF(C,1) AND O<REF(C,1);
GUP6:=C<REF(C,1) AND O>REF(C,1);
GUP7:=REF(GUP5,1) AND O>REF(C,1) AND C>O;
GUP8:=REF(GUP6,1) AND O>REF(C,1) AND C>O;
黄K信号2:GUP8;
{卖出公式一:绿K信号1}
GUP1:=C>O AND C>REF(C,1);
GUP2:=C>O;
GUP3:=REF(GUP1,1) AND O<REF(C,1) AND C<O;
GUP4:=REF(GUP2,1) AND O<REF(C,1) AND C<O;
绿K信号1:GUP3;
{卖出公式二:绿K信号2}
GUP1:=C>O AND C>REF(C,1);
GUP2:=C>O;
GUP3:=REF(GUP1,1) AND O<REF(C,1) AND C<O;
GUP4:=REF(GUP2,1) AND O<REF(C,1) AND C<O;
GUP5:=C<REF(C,1) AND O<REF(C,1);
绿K信号2:GUP4;