以下是平台突破 源码 副图
STICKLINE(C>0,5,5,8,0),COLORMAGENTA;
STICKLINE(C>0,0,0,10,0),COLORWHITE;
STICKLINE(C>0,-5,-5,8,0),COLORGREEN;
均价:=(2*C+(H-L)/2+L)/3;
价差:=SUM(均价-REF(均价,1),3)/3;
高低:=(均价+价差);
实价:=(高低+均价)/2;
AA:=EMA(((SLOPE(实价,21)*20)+实价),21*3);
BB:=EMA(((SLOPE(均价,21)*20)+均价),21*3);
多空线:=((AA+BB)/2);
行情1:=EMA(EMA(EMA(多空线,7),21),63);
AAA:=EMA(((SLOPE(实价,21*2)*20)+实价),21*6);
BBB:=EMA(((SLOPE(均价,21*2)*20)+均价),21*6);
行情2:=(AAA+BBB)/2;
行情线:=(行情1+行情2)/2;
V1:=SMA(AMOUNT,10,1)/1000000;
V5:=MA(REF((2*C+(H-L)/2+L)/3,1),5);
最高:=V1*HIGH/V5*1/10;
最低:=V1*LOW/V5*1/10;
开盘:=V1*OPEN/V5*1/10;
收盘:=V1*CLOSE/V5*1/10;
均量:=(2*收盘+(最高-最低)/2+最低)/3,COLORMAGENTA;
量差:=SUM(均量-REF(均量,1),2)/2;
实量:=(2*均量+量差)/2;
A1:=(实价- 均价) / 均价*100,,LINETHICK;
A2:=(实量- 均量) / 均量*100,,LINETHICK;
A3:=(实价- 行情线) / 行情线*100,LINETHICK;
GLD:(A3+A1+A2)/3,LINETHICK;
STICKLINE(GLD>0,0,GLD,2,0),COLORRED;
STICKLINE(GLD<0,0,GLD,2,0),COLORCYAN;
GLE:MA(GLD,2),COLORGREEN;
平台突破:IF(CROSS(GLD,5)AND (COUNT(ABS(GLD)<5,30)>24,3),GLD,0),COLORWHITE;
DRAWTEXT(平台突破,GLD*1.05,’突★破’),COLORWHITE,LINETHICK3;
评论(0)