今天就簡簡單單帶給大家一套抓底部買入的自編公式,可以說出現訊號位置就是可靠絕佳買點了。
底部寶塔底部寶塔是一個全能型指標公式,它的訊號提示作用就是確定最佳的買點位置。所以說無論是短線、長線、中線都是應用的來.
底部寶塔原始碼
VAR1:=IF(NAMELIKE(7),0,1);
VAR2:=DYNAINFO(8)>0;
VAR3:=IF(NAMELIKE(8),0,1);
VAR4:=VAR1 AND VAR2 AND VAR3;
VAR5:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR6:=SMA(VAR5,9,1);
VAR7:=SMA(VAR5,30,1);
VAR8:=CROSS(VAR6,VAR7);
VAR9:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
VAR10:=COUNT(VAR8,21)>=2;
VAR11:=VAR6<20;
VAR12:=MA(CLOSE,10)>REF(MA(CLOSE,10),1);
VAR13:=COUNT(VAR9<(-8),20)>=1 AND VAR9<=0 AND COUNT(VAR9<=0,4)>=2;
VAR14:=VAR10 AND VAR11 AND VAR12 AND VAR13;
VAR15:=VAR14 AND COUNT(VAR14,10)=1;
VAR16:=REF(CLOSE,1);
VAR17:=SMA(MAX(CLOSE-VAR16,0),7,1)/SMA(ABS(CLOSE-VAR16),7,1)*100;
VAR18:=SMA(MAX(CLOSE-VAR16,0),13,1)/SMA(ABS(CLOSE-VAR16),13,1)*100;
VAR19:=BARSLAST(VAR18<20)<=3 AND CROSS(VAR17,VAR18);
VAR20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100<(-12.5);
VAR21:=LLV(LOW,5);
VAR22:=HHV(HIGH,5);
VAR23:=EMA((CLOSE-VAR21)/(VAR22-VAR21)*100,4);
VAR24:=EMA(0.667*REF(VAR23,1)+0.333*VAR23,2);