当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:周线附图 转载和谐完全加密通达信指标!
软件名称:[B]周线附图 转载和谐完全加密通达信指标![/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2018-04-20 02:10:00
软件简介:
{公式名称: AA}
C1:CLOSE;
O1:OPEN;
H1:HIGH;
L1:LOW;
V1:VOL;
ZF:(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
DT1:BARSCOUNT(CLOSE);
ZH:CURRBARSCOUNT;
SJ:IF(ISLASTBAR,DATE,0);
{公式名称: 周线附图}
DRAWTEXT_FIX(CLOSE>0,0,0,0,STRCAT(STRCAT(STRCAT(STRCAT(DYBLOCK,HYBLOCK),GNBLOCK),FGBLOCK),10)),COLOR80FFFF;
VAR1:=TOTALBARSCOUNT-BARSCOUNT(CLOSE)<IF(TOTALBARSCOUNT<0,TOTALBARSCOUNT-IF(CONST(天机泄露2#WEEK)<5000,CONST(天机泄露2#WEEK)+1,1000),0)+IF(CONST(天机泄露2#WEEK)<5000,CONST(天机泄露2#WEEK)+1,1000) AND PERIOD=5;
VAR2:=REF(天机泄露2#WEEK,IF(ISLASTBAR,0,SUMBARS(天机泄露2#WEEK-REF(天机泄露2#WEEK,1),TOTALBARSCOUNT-BARSCOUNT(CLOSE)-(CONST(SUM(天机泄露2#WEEK-REF(天机泄露2#WEEK,1),0))-SUM(天机泄露2#WEEK-REF(天机泄露2#WEEK,1),0))-1)));
VAR3:=REF(天机泄露2.BT#WEEK,IF(ISLASTBAR,0,SUMBARS(天机泄露2#WEEK-REF(天机泄露2#WEEK,1),TOTALBARSCOUNT-BARSCOUNT(CLOSE)-(CONST(SUM(天机泄露2#WEEK-REF(天机泄露2#WEEK,1),0))-SUM(天机泄露2#WEEK-REF(天机泄露2#WEEK,1),0))-1)));
VAR4:=REF(天机泄露2#WEEK,IF(ISLASTBAR,0,SUMBARS(天机泄露2#WEEK-REF(天机泄露2#WEEK,1),TOTALBARSCOUNT-BARSCOUNT(CLOSE)-(CONST(SUM(天机泄露2#WEEK-REF(天机泄露2#WEEK,1),0))-SUM(天机泄露2#WEEK-REF(天机泄露2#WEEK,1),0))-1)));
VAR5:=REF(天机泄露2#WEEK,IF(ISLASTBAR,0,SUMBARS(天机泄露2#WEEK-REF(天机泄露2#WEEK,1),TOTALBARSCOUNT-BARSCOUNT(CLOSE)-(CONST(SUM(天机泄露2#WEEK-REF(天机泄露2#WEEK,1),0))-SUM(天机泄露2#WEEK-REF(天机泄露2#WEEK,1),0))-1)));
VAR6:=REFX(VAR2,IF(TOTALBARSCOUNT<0,TOTALBARSCOUNT-IF(CONST(天机泄露2#WEEK)<5000,CONST(天机泄露2#WEEK)+1,1000),0));
VAR7:=REFX(VAR3,IF(TOTALBARSCOUNT<0,TOTALBARSCOUNT-IF(CONST(天机泄露2#WEEK)<5000,CONST(天机泄露2#WEEK)+1,1000),0));
VAR8:=REFX(VAR4,IF(TOTALBARSCOUNT<0,TOTALBARSCOUNT-IF(CONST(天机泄露2#WEEK)<5000,CONST(天机泄露2#WEEK)+1,1000),0));
VAR9:=REFX(VAR5,IF(TOTALBARSCOUNT<0,TOTALBARSCOUNT-IF(CONST(天机泄露2#WEEK)<5000,CONST(天机泄露2#WEEK)+1,1000),0));
VAR10:=VAR6>=REF(VAR6,1);
VAR11:=VAR6<REF(VAR6,1);
STICKLINE(VAR1 AND VAR10,VAR8,VAR9,0,0),COLORRED;
STICKLINE(VAR1 AND VAR11,VAR8,VAR9,0,0),COLORLIBLUE;
STICKLINE(VAR1 AND VAR10,VAR6,VAR7,3,1),COLORRED;
STICKLINE(VAR1 AND VAR11,VAR6,VAR7,3,0),COLORLIBLUE;
VAR12:=ALIGNRIGHT(IF(WEEKOFYEAR!=REF(WEEKOFYEAR,1),CLOSE#WEEK,DRAWNULL));
MA5:MA(VAR12,5),COLORWHITE;
MA10:MA(VAR12,10),COLORYELLOW;
MA20:MA(VAR12,20),COLORMAGENTA;
MA60:MA(VAR12,60),COLORGREEN;
MA120:MA(VAR12,120),COLORRED;
[url=http://www.70822.com/soft/sort013/sort05/down-123696.html]周线附图 转载和谐完全加密通达信指标![/url]