公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 通达信公式 > 正文 → 正文

一箭封喉主图

发布时间:2013/7/25 8:46:31  浏览次数:

一箭封喉主图

参数按图中提示设置!

DRAWGBK(CLOSE>0,RGB(0,0,0),RGB(0,0,0),1,0,0);
MA5:MA(CLOSE,5),COLORRED,LINETHICK2;
MA10:MA(CLOSE,10),LINETHICK2,COLORYELLOW;
IF(MA5<REF(MA5,1),MA5,DRAWNULL),LINETHICK2,COLORGREEN;
IF(MA10<REF(MA10,1),MA10,DRAWNULL),LINETHICK2,COLORWHITE;
MA30:MA(CLOSE,30),DOTLINE,COLOR0000FF;
MA144:MA(CLOSE,144),DOTLINE,COLORFFFF00;

STICKLINE(CLOSE>MA10 AND CLOSE>OPEN,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(CLOSE>MA10 AND CLOSE>OPEN,OPEN,LOW,0,0),COLORRED;
STICKLINE(CLOSE>MA10 AND CLOSE>OPEN,CLOSE,HIGH,0,0),COLORRED;
STICKLINE(CLOSE>MA10 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(CLOSE>MA10 AND CLOSE<OPEN,CLOSE,HIGH,0,0),COLORRED;
STICKLINE(CLOSE>MA10 AND CLOSE<OPEN,OPEN,LOW,0,0),COLORRED;
STICKLINE(CLOSE<MA10 AND CLOSE>OPEN,CLOSE,OPEN,3,1),COLORFFFF00;
STICKLINE(CLOSE<MA10 AND CLOSE>OPEN,OPEN,LOW,0,0),COLORFFFF00;
STICKLINE(CLOSE<MA10 AND CLOSE>OPEN,CLOSE,HIGH,0,0),COLORFFFF00;
STICKLINE(CLOSE<MA10 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORFFFF00;
STICKLINE(CLOSE<MA10 AND CLOSE<OPEN,CLOSE,LOW,0,0),COLORFFFF00;
STICKLINE(CLOSE<MA10 AND CLOSE<OPEN,OPEN,HIGH,0,0),COLORFFFF00;
VAR1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
VAR2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
买入提示:=VAR1 AND VAR2;
DRAWTEXT(买入提示,LOW-0.28,'进'),COLORFFFF00;
进:=VAR1 AND VAR2;
STICKLINE(进,HIGH,LOW,0.5,1),COLORFFFF00;
STICKLINE(进,OPEN,CLOSE,5,1),LINETHICK2,COLORFFFF00;
VARR1:=EMA(CLOSE,8);
VARR2:=EMA(VARR1,20);
VAR3:=CROSS(VARR1,VARR2);
VAR4:=VARR1<MA(CLOSE,120);
VAR5:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR6:=SMA(VAR5,5,1);
VAR7:=SMA(VAR6,8,1);
VAR8:=CROSS(VAR6,VAR7) AND VAR7<20;
VAR9:=CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND VAR8;
VARA:=IF(CLOSE>1000,VAR8,VAR9);
逃:=VARA;
DRAWTEXT(逃>0,HIGH*1.04,'出'),COLOR7FFFD6;
STICKLINE(逃,HIGH,LOW,0.5,1),LINETHICK2,COLORFFFFFF;
STICKLINE(逃,OPEN,CLOSE,5,1),LINETHICK2,COLORFFFFFF;
MA20:=MA(CLOSE,20);
MA40:=MA(CLOSE,40);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
MA250:=MA(CLOSE,250);
AA:=BARSLAST(MA60>MA40 AND (MA40=MA20 OR MA40>MA20));
BB:=REF(COUNT(CLOSE<MA60,AA)=AA,1);
CC:=CROSS(CLOSE,MA60) AND VOL>MA(VOL,5) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>3;
一箭封喉:=BB AND CC;
DRAWTEXT(一箭封喉,HIGH*1.05,'★'),COLORFFFF00;
DRAWTEXT(一箭封喉,HIGH*1.02,'一箭封喉'),COLORFFFF00;
STICKLINE(一箭封喉,HIGH,LOW,0.5,0),COLORFFFF00;
STICKLINE(一箭封喉,OPEN,CLOSE,5,0),LINETHICK2,COLORFFFF00;
N:=9;
M:=14;
N1:=6;
TYP := (HIGH + LOW + CLOSE)/3;
CC1:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M));
C1:=SMA(CC1,3,1);
C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;
CB1:=EMA(C3,5);
CB2:=REF(CB1,1);
CCI:=CC1;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI:=(RSI1-50)*5;
R1:=SMA(RSI,3,1);
D1:=SMA(R1,3,1);
J1:=3*R1-2*D1;
RR1:=EMA(J1,5);
RR2:=REF(RR1,1);
RR:=RR1>RR2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
K1:=(K-50)*5;
K2:=SMA(K1,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
买入:=RR AND NOT(REF(RR,1)) AND (RR1<-100 AND BB1<-100) AND CB1<-100;
DRAWICON(买入,L*0.98,4);
卖出:=REF(RR,1)=1 AND NOT(RR) AND CB1>100;
DRAWICON(卖出,H*1.02,5);

一箭封喉主图

 

资源下载链接   资源大小:unknow

关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - RSS订阅 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识