您的当前位置:首页正文

指标画线公式

2022-12-04 来源:步旅网


指标画线公式

A1:=DATE <= 13181231;

七天线:MA(C,7),COLORGRAY;

工作线:(EMA(C,14)) * A1,POINTDOT,LINETHICK4,COLORYELLOW;

生命线:(MA(C,25)) * A1,LINETHICK2,COLORMAGENTA;

不惑线:(MA(C,40)) * A1,COLORCYAN;

姊妹线:(EMA(C,56)) * A1,,POINTDOT,COLORWHITE;

A3:=EMA((((SLOPE(C,21)) * 20) + C),68);

A4:=EMA(C,10);

A5:=REF(C,2);

A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100;

A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);

A8:=LLV(L,21);

A9:=HHV(H,21);

A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5);

A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);

A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);

A13:=LLV(L,55);

A14:=HHV(H,34);

A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);

A16:=(A11 + A15) / 2;

A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);

A18:=EMA(A16,5);

A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);

A20:=CROSS(A10,A11);

A21:=(CROSS(A10,A19)) AND (A19 < 30);

A22:=A21 * 0.6;

A23:=((C + L) + H) / 3;

A24:=EMA(A23,6);

A25:=EMA(A24,5);

A26:=CROSS(A24,A25);

DRAWICON(A26,(LOW / 1.015),1),LINETHICK2,COLORMAGENTA;

DRAWTEXT(CROSS(A4,A3),L*0.9,'线上阴线买|买错也要买!线下阳线卖|卖错也要卖!'),LINETHICK4,COLORYELLOW;

STICKLINE(((C >= 工作线) AND (C >= O)),H,L,0,1),COLORRED;

STICKLINE(((C >= 工作线) AND (C >= O)),O,C,2,1),COLORRED;

STICKLINE(((C >= 工作线) AND (C <= O)),H,L,0,0),COLORRED;

STICKLINE(((C >= 工作线) AND (C <= O)),O,C,2,0),COLORRED;

STICKLINE(((C < 工作线) AND (C >= O)),H,L,0,1),COLORGREEN;

STICKLINE(((C < 工作线) AND (C >= O)),O,C,2,1),COLORGREEN;

STICKLINE(((C < 工作线) AND (C <= O)),H,L,0,0),COLORGREEN;

STICKLINE(((C < 工作线) AND (C <= O)),O,C,2,0),COLORGREEN;

高抛低吸

EMA5:MA(C,5),COLOR0000FF,LINETHICK2;

EMA10:MA(C,10),COLOR00FFFF,LINETHICK2;

EMA21:=MA(C,21),COLORC0FF7F,LINETHICK1;

EMA60:MA(C,60),COLORFFFFFF,LINETHICK1;

MA7:=MA(C,7);

VAR71:=ATAN((MA7/REF(MA7,1)-1)*100)*180/3.1416;

AA1:=ATAN((MA7/REF(MA7,1)-1)*100)*180/3.1416;

BB1:=MA(AA1,4);

AA:=AA1>=BB1;

BB:=AA1买入:DRAWICON(CROSS(AA,BB),L-0.1,1);

卖出:DRAWICON(CROSS(BB,AA),H+0.1,2);

STICKLINE(AA,C,O,3,0),COLOR000099;

STICKLINE(AA,H,L,0.5,0),COLOR000099;

STICKLINE(BB,C,O,3,0),COLORFF0099;

STICKLINE(BB,H,L,0.5,0),COLOR660099;

STICKLINE(AA,CLOSE,OPEN,3.0,0),COLOR9900CC;

STICKLINE(AA,CLOSE,OPEN,2.5,0),COLORFF00CC;

STICKLINE(AA,CLOSE,OPEN,1.9,0),COLORFF00FF;

STICKLINE(AA,CLOSE,OPEN,1.0,0),COLORFF33FF;

STICKLINE(AA,CLOSE,OPEN,0.5,0),COLORFF66FF;

STICKLINE(AA,CLOSE,OPEN,0.2,0),COLORFF99FF;

STICKLINE(BB,CLOSE,OPEN,3,0),COLOR006633;

STICKLINE(BB,CLOSE,OPEN,2.5,0),COLOR339933;

STICKLINE(BB,CLOSE,OPEN,1.9,0),COLOR669933;

STICKLINE(BB,CLOSE,OPEN,1.5,0),COLOR33CC33;

STICKLINE(BB,CLOSE,OPEN,1.0,0),COLOR66CC33;

STICKLINE(BB,CLOSE,OPEN,0.2,0),COLORCCFF33;

STICKLINE(买入,O,(C-O)/2+O,3,0),COLOR335555;

STICKLINE(买入,O,(C-O)/2+O,2.2,0),COLOR338888;

STICKLINE(买入,O,(C-O)/2+O,1.5,0),COLOR33AAAA;

STICKLINE(买入,O,(C-O)/2+O,1,0),COLOR33CCCC;

STICKLINE(买入,O,(C-O)/2+O,0,0),COLOR33EEEE;

STICKLINE(卖出,O,(C-O)/2+O,3,0),COLOR550055;

STICKLINE(卖出,O,(C-O)/2+O,2.2,0),COLOR880088;

STICKLINE(卖出,O,(C-O)/2+O,1.5,0),COLORAA00AA;

STICKLINE(卖出,O,(C-O)/2+O,1,0),COLORCC00CC;

STICKLINE(卖出,O,(C-O)/2+O,0.5,0),COLOREE00EE;

黑马

个股:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;

盘:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORE67010,LINETHICK2;

STICKLINE(个股>=大盘,个股,大盘,3,0),COLORRED;

STICKLINE(个股<大盘,个股,大盘,3,0),COLORBLUE;

STICKLINE(个股>=大盘,0,大盘,3,0),COLORYELLOW;

STICKLINE(个股<大盘,0,个股,3,0),COLORYELLOW;

黑马初现:IF(CROSS(个股,9),50,0),STICK,LINETHICK3,COLOR00FF00;

DRAWTEXT(CROSS(个股,9),66,'黑马'),COLOR00FF00;

DRAWTEXT(CROSS(个股,9),60,'1'),COLOR00FF00;

VAR1:=EMA(CLOSE,3);

VAR2:=EMA(CLOSE,21);

VAR3:=BARSLAST(CROSS(VAR2,VAR1))>15;

VAR4:=VOL>MA(VOL,5)*2 AND VOLVAR5:=CROSS(VAR1,VAR2) AND VAR4 AND VAR3;

黑马:IF(VAR5,60,0),STICK,LINETHICK3,COLORF00FF0;

DRAWTEXT(VAR5,78,'黑马!'),COLORF00FF0;

拉升线:80,COLORGREEN,LINETHICK2;

试庄线:20,COLORWHITE,LINETHICK2;

强弱线:50,COLORRED,LINETHICK2;

买卖指标

VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);

VAR2:=HIGH-REF(HIGH,1);

VAR3:=REF(LOW,1)-LOW;

VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);

VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);

VAR6:=VAR4*100/VAR1;

VAR7:=VAR5*100/VAR1;

VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);

VAR9:=(VAR8+REF(VAR8,15))/2;

A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);

B:ZIG(3,50/5)*100,COLORWHITE;

G:MA(B,2),COLORYELLOW;

D:=CROSS(B,G)*1000,COLORRED;

W:=CROSS(G,B)*1000,COLORBLUE;

E:=REF(INDEXC,1);

F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);

VAR10:=F AND F<8;

VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR12:=SMA(VAR11,3,1);

VAR13:=SMA(VAR12,3,1);

VAR14:=VAR13 AND VAR13<20;

MM:=A AND D AND VAR10 AND VAR14 ;

DRAWTEXT(W=1000,B*1.05,'卖' ),COLOR00FF00;

DRAWTEXT(D=1000,B*1.05,'买'),COLORRED;

因篇幅问题不能全部显示,请点此查看更多更全内容