VAR555555:=(C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100;
VAR666666:=(2*C+H+L)/4;
VAR777777:=SMA((VAR333333/VAR111111*100),3,1);
VAR888888:=LLV(L,34);
VAR999999:=SMA(VAR777777,3,1)-SMA(VAR444444,9,1);
VAR1000000:=IF(VAR999999 100,VAR999999-100,0);
VARAAAAAA:=HHV(H,34);
防线:=EMA((VAR666666-VAR888888)/(VARAAAAAA-VAR888888)*100,8);
BB:=EMA(防线,5);
STICKLINE(防线 0 AND 防线-BB 0,20,20,10,0),COLORGREEN;
STICKLINE(防线 0 AND 防线-BB =0,20,20,10,0),COLORRED;
{www.9m8.cn 九毛八新且全的股票公式指标网}
Var1:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
Var2:=SMA(Var1,20,1);
长势:=SMA(Var2,3,1);
持股看顶:STICKLINE(Var2 长势 AND Var2 REF(Var2,1),10,20,4,0);
持币寻底:STICKLINE(Var2 长势 AND Var2 REF(Var2,1),0,10,4,0),COLORFFFF00;
持币:PARTLINE(SAR(10,2,20) =H,80),COLORGREEN;
持股:PARTLINE(SAR(10,2,20) =L,80),COLORRED;
VAR1y:=SMA((CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*200-105,5,1);
VAR2y:=SMA((HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*200-125,5,1);
STICKLINE(VAR1y =VAR2y,20,40,4,0),COLORRED;
VAR1PP:=EMA(CLOSE,8);
VAR2PP:=EMA(VAR1PP,20);
VAR3PP:=CROSS(VAR1PP,VAR2PP);
VAR4PP:=VAR1PP EMA(CLOSE,120);
安全区: IF(VAR3PP AND VAR4PP,60,10), COLORGREEN;