2024趋势九转 短线买卖《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
GUA1:=C>=REF(C,4);
GUA2:=C<REF(C,4);
GUC1:= GUA2 AND REF(GUA1,1);
GUC2:=GUA2 AND REF(GUC1,1);
GUC3:=GUA2 AND REF(GUC2,1);
GUC4:=GUA2 AND REF(GUC3,1);
GUC5:=GUA2 AND REF(GUC4,1);
GUC6:=GUA2 AND REF(GUC5,1);
GUC7:=GUA2 AND REF(GUC6,1);
GUC8:=GUA2 AND REF(GUC7,1);
GUC9:=GUA2 AND REF(GUC8,1);
DRAWTEXT(GUC1,L*0.98,'1'),COLORGREEN;
DRAWTEXT(GUC2,L*0.98,'2'),COLORGREEN;
DRAWTEXT(GUC3,L*0.98,'3'),COLORGREEN;
DRAWTEXT(GUC4,L*0.98,'4'),COLORGREEN;
DRAWTEXT(GUC5,L*0.98,'5'),COLORGREEN;
DRAWTEXT(GUC6,L*0.98,'6'),COLORGREEN;
DRAWTEXT(GUC7,L*0.98,'7'),COLORGREEN;
DRAWTEXT(GUC8,L*0.98,'预'),COLORYELLOW;
DRAWTEXT(GUC9,L*0.98,'抄'),COLORRED;
GUB1:=C<=REF(C,4);
GUB2:=C>REF(C,4);
GUD1:=GUB2 AND REF(GUB1,1);
GUD2:=GUB2 AND REF(GUD1,1);
GUD3:=GUB2 AND REF(GUD2,1);
GUD4:=GUB2 AND REF(GUD3,1);
GUD5:=GUB2 AND REF(GUD4,1);
GUD6:=GUB2 AND REF(GUD5,1);
GUD7:=GUB2 AND REF(GUD6,1);
GUD8:=GUB2 AND REF(GUD7,1);
GUD9:=GUB2 AND REF(GUD8,1);
DRAWTEXT(GUD1,H*1.050,'1'),COLORRED;
DRAWTEXT(GUD2,H*1.050,'2'),COLORRED;
DRAWTEXT(GUD3,H*1.050,'3'),COLORRED;
DRAWTEXT(GUD4,H*1.050,'4'),COLORRED;
DRAWTEXT(GUD5,H*1.050,'5'),COLORRED;
DRAWTEXT(GUD6,H*1.050,'6'),COLORRED;
DRAWTEXT(GUD7,H*1.050,'7'),COLORRED;
DRAWTEXT(GUD8,H*1.050,'注'),COLORCYAN;
DRAWTEXT(GUD9,H*1.050,'逃'),COLORGREEN;
选股公式源码
{选股公式一:预}
GUA1:=C>=REF(C,4);
GUA2:=C<REF(C,4);
GUC1:= GUA2 AND REF(GUA1,1);
GUC2:=GUA2 AND REF(GUC1,1);
GUC3:=GUA2 AND REF(GUC2,1);
GUC4:=GUA2 AND REF(GUC3,1);
GUC5:=GUA2 AND REF(GUC4,1);
GUC6:=GUA2 AND REF(GUC5,1);
GUC7:=GUA2 AND REF(GUC6,1);
GUC8:=GUA2 AND REF(GUC7,1);
预:GUC8;
{选股公式二:抄}
GUA1:=C>=REF(C,4);
GUA2:=C<REF(C,4);
GUC1:= GUA2 AND REF(GUA1,1);
GUC2:=GUA2 AND REF(GUC1,1);
GUC3:=GUA2 AND REF(GUC2,1);
GUC4:=GUA2 AND REF(GUC3,1);
GUC5:=GUA2 AND REF(GUC4,1);
GUC6:=GUA2 AND REF(GUC5,1);
GUC7:=GUA2 AND REF(GUC6,1);
GUC8:=GUA2 AND REF(GUC7,1);
GUC9:=GUA2 AND REF(GUC8,1);
抄:GUC9;
{卖出公式一:注}
GUB1:=C<=REF(C,4);
GUB2:=C>REF(C,4);
GUD1:=GUB2 AND REF(GUB1,1);
GUD2:=GUB2 AND REF(GUD1,1);
GUD3:=GUB2 AND REF(GUD2,1);
GUD4:=GUB2 AND REF(GUD3,1);
GUD5:=GUB2 AND REF(GUD4,1);
GUD6:=GUB2 AND REF(GUD5,1);
GUD7:=GUB2 AND REF(GUD6,1);
GUD8:=GUB2 AND REF(GUD7,1);
注:GUD8;
{卖出公式二:逃}
GUB1:=C<=REF(C,4);
GUB2:=C>REF(C,4);
GUD1:=GUB2 AND REF(GUB1,1);
GUD2:=GUB2 AND REF(GUD1,1);
GUD3:=GUB2 AND REF(GUD2,1);
GUD4:=GUB2 AND REF(GUD3,1);
GUD5:=GUB2 AND REF(GUD4,1);
GUD6:=GUB2 AND REF(GUD5,1);
GUD7:=GUB2 AND REF(GUD6,1);
GUD8:=GUB2 AND REF(GUD7,1);
GUD9:=GUB2 AND REF(GUD8,1);
逃:GUD9;