当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:量柱属性(同花顺公式 副图 源码 测试图)
软件名称:[B]量柱属性(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2019-11-30 01:05:11
软件简介:
粉红色为阳胜,蓝色为阴胜,
灰色为将军柱,黄s为黄金柱,将军柱和黄金柱一定为阳胜柱,
向上小手为倍量上涨,向下小手为倍量下跌
// 基本柱子画好
STICKLINE( C>=O, 0, VOL, 8, 1),colorred;
STICKLINE( C<O, 0, VOL, 8, 0),colorcyan;
//真阴线判断
BLUE_Z:= IF(CLOSE<=REF(CLOSE, 1), 1, 0);
RED_Z:= IF(CLOSE>REF(CLOSE, 1), 1, 0);
//获取上一个阴线阳线的周期数
BLUE_POS:= SUMBARS(BLUE_Z, 1);
RED_POS:= SUMBARS(RED_Z, 1);
//阳胜判断
RED_S:= IF(CLOSE > REF(CLOSE, 1) AND (VOL >= REF(VOL,(BLUE_POS-1)) OR CLOSE > REF(OPEN, (BLUE_POS-1))), 1, 0);;
C3:= BLUE_POS >1 AND BLUE_POS < 5 AND RED_S == 1 AND SUM(RED_S, BLUE_POS-1)==1;
//阴胜判断//
BLUE_S:= IF(CLOSE < REF(CLOSE, 1) AND (VOL >= REF(VOL,(RED_POS-1)) OR CLOSE < REF(OPEN, (RED_POS-1))), 1, 0);
BLUE_S:= IF(CLOSE < REF(CLOSE, 1) AND (VOL >= REF(VOL,(RED_POS-1)) OR CLOSE < REF(OPEN, (RED_POS-1))), 1, 0);
C4:= RED_POS >1 AND RED_POS < 5 AND BLUE_S == 1 AND SUM(BLUE_S, RED_POS-1)==1;
STICKLINE(C3, 0, VOL, 10, 0),colorlired;
STICKLINE(C4, 0, VOL, 10, 0),colorblue;
//阳双胜线判断
RED:= IF(CLOSE > REF(CLOSE, 1) AND VOL >= REF(VOL,(BLUE_POS-1)) AND CLOSE > REF(OPEN, (BLUE_POS-1)), 1, 0);
//获取上一个双胜阳线的周期数
RED_T:= SUMBARS(RED, 1);
//获取后3天的收盘价均价
C_M:= (REFX(&CLOSE,1) + REFX(&CLOSE,2) + REFX(&CLOSE,3))/3;
//前3天有阴线,前3天无双胜阳线
//HJS:= REF(RED, 1) + REF(RED, 2) + REF(RED, 3);
C1:= BLUE_POS >1 AND BLUE_POS < 5 AND RED_T == 1 AND SUM(RED, BLUE_POS-1)==1 AND REFX(&CLOSE,3)>OPEN;
//先标注将军柱再标注黄金柱
STICKLINE(C1 AND C_M>OPEN, 0, VOL, 10, 0),colorgray;
STICKLINE(C1 AND C_M>CLOSE, 0, VOL, 10, 0),coloryellow;
//倍量标注//
DRAWICON( V>=REF(V*1.88,1) AND C>REF(C, 1), VOL, 11);
DRAWICON( V>=REF(V*1.88,1) AND C>REF(C, 1), VOL, 11);
DRAWICON( V>=REF(V*1.88,1) AND C<REF(C, 1), VOL, 12);
[url=http://www.70822.com/soft/sort013/sort036/down-143230.html]量柱属性(同花顺公式 副图 源码 测试图)[/url]