您现在的位置:程序化交易>> 期货公式>> 金字塔等>> 金字塔模型>>正文内容

发布一个有语音提示的全市场监控策略[金字塔模型]

发布一个有语音提示的全市场监控策略
 

“综合监控”为副图指标,引用了名字为AA的模型。

AA为5分钟周期的模型,其中,变动:=cross(holding,ref(holding,1))。

一旦所监控的品种有开平信号,副图上会有柱状提示,同时有诸如“鸡蛋”的声音提示。

本人属于入门级别,公布这个策略属于抛砖引玉,期望大家共同完善。(www.cxh99.com )

 

 

“综合监控”源码如下:

 


zjif:STKINDI(\'zJif00\',\'AA.变动\',0,2,0)*20,stick,LINETHICK4,colorFF33dd;
JD:STKINDI(\'DQJD00\',\'AA.变动\',0,2,0)*15,stick,LINETHICK4,colorFFDD33;
L00:STKINDI(\'DQL00\',\'AA.变动\',0,2,0)*14,stick,LINETHICK4,colorCCBBAA;
BU:STKINDI(\'SQBU00\',\'AA.变动\',0,2,0)*13.5,stick,LINETHICK4,colorCCAABB;
RM:STKINDI(\'DQRM00\',\'AA.变动\',0,2,0)*13,stick,LINETHICK4,colorBBAACC;
FG:STKINDI(\'zQFG00\',\'AA.变动\',0,2,0)*12.5,stick,LINETHICK4,colorBBCCAA;
JM:STKINDI(\'DQJM00\',\'AA.变动\',0,2,0)*12.5,stick,LINETHICK4,colorBBAACC;
Y:STKINDI(\'DQY00\',\'AA.变动\',0,2,0)*12,stick,LINETHICK4,colorAACCBB;
M:STKINDI(\'DQM00\',\'AA.变动\',0,2,0)*11.5,stick,LINETHICK4,colorAABBCC;
C00:STKINDI(\'ZQC00\',\'AA.变动\',0,2,0)*11,stick,LINETHICK3,color88AA44;
AU:STKINDI(\'SQAU00\',\'AA.变动\',0,2,0)*10.5,stick,LINETHICK3,colorAA8844;
ZN:STKINDI(\'SQZN00\',\'AA.变动\',0,2,0)*10,stick,LINETHICK3,color8844AA;
AG:STKINDI(\'SQAG00\',\'AA.变动\',0,2,0)*9.5,stick,LINETHICK3,color4488AA;
RB:STKINDI(\'sqrb00\',\'AA.变动\',0,2,0)*9,stick,LINETHICK3,coloryellow;
RU:STKINDI(\'sqru00\',\'AA.变动\',0,2,0)*8.5,LINETHICK2, stick,colorred;
AX:STKINDI(\'dqax00\',\'AA.变动\',0,2,0)*8,LINETHICK2, stick,colorgreen;
J:STKINDI(\'dqJ05\',\'AA.变动\',0,2,0)*7.5,LINETHICK2, stick,colorBLUE;
P:STKINDI(\'dqP00\',\'AA.变动\',0,2,0)*7,LINETHICK2, stick,COLORBROWN;
OI:STKINDI(\'ZqOI00\',\'AA.变动\',0,2,0)*6.5,LINETHICK2, stick,COLORCYAN;
TA:STKINDI(\'ZqTA00\',\'AA.变动\',0,2,0)*6,LINETHICK2, stick,COLORMAGENTA;
I:STKINDI(\'dqI00\',\'AA.变动\',0,2,0)*5.5,LINETHICK1, stick,COLORGRAY;
SRX:STKINDI(\'ZqSRX00\',\'AA.变动\',0,2,0)*5,LINETHICK1, stick,COLOR226688;
TC:STKINDI(\'ZqTC00\',\'AA.变动\',0,2,0)*4.5,LINETHICK1, stick,COLOR662288;
CU:STKINDI(\'sqCU00\',\'AA.变动\',0,2,0)*4,LINETHICK1, stick,color22AA44;


PLAYSOUND(zjif>1,\'d:\\sound\\if.wav\');

PLAYSOUND(jd>1,\'d:\\sound\\jd.wav\');
PLAYSOUND(l00>1,\'d:\\sound\\l.wav\');
PLAYSOUND(BU>1,\'d:\\sound\\BU.wav\');
PLAYSOUND(rm>1,\'d:\\sound\\rm.wav\');
PLAYSOUND(fg>1,\'d:\\sound\\fg.wav\');
PLAYSOUND(jm>1,\'d:\\sound\\jm.wav\');
PLAYSOUND(y>1,\'d:\\sound\\y.wav\');
PLAYSOUND(m>1,\'d:\\sound\\m.wav\');
PLAYSOUND(c00>1,\'d:\\sound\\c.wav\');
PLAYSOUND(au>1,\'d:\\sound\\aU.wav\');
PLAYSOUND(zn>1,\'d:\\sound\\zn.wav\');
PLAYSOUND(ag>1,\'d:\\sound\\ag.wav\');
PLAYSOUND(rb>1,\'d:\\sound\\rb.wav\');
PLAYSOUND(rU>1,\'d:\\sound\\rU.wav\');
PLAYSOUND(ax>1,\'d:\\sound\\a.wav\');
PLAYSOUND(j>1,\'d:\\sound\\j.wav\');
PLAYSOUND(p>1,\'d:\\sound\\p.wav\');
PLAYSOUND(oi>1,\'d:\\sound\\oi.wav\');
PLAYSOUND(ta>1,\'d:\\sound\\pta.wav\');
PLAYSOUND(i>1,\'d:\\sound\\i.wav\');
PLAYSOUND(BU>1,\'d:\\sound\\BU.wav\');
PLAYSOUND(srx>1,\'d:\\sound\\sr.wav\');
PLAYSOUND(tc>1,\'d:\\sound\\tc.wav\');
PLAYSOUND(cU>1,\'d:\\sound\\cU.wav\');

 

 

{别忘了将本网告诉您身边的朋友,向朋友传达有用资料,也是一种人情,你朋友会感谢你的。}

 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 1145508240  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容