最佳買賣 主圖 ★無未來
N:=(1,500,65);
M:=(1,1000,135);
X:=(1,30,8);
Q:=(1,30,6);
上線:=SMA(C,N/10,1);
下線:=SMA(C,M/10,1);
STICKLINE(上線>下線 , 上線,下線 ,2.5, 0),COLORRED,LINETHICK2;
STICKLINE(下線>上線,上線,下線,2.5,0),COLORYELLOW,LINETHICK2;
DRAWTEXT( CROSS(上線,下線),LOW ,'買入' ),COLOR00FF00;
DRAWTEXT(CROSS(下線,上線),H,'賣出'),COLORF00FF0;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:BBI+3*STD(BBI,10),LINETHICK2;
DWN:BBI-3*STD(BBI,10);
安全:MA(CLOSE,60),LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(DATE>700101 AND CROSS(84,RSI) , HIGH,'賣出'), COLORFF9966,LINETHICK2;
A7:=(2*C+H+L)/4;
VAR1:=LLV(LOW,34);
VAR2:=HHV(HIGH,34);
SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
VAR3:=LLV(LOW,120);
VAR4:=HHV(HIGH,60);
VAR5:=VAR4-VAR3;
最低1: VAR3;
最高1: VAR4,LINETHICK2;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),X)/X>Q/10 AND VOL>=1.5*MA(VOL,5) AND
COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'買進(jìn)'), COLOR0099FF;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 AND
COUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND
REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND
OPEN>REF(CLOSE,1),1,0),LOW,'買進(jìn)'), COLORYELLOW;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'抄底'),COLORYELLOW;
A1:=(EMA(CLOSE,2.7)+MA(CLOSE,6)+MA(CLOSE,10.8))/3;
A2:=(EMA(CLOSE,3)+MA(CLOSE,7.5)+MA(CLOSE,13))/3;
A3:=(EMA(CLOSE,4)+MA(CLOSE,8.5)+MA(CLOSE,16.5))/3;
A4:=(EMA(CLOSE,4.8)+MA(CLOSE,10.2)+MA(CLOSE,18.6))/3;
A5:=(EMA(CLOSE,6.5)+MA(CLOSE,11.8)+MA(CLOSE,21))/3;
A6:=(EMA(CLOSE,7)+MA(CLOSE,13.5)+MA(CLOSE,23))/3;