最新更新 - 网站地图 -
您的当前位置: > 股票公式 > 通达信公式 > 通达信趋势大王主图指标公式

通达信趋势大王主图指标公式

来源:网络 点击: 时间:2024-01-02 07:55:13


MA7:=MA(H,7)*0.99,COLORMAGENTA;
空线:MA(C,25),COLORGREEN;
AA:=空线>REF(空线,1);
多线:IF(AA,空线,DRAWNULL),COLORRED;
N:=MA(CLOSE,34);
F1:=REF(L,1)=LLV(L,30) AND REF(C>O*1.2,1) AND L>REF(L,1);
F2:=BARSLAST(F1);
F3:=COUNT(CROSS(C,空线),F2) AND AA AND CROSS(C,空线);
DRAWICON(F3,L,9);
MA77:=H>MA7 AND OREF(MA7,1) AND REF(MA7>REF(MA7,1),2) AND REF(MA7>空线,2) AND 空线>REF(空线,1) AND MA7>空线 AND O/空线<1.036 AND MA7/空线<1.036 AND DYNAINFO(4)!=0 ;
STICKLINE(C>=N AND C>=O,C,O,2.8,0),COLORRED;
STICKLINE(C>=N AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=N AND C STICKLINE(C>=N AND C STICKLINE(C>=N AND C STICKLINE(CO,C,O,2.8,1),COLORFFFF00;
STICKLINE(C STICKLINE(C STICKLINE(CO,C,H,0,1),COLORFFFF00;
STICKLINE(CO,O,L,0,1),COLORFFFF00;
AA1:=MA(C,5);
BB1:=MA(C,15);
A:=CROSS(AA1,BB1);
STICKLINE(A AND C DRAWTEXT(A AND C STICKLINE(A AND C>=N,LLV(L,4),LLV(L,4),50,1),COLORMAGENTA;
DRAWTEXT(A AND C>=N,LLV(L,4),'加做多'),COLORMAGENTA;
X:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*59.3;
XX:=X>40;
AF:=C/REF(C,1)>1.095;
BB:=BARSLAST(AF);
CC:=L<=(REF(H,BB)+REF(L,BB))/2*0.98;
DD:=COUNT(CC,BB)=1 AND CC AND BB<10 AND C>L AND XX ;
GG:=BARSLAST(DD);
HH:=H>0.01*REF(L,GG)*N;
卖出:=COUNT(HH,GG)=1 AND HH AND GG<10;
STICKLINE(AF,C,O,2,0),COLORMAGENTA;
STICKLINE(DD,C,O,2,0),COLORBLUE;
STICKLINE(卖出,C,O,2,0),COLORYELLOW;
DRAWICON(DD,L,27);
STICKLINE(DD,L,L,0,0),COLORGREEN;
DRAWTEXT(DD,L,'▲伏击'),COLORGREEN;
DRAWICON(卖出,H,26);
STICKLINE(卖出,H,H,0,0),COLORYELLOW;
DRAWTEXT(卖出,H,'$中枪'),COLORYELLOW;
STICKLINE(MA77,C,O,3,0),COLORGREEN;
SS:=BARSLAST(F3);
S1:=COUNT(L {DRAWTEXT(S1,DYNAINFO(6)=REF(C,SS)*0.8,'-------------'),COLORYELLOW;}
MA5:=MA(O,7)*0.96;
AX:=REF(CREF(MA(H,3),2) AND MA(O,3)>MA(O,6);
AO:=MA(O,7);
A2:=MA(H,7);
A3:=AO>REF(AO,1) AND REF(AO,1) A4:=BARSLAST(A3);
A5:=REF(CREF(AO,1)*1.0019 AND REF(A2,1)> REF(A2,2)*1.009 ;
AY:=COUNT(A5,A4)=1 AND A5 AND REF(MA(H,3),1)>REF(MA(H,3),2);
A10:=AX OR AY;
A11:=BARSLAST(A10);
B10:=H>REF(O,A11)*1.05 OR REF(O,A11)/L>1.05 ;
B11:=COUNT(B10,A11)=1 AND B10 AND A11>=1 AND A11<6;
买入:=FILTER(A10,2);
卖:=B11;
STICKLINE(买入,(O+C)/2,O,2.3,0)COLORGREEN;
STICKLINE(卖,(O+C)/2,C,2.3,0)COLORYELLOW;
DRAWTEXT(买入,L,'C')COLORYELLOW;
DRAWTEXT(卖,H,'C')COLORRED;

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top