马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
640.问:
帮忙写个公式:主图分钟K线,副图日K线.
答(静听花落):
主图小于日线时---看日k线
日K线副图
日开:STKINDI(StkLabel,'DAYK.DAYO',0,-1),LINETHICK0;
日高:STKINDI(StkLabel,'DAYK.DAYH',0,-1),LINETHICK0;
日低:STKINDI(StkLabel,'DAYK.DAYL',0,-1),LINETHICK0;
日收:STKINDI(StkLabel,'DAYK.DAYC',0,-1),LINETHICK0;
stickline(日收>0 AND 日收>=日开,日开,日收,5,1),colorred;
stickline(日收>0 AND 日收>=日开,日高,日收,0.1,0),colorred;
stickline(日收>0 AND 日收>=日开,日低,日开,0.1,0),colorred;
stickline(日收>0 AND 日收<日开,日开,日收,5,0),colorcyan;
stickline(日收>0 AND 日收<日开,日收,日低,0.1,0),colorcyan;
stickline(日收>0 AND 日收<日开,日开,日高,0.1,0),colorcyan;
主图小于周线时---看周k线
周K线副图
周开:STKINDI(StkLabel,'WEEKK.WEEKO',0,-1),LINETHICK0;
周高:STKINDI(StkLabel,'WEEKK.WEEKH',0,-1),LINETHICK0;
周低:STKINDI(StkLabel,'WEEKK.WEEKL',0,-1),LINETHICK0;
周收:STKINDI(StkLabel,'WEEKK.WEEKC',0,-1),LINETHICK0;
stickline(周收>=周开 AND 周收>0,周开,周收,5,1),colorred;
stickline(周收>=周开 AND 周收>0,周高,周收,0.1,0),colorred;
stickline(周收>=周开 AND 周收>0,周低,周开,0.1,0),colorred;
stickline(周收<周开 AND 周收>0,周开,周收,5,0),colorcyan;
stickline(周收<周开 AND 周收>0,周收,周低,0.1,0),colorcyan;
stickline(周收<周开 AND 周收>0,周开,周高,0.1,0),colorcyan;
主图小于月线时---看月k线
月K线副图
月开:STKINDI(StkLabel,'MONTHK.MONTHO',0,-1),LINETHICK0;
月高:STKINDI(StkLabel,'MONTHK.MONTHH',0,-1),LINETHICK0;
月低:STKINDI(StkLabel,'MONTHK.MONTHL',0,-1),LINETHICK0;
月收:STKINDI(StkLabel,'MONTHK.MONTHC',0,-1),LINETHICK0;
stickline(月收>0 AND 月收>=月开,月开,月收,5,1),colorred;
stickline(月收>0 AND 月收>=月开,月高,月收,0.1,0),colorred;
stickline(月收>0 AND 月收>=月开,月低,月开,0.1,0),colorred;
stickline(月收>0 AND 月收<月开,月开,月收,5,0),colorcyan;
stickline(月收>0 AND 月收<月开,月收,月低,0.1,0),colorcyan;
stickline(月收>0 AND 月收<月开,月开,月高,0.1,0),colorcyan;
641.问:
正是此公式,麻烦您给个此公式的'引用指标'
答(原子):
多周期分析
比如说
引用日线就使用"DAYK.DAYC"、"DAYK.DAYH"、"DAYK.DAYL"、"DAYK.DAYC"
引用周线就使用"WEEKK.WEEKO"、"WEEKK.WEEKH"、"WEEKK.WEEKL"、"WEEKK.WEEKC"
引用月线就使用"MONTHK.MONTHO"、"MONTHK.MONTHH"、"MONTHK.MONTHL"、"MONTHK.MONTHC"
|