当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:五行通道(同花顺公式 副图 源码 测试图)
软件名称:[B]五行通道(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2022-01-05 00:12:13
软件简介:
HH:HHV(HIGH,250);
AS:=0.9*HH;
BS:=0.8*HH;
CS:=0.7*HH;
DS:=0.6*HH;
ES:=0.5*HH;
FS:=0.4*HH;
金:(HH+AS)/2;
木:(AS+BS)/2;
水:(BS+CS)/2;
火:(CS+DS)/2;
土:(DS+ES)/2;
灭:(ES+FS)/2;
MA1:MA(C,1);
//1层
STICKLINE(C>=(HH+AS)/2 AND C>REF(C,1),(HH+AS)/2,C,8,1),colorred;
STICKLINE(C>=(HH+AS)/2 AND C<REF(C,1),(HH+AS)/2,C,8,0),colorgreen;
STICKLINE(C<(HH+AS)/2 AND C>=AS AND C<REF(C,1),(HH+AS)/2,C,8,1),colorgreen;
STICKLINE(C<(HH+AS)/2 AND C>=AS AND C>REF(C,1),(HH+AS)/2,C,8,0),colorred;
//2层
STICKLINE(C>=(AS+BS)/2 AND C<AS AND C>REF(C,1),(AS+BS)/2,C,8,1),colorred;
STICKLINE(C>=(AS+BS)/2 AND C<AS AND C<REF(C,1),(AS+BS)/2,C,8,0),colorgreen;
STICKLINE(C<(AS+BS)/2 AND C>=BS AND C<REF(C,1),(AS+BS)/2,C,8,1),colorgreen;
STICKLINE(C<(AS+BS)/2 AND C>=BS AND C>REF(C,1),(AS+BS)/2,C,8,0),colorred;
//3层
STICKLINE(C>=(BS+CS)/2 AND C<BS AND C>REF(C,1),(BS+CS)/2,C,8,1),colorred;
STICKLINE(C>=(BS+CS)/2 AND C<BS AND C<REF(C,1),(BS+CS)/2,C,8,0),colorgreen;
STICKLINE(C<(BS+CS)/2 AND C>=CS AND C<REF(C,1),(BS+CS)/2,C,8,1),colorgreen;
STICKLINE(C<(BS+CS)/2 AND C>=CS AND C>REF(C,1),(BS+CS)/2,C,8,0),colorred;
//4层
STICKLINE(C>=(CS+DS)/2 AND C<CS AND C>REF(C,1),(CS+DS)/2,C,8,1),colorred;
STICKLINE(C>=(CS+DS)/2 AND C<CS AND C<REF(C,1),(CS+DS)/2,C,8,0),colorgreen;
STICKLINE(C<(CS+DS)/2 AND C>=DS AND C<REF(C,1),(CS+DS)/2,C,8,1),colorgreen;
STICKLINE(C<(CS+DS)/2 AND C>=DS AND C>REF(C,1),(CS+DS)/2,C,8,0),colorred;
//5层
STICKLINE(C>=(DS+ES)/2 AND C<DS AND C>REF(C,1),(DS+ES)/2,C,8,1),colorred;
STICKLINE(C>=(DS+ES)/2 AND C<DS AND C<REF(C,1),(DS+ES)/2,C,8,0),colorgreen;
STICKLINE(C<(DS+ES)/2 AND C>=ES AND C<REF(C,1),(DS+ES)/2,C,8,1),colorgreen;
STICKLINE(C<(DS+ES)/2 AND C>=ES AND C>REF(C,1),(DS+ES)/2,C,8,0),colorred;
//6层
STICKLINE(C>=(ES+FS)/2 AND C<ES AND C>REF(C,1),(ES+FS)/2,C,8,1),colorred;
STICKLINE(C>=(ES+FS)/2 AND C<ES AND C<REF(C,1),(ES+FS)/2,C,8,0),colorgreen;
STICKLINE(C<(ES+FS)/2 AND C>=FS AND C<REF(C,1),(ES+FS)/2,C,8,1),colorgreen;
STICKLINE(C<(ES+FS)/2 AND C>=FS AND C>REF(C,1),(ES+FS)/2,C,8,0),colorred;
DRAWTEXT(CROSS(C,金),金,'↑'),colorred;
DRAWTEXT(CROSS(C,木),木,'↑'),colorred;
DRAWTEXT(CROSS(C,水),水,'↑'),colorred;
DRAWTEXT(CROSS(C,火),火,'↑'),colorred;
DRAWTEXT(CROSS(C,土),土,'↑'),colorred;
DRAWTEXT(CROSS(C,灭),灭,'↑'),colorred;
DRAWTEXT(CROSS(金,C),金,'↓'),colorgreen;
DRAWTEXT(CROSS(木,C),木,'↓'),colorgreen;
DRAWTEXT(CROSS(水,C),水,'↓'),colorgreen;
DRAWTEXT(CROSS(火,C),火,'↓'),colorgreen;
DRAWTEXT(CROSS(土,C),土,'↓'),colorgreen;
DRAWTEXT(ISLASTBAR,金,'10.5 '),COLORAAAAAA;
DRAWTEXT(ISLASTBAR,木,'11.8 '),COLORAAAAAA;
DRAWTEXT(ISLASTBAR,水,'13.4'),COLORAAAAAA;
DRAWTEXT(ISLASTBAR,火,'15.4 '),COLOR00AAAA;
DRAWTEXT(ISLASTBAR,土,'18.1 '),COLOR00AAAA;
[url=http://www.70822.com/soft/sort013/sort036/down-160092.html]五行通道(同花顺公式 副图 源码 测试图)[/url]