当前位置:首页 » 操作系统 » k线公式源码

k线公式源码

发布时间: 2024-11-09 00:35:24

❶ 东方财富三色K线指标公式

你好,东方财富三色k线指标公式如下:
DRAWNUMBER(ISLASTBAR ,C,C),COLORMAGENTA;
SJTJ:=DATE<1590301;
{主趋势线:EMA(EMA(C,10),10),COLORBLUE,LINETHICK3;
B:=主趋势线<REF(主趋势线,1);
IF(B-1,主趋势线,DRAWNULL)COLORRED,LINETHICK3;}
主趋势线:EMA(EMA(C,10),10),COLORRED,LINETHICK3;
B:=主趋势线>REF(主趋势线,1);
IF(B-1,主趋势线,DRAWNULL)COLORBLUE,LINETHICK3;
AA:=EMA(C,5) > EMA(C,20);
BB:=EMA(C,5) < EMA(C,20);
CC:= EMA(C,5) > EMA(C,10);
CC1:=EMA(C,5) < EMA(C,10);
DD:=CLOSE<OPEN;
STICKLINE(AA AND SJTJ,H,L,0,0),COLORRED;
STICKLINE(AA AND SJTJ,O,C,3,1),COLORRED;
STICKLINE(AA AND SJTJ AND DD,O,C,3,0),COLORRED;
STICKLINE(BB AND SJTJ,H,L,0,0),COLORGREEN;
STICKLINE(BB AND SJTJ,O,C,3,1),COLORGREEN;
STICKLINE(BB AND SJTJ AND DD,O,C,3,0),COLORGREEN;
STICKLINE(BB AND SJTJ AND CC,H,L,0,1),COLORWHITE;
STICKLINE(BB AND SJTJ AND CC,O,C,3,1),COLORWHITE;
STICKLINE(BB AND SJTJ AND CC AND DD,O,C,3,0),COLORWHITE;
STICKLINE(AA AND SJTJ AND CC1,H,L,0,0),COLORWHITE;
STICKLINE(AA AND SJTJ AND CC1,O,C,3,1),COLORWHITE;
STICKLINE(AA AND SJTJ AND CC1 AND DD,O,C,3,0),COLORWHITE;
最新价:IF(SJTJ, C,DRAWNULL),LINETHICK0,COLORYELLOW。

❷ 求K线图 和 VOL图的公式源码

主图:
STICKLINE(C>=O,H,L,0,1), COLORred;
STICKLINE(C>=O,C,O,6,1), COLORred;
STICKLINE(C< O,H,L,0,0), ColorFFFF00;
STICKLINE(C< O,C,O,6,0),ColorFFFF00;

VOL图
VOL,VOLSTICK;
MA1:MA(VOL,5),colorwhite;
MA2:MA(VOL,10),coloryellow;
MA3:MA(VOL,20),colorff00ff;

K线图(Candlestick Charts)又称蜡烛图、日本线、阴阳线、棒线、红黑线等,常用说法是“K线”。它是以每个分析周期的开盘价、最高价、最低价和收盘价绘制而成。

热点内容
游戏高配主机哪个配置好 发布:2024-11-09 03:17:09 浏览:133
服务器跟个人电脑主机 发布:2024-11-09 03:17:01 浏览:679
c语言练习网站 发布:2024-11-09 03:16:26 浏览:459
安卓下载哪个版本有看头 发布:2024-11-09 03:07:51 浏览:541
数据库存储引擎 发布:2024-11-09 03:04:32 浏览:546
手机版我的世界服务器一键生成主城 发布:2024-11-09 02:38:24 浏览:842
linuxmysql数据备份 发布:2024-11-09 02:36:56 浏览:563
linux文件处理 发布:2024-11-09 02:13:39 浏览:173
maveneclipse源码 发布:2024-11-09 02:03:31 浏览:652
python对齐打印 发布:2024-11-09 01:46:07 浏览:175