当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:波浪趋势主图,王者归来(通达信公式 主图 源码 测试图)
软件名称:[B]波浪趋势主图,王者归来(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2024-05-27 00:15:28
软件简介:
波浪趋势主图,王者归来
JX0:=IF(C>=MA(C,5),1,-1);
JX1:=IF(C>=MA(C,10),1,-1);
JX2:=IF(C>=MA(C,20),1,-1);
JX3:=IF(C>=MA(C,30),1,-1);
JX4:=IF(C>=MA(C,60),1,-1);
JX5:=IF(MA(C,5)>=REF(MA(C,5),1),1,-1);
JX6:=IF(MA(C,10)>=REF(MA(C,10),1),1,-1);
JX7:=IF(MA(C,20)>=REF(MA(C,20),1),1,-1);
JX8:=IF(MA(C,30)>=REF(MA(C,30),1),1,-1);
JX9:=IF(MA(C,60)>=REF(MA(C,60),1),1,-1);
JX10:=(JX0+JX1+JX2+JX5+JX6+JX7)/6*100;
JX11:=(JX0+JX1+JX2+JX3+JX4+JX5+JX6+JX7+JX8+JX9)/10*100;
STICKLINE(JX10=100,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0)COLOR404050;
STICKLINE(JX11=100,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),0,0)COLOR001050;
{倍量阴}
BLY:=V/REF(V,1)>1.8 AND O>C;
BLYH:=REF(H,BARSLAST(BLY));
BLYL:=REF(L,BARSLAST(BLY));
STICKLINE(L,BLYH,BLYL,5,0)COLORLICYAN;
{涨停画线}
ZTB:=C/REF(C,1)>1.093 AND C=H;
ZTH:=REF(H,BARSLAST(ZTB));
ZTL:=REF(L,BARSLAST(ZTB));
NOTEXTA:ZTH,COLORMAGENTA,DOTLINE;
NOTEXTB:ZTL,COLORBLUE,DOTLINE;
{涨停均价}
DRAWTEXT(CURRBARSCOUNT<=10 AND C/REF(C,1)>1.093 AND C=H,AMOUNT/V/100
,'---------------------------------------------------------------------------------------------')COLORYELLOW;
DRAWKLINE(H,O,L,C);
DRAWTEXT_FIX(ISLASTBAR,0.35,0.15,0,CODE)COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.42,0.15,0,STKNAME)COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.53,0.15,0,HYBLOCK)COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.62,0.15,0,DYBLOCK)COLORB4EEB4;
DRAWTEXT_FIX(ISLASTBAR,0.35,0.25,0,GNBLOCK)COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.35,0.15,0,CODE)COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.42,0.15,0,STKNAME)COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.53,0.15,0,HYBLOCK)COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.62,0.15,0,DYBLOCK)COLORB4EEB4;
DRAWTEXT_FIX(ISLASTBAR,0.35,0.25,0,GNBLOCK)COLORWHITE;
{缠论波浪}
PL5:=ZIG(3,5);
EN1:=PL5>REF(PL5,1) AND REF(PL5,1)<=REF(PL5,2) AND REF(PL5,2)<=REF(PL5,3);
EX1:=PL5<REF(PL5,1) AND REF(PL5,1)>=REF(PL5,2) AND REF(PL5,2)>=REF(PL5,3);
PL10:=ZIG(3,20);
EN2:=PL10>REF(PL10,1) AND REF(PL10,1)<=REF(PL10,2) AND REF(PL10,2)<=REF(PL10,3);
EX2:=PL10<REF(PL10,1) AND REF(PL10,1)>=REF(PL10,2) AND REF(PL10,2)>=REF(PL10,3);
PL20:=ZIG(3,30);
EN3:=PL20>REF(PL20,1) AND REF(PL20,1)<=REF(PL20,2) AND REF(PL20,2)<=REF(PL20,3);
EX3:=PL20<REF(PL20,1) AND REF(PL20,1)>=REF(PL20,2) AND REF(PL20,2)>=REF(PL20,3);
走强1:=BARSLAST(PL5<REF(PL5,1));
走弱1:=BARSLAST(PL5>REF(PL5,1));
走强2:=BARSLAST(PL10<REF(PL10,1));
走弱2:=BARSLAST(PL10>REF(PL10,1));
走强3:=BARSLAST(PL20<REF(PL20,1));
走弱3:=BARSLAST(PL20>REF(PL20,1));
ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);
DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);
DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);
ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);
DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);
DRAWTEXT(EN1 AND DTJZ5=1,L*0.98,'(A)')COLORFFFF00;
DRAWTEXT(EX1 AND DTJD5=2,H*1.02,'(B)')COLORFFFF00;
DRAWTEXT(EN2 AND ZTJZ5=1,L*0.98,'(C)')COLORFFFF00;
DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJD5=1,H*1.03,'1')COLORWHITE;
DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2,L*0.98,'↖2')COLORWHITE;
DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,H*1.03,'3')COLORWHITE;
DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.98,'↖4')COLORWHITE;
DRAWTEXT(EX2 AND (PL20>REF(PL20,1) OR REF(PL20>REF(PL20,1),1) OR ZTJD10=1),H*1.020,'5')COLORWHITE;
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.05,'一')COLOR00FFFF,LINETHICK3;
DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.94,'二')COLOR00FFFF,LINETHICK3;
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2,H*1.05,'三')COLOR00FFFF,LINETHICK3;
DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,L*0.94,'四')COLOR00FFFF,LINETHICK3;
XG1:=EX2;
XG2:=PL20>REF(PL20,1);
XG3:=ZTJZ10=3;
DRAWTEXT(REF(XG2*XG3,1) AND XG1,H*1.06,'五')COLORWHITE,LINETHICK3;
DRAWTEXT(REF(XG2*XG3,1) AND XG1,H*0.99,'●')COLOR0000FF,LINETHICK3;
DRAWTEXT(REF(XG2*XG3,1) AND XG1,H*0.97,'●')COLOR00FFFF,LINETHICK3;
{假阴真阳 分析家公式网HTTP://WWW.70822.COM}
STICKLINE(C<O AND C>REF(C,1),H,L,0,0)COLORLIRED;
STICKLINE(C<O AND C>REF(C,1),C,O,3,1)COLORLIRED;
{真阴假阳}
STICKLINE(C>O AND C<REF(C,1),H,L,0,0)COLORAA00AA;
STICKLINE(C>O AND C<REF(C,1),C,O,3,1)COLORAA00AA;
{涨幅为零}
STICKLINE(C=REF(C,1),H,L,0.1,0)COLORWHITE;
STICKLINE(C=REF(C,1),C,O,3,0)COLORWHITE;
{蹲跳K}
DRAWICON(L>=REF(L,1) AND H<=REF(H,1) AND JX11=100,L*0.998,1);
DRAWICON(L>=REF(L,1) AND H<=REF(H,1) AND JX11=100,H*1.035,2);
{红三兵}
STICKLINE(EVERY(C>O,3) AND EVERY(C>REF(C,1),3) AND O<>H,O,C,1.5,0)COLORRED;
{黑三兵}
DRAWICON(EVERY(C<O,3) AND EVERY(C<REF(C,1),3) AND O<>L,L,28);
{涨停K}
STICKLINE(ZTB,O,C,0,0)COLORYELLOW;
STICKLINE(ZTB,O,(C+O)/2,0.1,0)COLORYELLOW;
{回踩关注}
DRAWICON(BARSLAST(ZTB)<=5 A..............
[url=http://www.70822.com/soft/sort013/sort05/down-173719.html]波浪趋势主图,王者归来(通达信公式 主图 源码 测试图)[/url]