活在当下--就让我用最后的自由,去成全你的追求
n:=1;
AAA:=(MA(CLOSE,13)+MA(CLOSE,17))/2;
CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;
BBB:=AAA+2.1*CCC;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,9,0),colorAAAAAA;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6,0),colorBBBBBB;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.4,0),colorCCCCCC;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.1,0),colorDDDDDD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,9,0),color6666CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0),color7777DD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4,0),color8888EE;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.1,0),color9999FF;
A9:=MA(CLOSE,14);
B8:=WMA(A9,5);
A11:A9*1.1,LINETHICK3,colorFF;
A44:A9*0.9,LINETHICK3,colorFF00;
A22:A11-(A11-A44)*0.191,LINETHICK3,colorFF00FF;
A33:A11-(A11-A44)*0.618,LINETHICK3;
AA:=MA(AMOUNT/VOL/100,VOL/CAPITAL);
A1:=EMA((EMA(AA,N)+EMA(AA,N+1)+EMA(AA,N+2))/3,3);
A2:=EMA((EMA(AA,N+1)+EMA(AA,N+2)+EMA(AA,N+3))/3,3);
A3:=EMA((EMA(AA,N+2)+EMA(AA,N+3)+EMA(AA,N+4))/3,3);
A4:=EMA((EMA(AA,N+3)+EMA(AA,N+4)+EMA(AA,N+5))/3,3);
A5:=EMA((EMA(AA,N+4)+EMA(AA,N+5)+EMA(AA,N+6))/3,3);
BB:=A1<A2 AND A1<A2 OR A2<A3;
A15:=AA-(A1-AA*0.997);
A16:=AA-(A2-AA*0.997);
A17:=AA-(A3-AA*0.997);
A18:=AA-(A4-AA*0.997);
A19:=AA-(A5-AA*0.997);
PARTLINE(A1>A2 AND A1>A3,A1),colorFF00FF;
PARTLINE(A1>A2 AND A1>A3,A2),POINTDOT,colorFF00FF;
PARTLINE(A1>A2 AND A1>A3,A3),POINTDOT,colorFF00FF;
PARTLINE(A1>A2 AND A1>A3,A4),POINTDOT,colorFF00FF;
PARTLINE(A1>A2 AND A1>A3,A5),colorFF00FF;
PARTLINE(BB,A1),colorFF00;
PARTLINE(BB,A2),POINTDOT,colorFF00;
PARTLINE(BB,A3),POINTDOT,colorFF00;
PARTLINE(BB,A4),POINTDOT,colorFF00;
PARTLINE(BB,A5),colorFF00;
PARTLINE(1,A15),colorFF1010;
PARTLINE(1,A16),colorFF2010;
PARTLINE(1,A17),colorFF3010;
PARTLINE(1,A18),colorFF4010;
HL:=EMA(HIGH,5);
LL:=EMA(LOW,5);
CH:=CROSS(CLOSE,HL);
CL:=-CROSS(LL,CLOSE);
TF:=IF(CH,CH,IF(CROSS(LL,CLOSE),CL,0));
UD:=REF(TF,BARSLAST(TF));
霸王控盘线:=IF(UD>0,LL,HL);
PARTLINE(1,霸王控盘线),LINETHICK2,colorFFFF;
PARTLINE(UD=1 AND REF(UD,1)=1,LL),LINETHICK4,colorFF;
PARTLINE(UD=-1 AND REF(UD,1)=-1,HL),LINETHICK4,colorFF00; |