锦绣中华持仓线操盘趋势副图指标公式[同花顺公式]
相关标签:
原理解析:
源码:
持仓线:MA(HIGH,21);
空仓线:MA(LOW,21);
操盘趋势:MA(CLOSE,3);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,60);
MACD:=2*(DIFF-DEA);
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
STICKLINE( C>=O,O ,O+(C-O)*1.0,5 ,0 ),COLOR0000ff;
STICKLINE( C>=O,O ,O+(C-O)*0.75,5 ,0 ),COLOR0066ff;
STICKLINE( C>=O,O ,O+(C-O)*0.5,5 ,0 ),COLOR0099ff;
STICKLINE( C>=O,O ,O+(C-O)*0.25,5 ,0 ),COLOR00ccff;
STICKLINE( C<O,O ,O+(C-O)*1.0,5 ,0 ),COLORffff66;
STICKLINE( C<O,O ,O+(C-O)*0.75,5 ,0 ),COLORff9966;
STICKLINE( C<O,O ,O+(C-O)*0.5,5 ,0 ),COLORff6666;
STICKLINE( C<O,O ,O+(C-O)*0.25,5 ,0 ),COLORcc0033;
STICKLINE(MA(C,5)>=MA(C,60) AND MA(C,60)>=MA(C,10),MA(C,10),MA(C,60),4,0),colorblue;
STICKLINE(MA(C,5)>=MA(C,10) AND MA(C,5)<=MA(C,60),MA(C,10),MA(C,5),4,0),colorblue;
STICKLINE(MA(C,20)>=MA(C,60) AND MA(C,60)>=MA(C,40),MA(C,40),MA(C,60),4,0),colorff00ff;
STICKLINE(MA(C,20)>=MA(C,40) AND MA(C,20)<MA(C,60),MA(C,40),MA(C,20),4,0),colorff00ff;
STICKLINE(MA(C,5)>=MA(C,20) AND MA(C,20)>=MA(C,10),MA(C,10),MA(C,20),4,0),colorgreen;
STICKLINE(MA(C,5)>=MA(C,10) AND MA(C,5)<MA(C,20),MA(C,10),MA(C,5),4,0),colorgreen;
TIPTEXT(ISNULL(REFX(&CLOSE,1)),0,' WWW.CXH99.COM '),colorred;
TIPTEXT(ISNULL(REF(CLOSE,1)),0,'同花顺程序化交易');
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容