当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:季线 月线 周线画矩形
软件名称:[B]季线 月线 周线画矩形[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2014-12-07 10:06:08
软件简介:
刚才继续想要求帮他完成月线画矩形。于是我干脆将季线一并整理 发到公式区 让需要的同学一起共享 黄s虚线表示上涨周(阳周线) 蓝色表示下降周(阴周线)红色虚线表示阳月 绿色虚线表示阴月 紫色实心线表示上涨季度 白色实心框体表示下跌季度 大体就是这些 其余 自己去观察
WO:=O#WEEK; WC:=C#WEEK; WH:=H#WEEK; WL:=L#WEEK; T:=BARSLAST(WEEKOFYEAR!=REF(WEEKOFYEAR,1)); T1:=CROSS(BACKSET(T=0,2),0.5); YO:=O#MONTH; YC:=C#MONTH; YH:=H#MONTH; YL:=L#MONTH; YT:=BARSLAST(MONTH!=REF(MONTH,1)); YT1:=CROSS(BACKSET(YT=0,2),0.5); A0:=MOD(MONTH,3); JD:=BARSLAST(CROSS(A0,0.5)); JT:=BARSLAST(JD<REF(JD,1)); JT1:=CROSS(BACKSET(JT=0,2),0.5); JO:=O#SEASON; JC:=C#SEASON; JH:=H#SEASON; JL:=L#SEASON; STICKLINE(IF(ISLASTBAR,JT1=1,JC>=JO AND JT>0 AND JT1=0 ),JH,JH,8,0),COLORLIMAGENTA; STICKLINE(IF(ISLASTBAR,JT1=1,JC>=JO AND JT>0 AND JT1=0 ),JL,JL,8,0),COLORLIMAGENTA; STICKLINE(JC>=JO AND (JT=0 OR JT1=1 OR ISLASTBAR),JH,JL,0,0),COLORLIMAGENTA; STICKLINE(IF(ISLASTBAR,JT1=1,JC<JO AND JT>0 AND JT1=0),JH,JH,8,0),COLORWHITE; STICKLINE(IF(ISLASTBAR,JT1=1,JC<JO AND JT>0 AND JT1=0),JL,JL,8,0),COLORWHITE; STICKLINE(JC<JO AND (JT=0 OR JT1=1 OR ISLASTBAR),JH,JL,0,0),COLORWHITE; STICKLINE(IF(ISLASTBAR,T1=1,WC>=WO AND T>0 AND T1=0 ),WH,WH,8,-1),COLORYELLOW; STICKLINE(IF(ISLASTBAR,T1=1,WC>=WO AND T>0 AND T1=0 ),WL,WL,8,-1),COLORYELLOW; STICKLINE(WC>=WO AND (T=0 OR T1=1 OR ISLASTBAR),WH,WL,0,-1),COLORYELLOW; STICKLINE(IF(ISLASTBAR,T1=1,WC<WO AND T>0 AND T1=0),WH,WH,8,-1),COLORBLUE; STICKLINE(IF(ISLASTBAR,T1=1,WC<WO AND T>0 AND T1=0),WL,WL,8,-1),COLORBLUE; STICKLINE(WC<WO AND (T=0 OR T1=1 OR ISLASTBAR),WH,WL,0,-1),COLORBLUE; STICKLINE(IF(ISLASTBAR,YT1=1,YC>=YO AND YT>0 AND YT1=0 ),YH,YH,8,-1),COLORRED; STICKLINE(IF(ISLASTBAR,YT1=1,YC>=YO AND YT>0 AND YT1=0 ),YL,YL,8,-1),COLORRED; STICKLINE(YC>=YO AND (YT=0 OR YT1=1 OR ISLASTBAR),YH,YL,0,-1),COLORRED; STICKLINE(IF(ISLASTBAR,YT1=1,YC<YO AND YT>0 AND YT1=0),YH,YH,8,-1),COLORGREEN; STICKLINE(IF(ISLASTBAR,YT1=1,YC<YO AND YT>0 AND YT1=0),YL,YL,8,-1),COLORGREEN; STICKLINE(YC<YO AND (YT=0 OR YT1=1 OR ISLASTBAR),YH,YL,0,-1),COLORGREEN;
[url=http://www.70822.com/soft/sort013/sort05/down-78946.html]季线 月线 周线画矩形[/url]