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

同花顺黄金箱底部支撑红公式

发布时间:2015/8/19 6:21:56  浏览次数:

同花顺黄金箱底部支撑红公式

【箱顶】:PEAK(HIGH,N,1),LINETHICK3,COLOR0000FF;

【箱底】:TROUGH(LOW,N,1),LINETHICK2,COLORFF8000;

【最低】:=LLV(L,0);

ZDL:=MAX("CR.MA1",MAX("CR.MA2",MAX("CR.MA3","CR.MA4")));

ZXL:=MIN("CR.MA1",MIN("CR.MA2",MIN("CR.MA3","CR.MA4")));

M:=IF("CR.CR">ZDL OR ZDL=DRAWNULL,6,IF("CR.CR"<ZXL,4,5));

BD:=1+M/100;

DS:=ROUND(LOG(OPEN/【最低】)/LOG(BD));

【入货】:POW(BD,DS)*【最低】,CIRCLEDOT,colorred;

【出货】:【入货】*BD,CROSSDOT,colorgreen;

【上限】:【出货】*BD,CIRCLEDOT;

【下限】:【入货】/BD,CIRCLEDOT;

【区间】:M,NODRAW;

底部支撑:HHV(MA(L,11),98),colorgreen,LINETHICK1;

压力1:MA(底部支撑,12),colorcyan;

压力2:MA(底部支撑,18),colormagenta;

压力3:MA(底部支撑,24),colorred;

压力4:MA(底部支撑,30),colorblue,LINETHICK1;

JJ:=(3*C+H+L+O)/6;

VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;

TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);

LJL:=FILTER(TJ1,5);

TJ2:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(LJL)=2 AND

CLOSE>REF(HIGH,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(HIGH,3),1,0)));

TP:=TJ2=1;

STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),1,0),colorgreen;

STICKLINE((HIGH-REF(C,1))/REF(C,1)*100<1.1,MAX(OPEN,REF(CLOSE,1)),CLOSE,3.5,0),colorgreen;

STICKLINE((HIGH-REF(C,1))/REF(C,1)*100<1.1,MAX(OPEN,REF(CLOSE,1)),LOW,0.001,0),colorgreen;

STICKLINE((HIGH-REF(C,1))/REF(C,1)*100>=1.1,MIN(OPEN,REF(CLOSE,1)),CLOSE,3.5,0),colorwhite;

STICKLINE((HIGH-REF(C,1))/REF(C,1)*100>=1.1,MIN(OPEN,REF(CLOSE,1)),HIGH,0.001,0),colorwhite;

STICKLINE((HIGH-REF(C,1))/REF(C,1)*100>=2.1,MIN(OPEN,REF(CLOSE,1)),CLOSE,3.5,0), colorred;

STICKLINE((HIGH-REF(C,1))/REF(C,1)*100>=2.1,MIN(OPEN,REF(CLOSE,1)),HIGH,0.001,0), colorred;

XX1:=EMA(SLOPE(1,1)+C,3),colorred;

YY1:=EMA(SLOPE(1,1)+C,7),colorblue;

DRAWTEXT(COUNT (XX1<YY1,5)=4 AND XX1>=YY1,C*0.95,'B'), colorred;

DRAWTEXT(COUNT (XX1>=YY1,5)=4 AND XX1<YY1,C*1.08,'S'), coloryellow;

操盘线:STRLEFT('★自用★',38),coloryellow;

ema13:=EMA(C,20),COLORFF8080;

ema34:=EMA(C,60),colorFFFF00;

ema55:=EMA(C,80),colorff00ff;

YZ1:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;

YZ2:=REF(C,1)>REF(O,1) AND O>MA(C,11);

Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100;

YZ:=YZ1 AND YZ2 AND Y>10;

X11:DRAWTEXT(YZ,HIGH+0.2,'减仓'),COLORF00FF0;

gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5) );

gr2:=ema13>ema34 AND ema34>ema55 AND ema13>REF(ema13,1);

gr3:=COUNT("bias.bias2"(6,13,24)>10 AND H=HHV(H,gr1),gr1);

gr4:=H=HHV(H,gr1);

gr5:="macd.macd"(12,26,9)<REF("macd.macd"(12,26,9),1);

gr6:=gr2 AND gr3 AND gr4;

gr7:=gr2 AND gr3 AND gr4 AND gr5;

DRAWTEXT(gr6 AND gr7,H+0.3,'保存利润'),color00ff00;

XX2:=EMA(SLOPE(1,1)+C,3),colorred;

YY2:=EMA(SLOPE(1,1)+C,7),colorblue;

XX3=MA(CLOSE, 5);

YY3=MA(CLOSE, 60);

XX4=CROSS(XX2,YY2) AND XX3>YY3;

YY4=CROSS(YY2,XX2) AND XX3>YY3 AND COUNT(CROSS(XX1,YY1) AND XX3>YY3 ,30);

DRAWTEXT(XX4,LOW/1.1,'↖买'),colorwhite;

DRAWTEXT(YY4,HIGH*1.06,'卖'),coloryellow;

A1:=EMA(C,14),colorwhite,LINETHICK1;

A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;

支撑位:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),colorred,LINETHICK1;

阻力位:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),colorgreen,LINETHICK1;

DRAWICON(CROSS(XX1,YY1) AND CLOSE/REF(CLOSE,1)>1.03,LOW/1.06,25);

买线5:EMA(C,5),color000999;

卖线21:EMA(SLOPE(C,21)*20+C,42),POINTDOT,colorblue,linethick1;

BUY1:=CROSS(买线5,卖线21);

SEL1:=CROSS(卖线21,买线5);

DRAWTEXT(buy1,LOW*0.96,'B  '),colorlired;

限制:=EMA((((H+C)/2+L+(C+L)/2)/3-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2))/(EMA(HHV (((H+C)/2+L+(C+L)/2)/3,21),2)-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2)),8)*100;

平衡:=SMA(EMA(SMA((C+L)/2,3,1),3),5,1);

DRAWTEXT(FILTER(平衡>REF(平衡,1)AND HHV(MA((H+C)/2,13),10)<REF(HHV(MA((H+C)/2,13),10),1) AND((C+L)/2)>REF((C+L)/2,1),5)AND 限制<88,L*0.98,'    ------'),colorcyan;
 

 

同花顺黄金箱底部支撑红公式

资源下载链接   资源大小:unknow
精品资源推荐

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