当前获利:=WINNER(C)*100,COLORAAAAFF,STICK,NODRAW;
赚10%:WINNER(C/1.1)*100,COLORRED,NODRAW;
赚20%:WINNER(C/1.2)*100,COLORYELLOW,NODRAW;
赚30%:WINNER(C/1.3)*100,COLORMAGENTA,NODRAW;
R10:=当前获利-赚10%;
STICKLINE(1,当前获利,赚10%,-1,0),COLORRED,NODRAW;
STICKLINE(1,赚10%,赚20%,-1,0)COLOR0000CC;
STICKLINE(1,赚20%,赚30%,-1,0),COLOR00FFFF;
亏10%:(1-WINNER(C/0.9))*100,COLORWHITE,NODRAW;
亏20%:(1-WINNER(C/0.8))*100,COLORGREEN,NODRAW;
亏30%:(1-WINNER(C/0.7))*100,COLORCYAN,NODRAW;
S10:=100-亏10%-当前获利;
STICKLINE(C>0,100-亏20%,100-亏30%,-1,0),COLORGREEN;
STICKLINE(C>0,100-亏30%,100,-1,0),COLORWHITE;
当前价获利盘%:当前获利,COLORYELLOW,LINETHICK2;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(Abs(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
洗盘:IF(VAR5
STICKLINE(VAR5
STICKLINE(VAR5
STICKLINE(VAR5
STICKLINE(VAR5
STICKLINE(VAR5
STICKLINE(VAR5
VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3)/5;
主力拉:IF(VAR51
STICKLINE(VAR51
STICKLINE(VAR51
STICKLINE(VAR51
STICKLINE(VAR51
STICKLINE(VAR51
STICKLINE(VAR51
出货:IF(VAR51>REF(VAR51,1),VAR51,0),COLORCYAN,NODRAW;
STICKLINE(VAR51>REF(VAR51,1),-10,VAR51/5-10,3,0 ),COLORCYAN;
STICKLINE(VAR51>REF(VAR51,1),-10,VAR51/5-10,3,0),COLOR555555;
STICKLINE(VAR51>REF(VAR51,1),-10,VAR51/5-10,2.6,0),COLOR777777;
STICKLINE(VAR51>REF(VAR51,1),-10,VAR51/5-10,2.1,0),COLOR999999;
STICKLINE(VAR51>REF(VAR51,1),-10,VAR51/5-10,1.5,0),COLORBBBBBB;
STICKLINE(VAR51>REF(VAR51,1),-10,VAR51/5-10,0.9,0),COLORDDDDDD;
STICKLINE(VAR51>REF(VAR51,1),-10,VAR51/5-10,0.3,0),COLORFFFFFF;
VAR1Z:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2Z:=SMA(ABS(LOW-VAR1Z),13,1)/SMA(MAX(LOW-VAR1Z,0),10,1);
VAR3Z:=EMA(VAR2Z,10);
VAR4Z:=LLV(LOW,34);
VAR5Z:=EMA(IF(LOW<=VAR4Z,VAR3Z,0),3);
主力进场:IF(VAR5Z>REF(VAR5Z,1),VAR5Z/3-100,0-100),COLORCYAN,LINETHICK2;
短卖9:IF(PEAKBARS(3,9,1)=0,153,163),COLORGREEN,LINETHICK1;
短买9:IF(TROUGHBARS(3,9,1)=0 AND HIGH>LOW+0.01 ,150,140),COLORYELLOW,LINETHICK1 ;
0,COLORGRAY;