公开<<春秋凸量系统>>源码
承诺的源码公开<<春秋凸量系统>>(贴图,通达信,源码)
{公式名称: 春秋凸量系统
公式描述: 乐在分享,劳有所获。
参数数量: 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}
- 上一篇:没有啦
- 下一篇:降龙空间(指标 副图 通达信 贴图) 2015/12/28