「翔博精选指标」一杆到底公式优化版,手机也可用 (通达信公式
2021-11-22原创 编 辑:翔博软件
本公式经过优化,更趋合理。本指标不适合小白。
无未来.
{一杆到底}
VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1);
VAR4:=SMA(VAR3,3,1);
VAR5:=3*VAR3-2*VAR4;
VAR6:=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);
VAR7:=10;
VAR8:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;
VAR9:=SMA(VAR8,7,1);
VARA:=SMA(VAR9,5,1);
VARB:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VARC:=SMA(VARB,5,1);
VARD:=SMA(VARC,5,1);
VARE:=1/WINNER(CLOSE);
VARF:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR10:=100-ABS(VARF);
VAR11:=IF(VARE > 5,IF(VARE < 100,VARE,VAR10-10),0);
VAR12:=HHV(HIGH,25);
VAR13:=LLV(LOW,25);
VAR14:=EMA((CLOSE-VAR13)/(VAR12-VAR13)*100,5);
底2: IF(VAR3 < 20 AND VAR4 < 20 AND CROSS(VAR5,VAR3) AND CROSS(VAR3,VAR4),70,0),STICK,,LINETHICK5;
警戒1: IF(VAR6 <=10,15,0),LINETHICK2;
底3: IF(CROSS(VAR6,VAR7),40,0),STICK,LINETHICK5;
底4: IF(CROSS(VAR9,VARA) AND VAR9 < 20,50,0),STICK,LINETHICK2;
底5: IF(CROSS(VARC,VARD) AND VARC < 20,60,0),STICK,LINETHICK2;
警戒2: IF(VAR14 < 7,30,0),STICK,LINETHICK1;
底6: IF(CROSS(VAR14,VAR11),80,0),STICK,LINETHICK2,COLORRED;
底7: (CLOSE-MA(CLOSE,58))/MA(CLOSE,58) < -0.225,STICK;