您现在的位置:程序化交易>> 股票公式>> 大智慧>> 大智慧公式>>正文内容

适用于大智慧L2k线倒图公式源码[大智慧公式]

相关标签:多空资金线指标源码 、 多空资金指标公式源码 、 多空王指标公式源码 、 多空波段趋势指标公式 、 多空趋势指标 、 现货多空买卖指标源码 、 指南针多空资金公式源码 、 多空量能指标公式 、 弘历多空资金指标源码 、 资金博弈指标公式源码 、 多空通道指标公式 、 博易大师多空指标源码 、

 

原理解析:


 

 来源:程序化99( WWW.CXH99.COM )

源码:

 


 

input:p1(5,1,999),p2(13,1,999),p3(21,1,999),p4(34,1,999);
{----------移动平均线线---------------------------}
MA1:MA(REVERSE(CLOSE),P1),ColorFFFFFF,LINETHICK2,LAYER0;
MA2:MA(REVERSE(CLOSE),P2),Color80FFFF,LINETHICK2,LAYER0;
MA3:MA(REVERSE(CLOSE),P3),Color80FF00,LINETHICK2,LAYER0;
MA4:MA(REVERSE(CLOSE),P4),Color8000FF,LINETHICK2,LAYER0;
{----------3DK线---------------------------}
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),9,0),colorFF5B00;
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),8,0),colorFF6C00;
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),7,0),colorFF7B00;
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),6,0),colorFF9C00;
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),5,0),colorFFBE00;
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),3.5,0),colorFFCC00;
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),1.5,0),colorFFFF00;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),9,0),color070084;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),8,0),color0000A3;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),7,0),color0000B7;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),6,0),color0000CD;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),5,0),color0000E9;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),3,0),color0754E9;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),1.5,0),color076fF3;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),1,0),color079BF3;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),0,0) ,COLORFFBBFF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),8,0) ,COLORFF00FF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),7,0) ,COLORFF22FF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),6,0) ,COLORFF44FF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),5,0) ,COLORFF66FF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),4,0) ,COLORFF88FF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),3,0) ,COLORFF99FF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),2,0) ,COLORFFAAFF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),1,0) ,COLORFFBBFF;
STICKLINE((REVERSE(CLOSE) > REVERSE(OPEN)),REVERSE(OPEN),REVERSE(LOW),1,0),color0726CA;
STICKLINE((REVERSE(CLOSE) > REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(HIGH),1,0),color0726CA;
STICKLINE((REVERSE(OPEN) > REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(LOW),1,0),colorDE9100;
STICKLINE((REVERSE(OPEN) > REVERSE(CLOSE)),REVERSE(OPEN),REVERSE(HIGH),1,0),colorDE9100;
{K线倒图 通达信源码,参数自己设置吧}

MA1:MA(REVERSE(CLOSE),P1),COLORFFFFFF,LINETHICK2;
MA2:MA(REVERSE(CLOSE),P2),COLOR80FFFF,LINETHICK2;
MA3:MA(REVERSE(CLOSE),P3),COLOR80FF00,LINETHICK2;
MA4:MA(REVERSE(CLOSE),P4),COLOR8000FF,LINETHICK2;
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),9,0),COLORFF5B00;
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),8,0),COLORFF6C00;
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),7,0),COLORFF7B00;
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),6,0),COLORFF9C00;
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),5,0),COLORFFBE00;
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),3.5,0),COLORFFCC00;
STICKLINE((REVERSE(OPEN) >= REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(OPEN),1.5,0),COLORFFFF00;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),9,0),COLOR070084;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),8,0),COLOR0000A3;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),7,0),COLOR0000B7;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),6,0),COLOR0000CD;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),5,0),COLOR0000E9;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),3,0),COLOR0754E9;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),1.5,0),COLOR076FF3;
STICKLINE((REVERSE(CLOSE) >= REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(OPEN),1,0),COLOR079BF3;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),0,0) ,COLORFFBBFF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),8,0) ,COLORFF00FF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),7,0) ,COLORFF22FF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),6,0) ,COLORFF44FF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),5,0) ,COLORFF66FF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),4,0) ,COLORFF88FF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),3,0) ,COLORFF99FF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),2,0) ,COLORFFAAFF;
STICKLINE(REVERSE(CLOSE)>REVERSE(OPEN),REVERSE(CLOSE),REVERSE(OPEN),1,0) ,COLORFFBBFF;
STICKLINE((REVERSE(CLOSE) > REVERSE(OPEN)),REVERSE(OPEN),REVERSE(LOW),1,0),COLOR0726CA;
STICKLINE((REVERSE(CLOSE) > REVERSE(OPEN)),REVERSE(CLOSE),REVERSE(HIGH),1,0),COLOR0726CA;
STICKLINE((REVERSE(OPEN) > REVERSE(CLOSE)),REVERSE(CLOSE),REVERSE(LOW),1,0),COLORDE9100;
STICKLINE((REVERSE(OPEN) > REVERSE(CLOSE)),REVERSE(OPEN),REVERSE(HIGH),1,0),COLORDE9100;


 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

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

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)

怎么收费,代编流程等详情请点击阅读,或QQ微信联系我们!

 


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

相关文章

    没有相关内容