设为首页收藏本站

步步汇盈服务平台

 找回密码
 手机注册
搜索
查看: 1633|回复: 0
打印 上一主题 下一主题

金牛判市飞狐版本

[复制链接]
跳转到指定楼层
楼主
发表于 2017-11-21 09:20:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

DRAWGBK(CLOSE>OPEN,COLORRGB(60,0,0),COLORRGB(0,0,0),0);

XMH0:=MA(REFX(HIGH,12.5),25);
XMH:=MA(REFX(XMH0,12.5),25);
XML0:=MA(REFX(LOW,12.5),25);
XML:=MA(REFX(XML0,12.5),25);
金牛:XMH*2-XML,LINEDOT,colorFFFF;
金钻趋势:XML*2-XMH,LINETHICK2,colorFF;
金牛2:EMA(金钻趋势,25),LINETHICK2,colorFFFF00;
FILLRGN(金钻趋势>金牛2,金钻趋势,金牛2),color666;
FILLRGN(金钻趋势<金牛2,金钻趋势,金牛2),color6600;
KLINE(OPEN,HIGH,LOW,CLOSE,0);
STICKLINE(金钻趋势>LOW AND 金钻趋势<HIGH,金钻趋势,MIN(MIN(OPEN,CLOSE),金钻趋势),6,0),colorFFFF;
STICKLINE(金钻趋势>MIN(CLOSE,OPEN) AND 金钻趋势<MAX(CLOSE,OPEN),金钻趋势,MIN(OPEN,CLOSE),6,0),colorFFFF;
STICKLINE(金钻趋势>HIGH,OPEN,CLOSE,6,0),colorFFFF;
STICKLINE(金钻趋势>HIGH,HIGH,LOW,0,0),colorFFFF;
XMRC0:=MA(REFX(CLOSE-REF(CLOSE,1),2),6);
XMRC:=MA(REFX(XMRC0,2),6);
XMRA0:=MA(REFX(ABS(CLOSE-REF(CLOSE,1)),2),6);
XMRA:=MA(REFX(XMRA0,2),6);
VAR23:=100*XMRC/XMRA;
回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
选1:金钻趋势>HIGH AND 回调买 AND LOW<=金钻趋势,LINETHICK0,colorAEFF;
DRAWICON(选1,LOW,8),PXDN10;
DRAWTEXT(选1,LOW,'买入'),ALIGN0,PXDN25,colorAEFF;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*(IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*(IF(HIGH=LOW,1,JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*(IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*(IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-JJ)));
DDX:=(QJ1+QJ2-(QJ3+QJ4))/(IF(CAPITAL=0,10000,10000));
V2:=SMA(IF(CLOSE>=REF(CLOSE,1),DDX,-DDX/100),2,1);
已开盘分钟:=IF(DATATYPE>5 AND DATATYPE<11,OPENMINUTES(CURRENTTIME),OPENMINUTES(TIME));
V5:=SMA(V2*120/已开盘分钟[DATACOUNT]*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=ISLASTBAR=1 AND CLOSE<REF(CLOSE,1);
DY2:=REF(V2,1)-DY;
选2:CLOSE>OPEN AND DY2<0.02 AND MA(CLOSE,5)>MA(CLOSE,60) AND CLOSE/REF(CLOSE,1)>=1.02 AND HIGH<金牛,LINETHICK0,colorEE00FF;
DRAWTEXT(选2 AND LOW<金钻趋势,LOW,'←金钻起涨'),colorFF00FF;

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 手机注册

本版积分规则

QQ|小黑屋|手机版|Archiver|步步汇盈 ( 冀ICP备13000772   

GMT+8, 2024-11-23 21:43 , Processed in 0.122459 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc. 技术支持 by 巅峰设计.

快速回复 返回顶部 返回列表