联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

波段绝品副图

2016-9-30 10:41:03点击:

 说明:

1、M可在1-100间调整,默认为28,也有设置为18的,数据较大趋势较为明晰,但会相对滞后。
2、可做为抄底与逃顶的指标,与“逃顶第一位”副图指标方法相似。

M:=28;
趋势:=SMA(((CLOSE-LLV(LOW,M))/(HHV(HIGH,M)-LLV(LOW,M))*100),3,1) ,COLORGREEN;
DRAWBAND(趋势,RGB(100,20,20),50,RGB(20,100,20));
{STICKLINE(趋势>50,趋势,50,4,0),COLOR32329B;
STICKLINE(50>趋势,趋势,50,4,0),COLOR326400;}
QSA:=IF(趋势>50, 趋势,DRAWNULL), COLORRED;
TJ:=IF("000引用.FWYXQ">0,1,0);
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
DEA:=EMA(DIFF,6);
MACD:=2*(DIFF-DEA);
转折点:IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0 AND TJ>0,1,0),NODRAW;
STICKLINE(转折点=1,45,55,6,0),COLORYELLOW;
DRAWICON(转折点=1,50,1);
 
D1:=(3*C+L+H+O)/6; 
D2:=EMA(D1,6); 
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
DRAWICON(BBUY,20,1);
 
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
逃顶:CROSS(88,VARR1),COLORCYAN,NODRAW;
 
RSV9:=(((CLOSE - LLV(LOW,M+1)) / (HHV(HIGH,M+1) - LLV(LOW,M+1))) * 100);
KK9:=MA(RSV9,5);
D9:=MA(KK9,2);
J9:=((3 * KK9) - (2 * D9));
J10:=C>REF(C,1) AND C>O;
明天涨:IF(J9<5 AND J10>0,1,0),COLORMAGENTA,NODRAW;
 
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
趋势1:=IF(VAR6>45,VAR6-45,0),COLOR00FFFF;
 
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;
火焰山:=IF(VAR8Q>100,100,VAR8Q);
吸筹:火焰山>0,COLOR0055FF,NODRAW;
 
STICKLINE(火焰山>0,0 ,火焰山*1.2,5,0 ),COLOR4444FF;
STICKLINE(火焰山>0,0 ,火焰山*1.2,4,0 ),COLOR5555FF;
STICKLINE(火焰山>0,0 ,火焰山*1.2,3,0 ),COLOR7777FF;
STICKLINE(火焰山>0,0 ,火焰山*1.2,2,0 ),COLOR9999FF;
STICKLINE(火焰山>0,0 ,火焰山*1.2,1,0 ),COLORBBBBFF;
STICKLINE(火焰山>0,0 ,火焰山*1.2,0,0 ),COLOREEEEFF;
STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),5,0),COLOR000033;
STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),4,0),COLOR000055;
STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR000077;
STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR000099;
STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1.5,0),COLOR0000BB;
STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1,0),COLOR0000DD;
 
STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),5,0),COLOR003300;
STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),4,0),COLOR005500;
STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR007700;
STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR009900;
STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),1,0),COLOR00DD00;
STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),0,0),COLOR00FF00;
STICKLINE( 逃顶,逃顶,10,5,0),COLORFF5500;
STICKLINE( 逃顶,逃顶,30,3,0),COLORFF8800;
STICKLINE( 逃顶,逃顶,30,2,0),COLORFFAA00;
STICKLINE( 逃顶,逃顶,30,1,0),COLORFFCC00;
DRAWICON(CROSS(88,VARR1),HIGH,15);
DRAWTEXT(CROSS(88,VARR1),35,'逃'),COLORYELLOW;
{www.88gs.com}
STICKLINE(明天涨>0,0,90,1,0),COLORRED;
DRAWTEXT(明天涨>0,75,'明天涨'),COLORYELLOW;
顶部:90,COLORYELLOW,POINTDOT;
底部:10,COLORCYAN,POINTDOT;
风险区:80,COLORFF85FF,POINTDOT;
安全区:20,COLORYELLOW,POINTDOT;
天线:=100,COLORFFFF00;
强弱线:50,COLORGREEN,POINTDOT;