短趨勢:=((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50);
VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR3:=LLV(LOW,34);
VAR4:=HHV(HIGH,34);
長趨勢:=EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13);
判斷底:=SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;
VAR5:=CROSS(短趨勢,長趨勢)AND 長趨勢<25;
底部:STICKLINE(短趨勢<10 AND 判斷底>0,0,30,6,1);
STICKLINE(VAR5,0,50,8,0) ,COLORRED;
DRAWICON(VAR5 AND 判斷底>0,60,1);
DRAWTEXT(COUNT(短趨勢<10 AND 判斷底>0,8) AND VAR5,50,'砸鍋賣鐵買數(shù)錢'),COLORRED;
DRAWTEXT(CROSS(短趨勢,長趨勢)AND 長趨勢>25 AND 長趨勢>REF(長趨勢,1),50,'★快拉或短頂'),COLORYELLOW ;
VAR6:=CROSS(短趨勢,長趨勢)AND 長趨勢<50;
DRAWTEXT( COUNT(短趨勢<30 AND 判斷底>0,5) AND VAR6,30,'短線買'),COLORYELLOW ;
砸鍋賣鐵買:IF((COUNT(短趨勢<10 AND 判斷底>0,8) AND VAR5),80,0),COLORRED;
DRAWTEXT(VAR5,h+55,'★買入'),color4440FF;
買入:IF(VAR5,80,0),COLORRED;
快拉或短頂:if(CROSS(短趨勢,長趨勢)AND 長趨勢>25 AND 長趨勢>REF(長趨勢,1),50,0),COLORYELLOW ;
(南方財富網SOUTHMONEY.COM)