九毛八公式指标
VAR1:=COST(89)-COST(11); VAR2:=COST(75)-COST(25);VAR3:=COST(99.9)-COST(0.1); 单峰1:(1-VAR1/VAR3)*100,PRECIS0,LINETHICK4,COLORFF8000; 单峰2:(1-VAR2/VAR3)*100,PRECIS0,LINETHICK4; 低位密集:(COST(99)-COST(60))/VAR3*100,LINETHICK2; 高位密集:(COST(40)-COST(1))/VAR3*100,LINETHICK2; 获利盘:SMA(WINNER(AMOUNT/VOL/100)*100,N,1),COLOR0000FF,PRECIS0; PARTLINE(获利盘,获利盘>REF(获利盘,1),RGB(200,0,0),1,RGB(0,200,0)),LINETHICK3; 速率:(获利盘-REF(获利盘,1))/REF(获利盘,1),LINETHICK0,PRECIS2,COLORRED; DRAWTEXT(CROSS(获利盘,低位密集),低位密集,'买入'),COLORRED; VAR13:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100; VAR23:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100; VAR33:=SMA(VAR23,2,1); 黑:100+(-ABS(VAR13)),COLORGREEN; 马:SMA(VAR33,2,1),LINETHICK1; STICKLINE(CROSS(马,黑),70,90,2,0),COLORGREEN,LINETHICK2;
公式模块:
VAR1:=COST(89)-COST(11);
VAR2:=COST(75)-COST(25); VAR3:=COST(99.9)-COST(0.1); 单峰1:(1-VAR1/VAR3)*100,LINETHICK4,COLORFF8000; 单峰2:(1-VAR2/VAR3)*100,LINETHICK4; 低位密集:(COST(99)-COST(60))/VAR3*100,LINETHICK2; 高位密集:(COST(40)-COST(1))/VAR3*100,LINETHICK2; 获利盘:SMA(WINNER(AMOUNT/vol/100)*100,2,1),COLOR0000FF,LINETHICK3; IF(获利盘>REF(获利盘,1),获利盘,DRAWNULL),COLOR0000FF,LINETHICK3; IF(获利盘<=REF(获利盘,1),获利盘,DRAWNULL),COLOR00FF00,LINETHICK3; 速率:(获利盘-REF(获利盘,1))/REF(获利盘,1),LINETHICK0,COLORRED; DRAWTEXT(crOSS(获利盘,低位密集),低位密集,'买入'),COLORRED; VAR13:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100; VAR23:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100; VAR33:=SMA(VAR23,2,1); 黑:100+(-ABS(VAR13)),COLORGREEN; 马:SMA(VAR33,2,1),LINETHICK1; STICKLINE(CROSS(马,黑),70,90,2,0),COLORGREEN,LINETHICK2;