花顺叠彩布林主图指标
-
相关简介:花顺叠彩布林主图指标 源码 中:MA(C,20),LINETHICK3,COLORFF00FF; 上:=中 + 2*STD(CLOSE,20),LINETHICK4,colorred; 下:=中 - 2*STD(CLOSE,20),LINETHICK4,COLORFF00FF; 上轨:EMA(上,3),LINETHICK3,COLOR4080FF; 下轨:EMA(下,3),LINETHICK2,COLOR69E072; A:=(3*CLOSE+LOW+OPEN+HIGH)/6; HJX21:
-
文章来源:股海网作者:股海网发布时间:2016-05-21浏览次数:
花顺叠彩布林主图指标
源码
中:MA(C,20),LINETHICK3,COLORFF00FF;
上:=中 + 2*STD(CLOSE,20),LINETHICK4,colorred;
下:=中 - 2*STD(CLOSE,20),LINETHICK4,COLORFF00FF;
上轨:EMA(上,3),LINETHICK3,COLOR4080FF;
下轨:EMA(下,3),LINETHICK2,COLOR69E072;
HJX21:=(21*A+20*REF(A,1)+19*REF(A,2)+18*REF(A,3)+17*REF(A,4)+16*REF(A,5)+
15*REF(A,6)+14*REF(A,7)+13*REF(A,8)+12*REF(A,9)+11*REF(A,10)+
10*REF(A,11)+9*REF(A,12)+8*REF(A,13)+7*REF(A,14)+6*REF(A,15)+
5*REF(A,16)+4*REF(A,17)+3*REF(A,18)+2*REF(A,19)+
REF(A,21))/231;
HJX3:=(3*A+2*REF(A,1)+REF(A,2))/6;
DC1:EMA(HJX3,4),COLOR00FF00;
DC2:EMA(DC1,3),colorred;
DC3:EMA(DC1,7),colorred;
K1:=BACKSET(DC1<REF(DC1,1),2);
K2:=BACKSET(DC2<REF(DC2,1),2);
K3:=BACKSET(DC3<REF(DC3,1),2);
DC4:EMA(HJX21,6),coloryellow;
DC5:EMA(HJX21,16),coloryellow;
DC6:EMA(HJX21,34),coloryellow;
RSV:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
YX2:=D>REF(D,1);
YX3:=DC4>DC6 AND DC5>DC6;
YX4:=CLOSE>DC4 AND CLOSE/DC4<1.1;
YX5:=DC1>DC2 AND DC2>DC3;
XG:=YX2 AND YX3 AND YX4;
神彩飞扬培训:=XG AND COUNT(XG,10)=1 AND COUNT(YX5,10)<5;
DRAWTEXT(神彩飞扬培训,LOW*0.98,'神彩'),COLORFFFFFF;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
XG0:=CROSS(MACD,0);
XG1:=CROSS(CLOSE,DC1) AND CROSS(CLOSE,DC2) AND CROSS(CLOSE,DC3) AND BARSLAST(XG0)<=5
AND CLOSE<DC4 ;
DRAWTEXT(XG1,LOW*0.98,'叠彩'),COLORFF00FF;
HJX:=EMA(HJX21,12);
ZF:=100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
TTUP:=HJX+2*STD(CLOSE,20);
TTDOWN:=HJX-2*STD(CLOSE,20);
HUP:=EMA(TTUP,3);
HDOWN:=EMA(TTDOWN,3);
LBRISE:=HUP/REF(HUP,1)>1.0035;
MIDRISE:=HJX>REF(HJX,1);
LBDOWN:=HDOWN<REF(HDOWN,1);
CLB1:=LOW/HUP<1.01 AND
KXT:=CLOSE>OPEN AND ((HIGH-CLOSE)+(OPEN-LOW))/(CLOSE-OPEN)<1.2 AND HIGH/CLOSE<1.035;
TDKD:=100*(HUP-HDOWN)/HJX;
TDXT:=TDKD<15 AND LLV(TDKD,8)<10;
XGG:=LBRISE AND MIDRISE AND CLB1 AND KXT AND TDXT;
CXG:=COUNT(XGG,20);
喇叭开口:=XGG AND CXG=1 AND COUNT(LBRISE,10)<10 AND HIGH/HHV(HIGH,5)>0.98;
DRAWTEXT(喇叭开口,LOW*0.99,'喇叭'),COLORFFFF00;
DRAWICON(CROSS(DC1,DC2),LOW*0.99,5);
DRAWICON(神彩飞扬培训,LOW*0.970,9);
DRAWICON(喇叭开口,LOW,2),COLORFFFF00;
RSV:=((HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13)))*(100);
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,5,1);
VAR1AA:=((2)*(CLOSE)+OPEN+HIGH+LOW)/(5);
VAR2AA:=VOL;
BU:=LWR1<LWR2 AND REF(LWR1,1)>=REF(LWR2,1);
SEL:=LWR1>=LWR2 AND REF(LWR1,1)<REF(LWR2,1);
DRAWTEXT(BU,LOW*0.96,'B'),colorred,LINETHICK6;
{DRAWTEXT(BU,LOW*0.96,'|'),COLOR208FFF,LINETHICK3;}
{DRAWTEXT(SEL,HIGH*1.008,'|'),COLOR00FF00,LINETHICK3;}
DRAWTEXT(SEL,HIGH*1.008,'S'),COLOR00FF00,LINETHICK6;
A6:=REF(CLOSE,1);
A7:=((SMA(MAX(CLOSE-A6,0),6,1))/(SMA(ABS(CLOSE-A6),6,1)))*(100);
A8:=EMA(((((2)*(CLOSE)+HIGH+LOW)/(4)-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100),6);
A9:=EMA((0.66699999)*(REF(A8,1))+(0.333)*(A8),4);
DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.30000001) AND COUNT((A8>A9),3) AND (REF(LOW,1)=LLV(LOW,120)) AND (CLOSE>OPEN),1,0),LOW*0.88,'买'),Color0000FF;