扬州陆俊☆原创作品
MA3
俊俊主图(1)
俊俊主图(2)
一共3个公式
{参数:N 1 100 20;M 1 100 32;P1 1 200 80;P2 1 200 100 }
DRAWTEXT_FIX(1,0,0,0,'所属板块:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.1,0,0,HYBLOCK),COLOR0080FF;
DRAWTEXT_FIX(1,0.21,0,0,DYBLOCK),COLOR0080FF;
Z:=20;
M:=32;
P1:=80;
P2:=100;
VAR111:=(C+H+O+L)/4;
压力线:XMA(VAR111,Z)*(1+P1/1000) POINTDOT LINETHICK3 ;
支撑线 :XMA(VAR111,M)*(1-P2/1000) POINTDOT LINETHICK3 ;
上中轨:压力线-(压力线-支撑线)*0.33 POINTDOT LINETHICK3 COLORLIGRAY;
下中轨:支撑线+(压力线-支撑线)*0.33 POINTDOT LINETHICK3 COLORGRAY;
AA:压力线*1.008 POINTDOT LINETHICK4 COLORGRAY;
BB:支撑线*0.992 POINTDOT LINETHICK4 COLORGRAY;
XG5:=CROSS(C ,支撑线) OR (L<支撑线 AND C>支撑线);
工作线2:EXPMA(CLOSE,12),COLORRED,LINETHICK0;
XG6:=CROSS(C,工作线2) AND XG5;
DRAWICON (XG5 AND XG6,L*0.9998,23),COLORRED;
O1:(SUM(EMA((CLOSE+LOW)/2,1)/3,3)),COLOR00FFFF,LINETHICK1;
O2:EMA(O1,3),COLORFF00FF,LINETHICK1;
O3:EMA(O2,3),COLOR00FF00,LINETHICK1;
MMM:=MA(CLOSE,13);
DRAWTEXT((CLOSE<MMM),MMM,'⊙'),COLOR00FF00,LINETHICK5;
DRAWTEXT((CLOSE>MMM),MMM,'⊙'),COLOR0000FF,LINETHICK5;
工作线:EXPMA(CLOSE,12),COLORRED,LINETHICK0;
生命线:EXPMA(CLOSE,50),COLORMAGENTA,LINETHICK0;
等待:=IF(MA3>工作线,工作线,MA3);
IF(等待>REF(等待,1),等待,DRAWNULL),LINETHICK0,COLOR00FFFF;
IF(工作线>REF(工作线,1),工作线,DRAWNULL),LINETHICK0,COLOR0000FF;
IF(工作线<REF(工作线,1),工作线,DRAWNULL),COLOR00FF00;
IF(生命线>REF(生命线,1),生命线,DRAWNULL),LINETHICK0,COLORFF00FF;
IF(生命线<REF(生命线,1),生命线,DRAWNULL),COLOR669933;
XG1:=CROSS(C,工作线) AND CROSS(C,生命线);
XG2:=CROSS(工作线,生命线);
XG3:=CROSS(C,工作线) AND XG2 ;
XG4:=CROSS(C,工作线) AND XG5;
DRAWTEXT(XG1,L*0.9998,''),COLORRED;
DRAWICON(XG3,L*0.9998,5),COLORRED;
DRAWTEXT (XG4,L*0.998, '【重点关注】'),COLORRED;
DRAWTEXT (XG4,L*0.95, '【稳抓黑马】'),COLORRED;
N:=10;
T1:=CONST(HHVBARS(V,10)),COLOR0000FF,LINETHICK1;
量能平台:IF(CURRBARSCOUNT<=N+15,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL)COLOR0000FF,LINETHICK2;
新量能点:IF(CURRBARSCOUNT=T1+1,量能平台,DRAWNULL),CIRCLEDOT,COLORLIGRAY,LINETHICK2;
DRAWTEXT(ISLASTBAR,量能平台,' 量能平台');
652500341.png
|