联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

公开<<春秋凸量系统>>源码

2015-12-28 11:59:14点击:

承诺的源码公开<<春秋凸量系统>>(贴图,通达信,源码)

{公式名称: 春秋凸量系统

公式描述: 乐在分享,劳有所获。

参数数量: 1

参数1: N, 最小: 1, 最大: 100, 缺省: 25

公式类型: 技术指标公式-其他类型

画线方法: 副图

公式版本: 0

显示小数: 缺省位数

坐标线位置: 自动

额外Y轴分界: 无

参数精灵:

请设置计算参数:

N: Param#0 (1.00--100.00)

用法注释:

乐在分享,劳有所获——春秋

公式源码:}

VAR1:=HOD(VOL,N);

VAR2:=LOD(VOL,N);

VAR3:=MA(CLOSE,30);

VAR4:=BARSLAST(VAR1<=4)+1;

VAR5:=FILTER(VAR1<=5 AND REF(VAR4,1)>=9 AND CLOSE>OPEN AND (WINNER(CLOSE)>=0.85 OR WINNER(CLOSE)-REF(WINNER(CLOSE),1)>=0.3),5);

VAR6:=VAR1<=5 AND REF(VAR4,1)>=9 AND CLOSE>OPEN AND CROSS(CLOSE,VAR3);

VAR7:=IF(CLOSE/REF(CLOSE,1)>=1.099 AND CLOSE/REF(CLOSE,1)<=1.13 AND HIGH=CLOSE,1,(-1));

VAR8:=VAR5 OR VAR6 AND ABS(CLOSE-VAR3)/VAR3*100<=30;

触发:VAR8,NODRAW,COLORRED;

止损柱:CLOSE<REF(OPEN,BARSLAST(VAR8>0)) AND COUNT(CLOSE<REF(OPEN,BARSLAST(VAR8>0)),BARSLAST(VAR8>0))=1,NODRAW,COLORGREEN;

止盈柱:CROSS(0,Func_0x7688.SubValue_0x0) AND COUNT(CROSS(0,Func_0x7688.SubValue_0x0),BARSLAST(VAR8>0))=1 AND COUNT(止损柱=1,BARSLAST(VAR8>0))=0 AND COUNT(VAR8,BARSLAST(VAR8)+1)>=1,NODRAW,COLORBLUE;

区间:COUNT(VAR8,BARSLAST(VAR8)+1)=1 AND COUNT(止损柱,BARSLAST(VAR8>0)+1)=0 AND COUNT(止盈柱,BARSLAST(VAR8>0)+1)=0,NODRAW,COLOR696960;

止损价:IF(COUNT(VAR8>0,BARSLAST(VAR8>0)+1)=1 AND (区间>0 OR CROSS(0.5,区间)),REF(OPEN,BARSLAST(VAR8>0)),DRAWNULL),NODRAW;

STICKLINE(区间>0,0,1,4,0),COLOR696960;

STICKLINE(触发>0,0,1,4,0),COLORRED;

STICKLINE(止盈柱>0,0,1,4,0),COLORBLUE;

STICKLINE(止损柱=1 AND COUNT(止盈柱>0,BARSLAST(触发>0))=0,0,1,4,0),COLORGREEN;

DRAWTEXT_FIX(VOL>0,0.12,0.05,2,35),COLORRED;

{www.88gs.com}

**************************************************************************
{公式名称: CPX
公式描述: CPX
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
 
参数精灵:无
用法注释:无
公式源码:}
VAR1:=REF(CLOSE,1);
VAR2:=REF(CLOSE,2);
VAR3:=REF(CLOSE,3);
VAR4:=REF(CLOSE,4);
VAR5:=REF(CLOSE,5);
VAR6:=REF(CLOSE,6);
VAR7:=REF(OPEN,1);
VAR8:=REF(OPEN,2);
VAR9:=REF(OPEN,3);
VAR10:=REF(OPEN,4);
VAR11:=VAR2<=VAR3 AND VAR2<=VAR4 AND VAR2<=VAR5 AND VAR2<=VAR6;
VAR12:=CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,20);
VAR13:=CLOSE>OPEN AND VAR1>VAR2;
VAR14:=CLOSE>VAR1;
VAR15:=VAR11 AND VAR12 AND VAR13 AND VAR14 AND VAR1/VAR2<=1.05;
VAR16:=MA(CLOSE,1);
VAR17:=(6*HIGH+5*REF(HIGH,1)+4*REF(HIGH,2)+3*REF(HIGH,3)+2*REF(HIGH,4)+1*REF(HIGH,5))/(6+5+4+3+2+1);
VAR18:=(6*LOW+5*REF(LOW,1)+4*REF(LOW,2)+3*REF(LOW,3)+2*REF(LOW,4)+1*REF(LOW,5))/(6+5+4+3+2+1);
VAR19:=IF(CLOSE>REF(VAR17,1),1,IF(CLOSE<REF(VAR18,1),(-1),0));
VAR20:=BARSLAST(NOT(VAR19=0));
VAR21:=IF(VAR19=0,REF(VAR19,VAR20),VAR19);
VAR22:=IF(VAR21=(-1),MA(HIGH,6),MA(LOW,6));
CPX:IF(VAR16>VAR22,1,(-1));
VAR23:=CLOSE-REF(CLOSE,1);
VAR24:=100*EMA(EMA(VAR23,6),6)/EMA(EMA(ABS(VAR23),6),6);
VAR25:=LLV(VAR24,2)=LLV(VAR24,7) AND COUNT(VAR24<0,2) AND CROSS(VAR24,MA(VAR24,2));
VAR26:=MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND MA(CLOSE,5)>MA(CLOSE,10) AND VOL>MA(VOL,5) AND CROSS(CLOSE,MA(CLOSE,5));
JCD:VAR25+VAR26+VAR15;