同花顺趋势唯一公式
VAR3:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
VAR4:=SMA(SMA(VAR3,3,1),3,1);
VAR5:=EMA(VAR4,5);
VAR6:=VAR5;
VAR7:=3*VAR4-2*VAR5;
VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(VAR8,3,1),colorbrown;
D:SMA(K,3,1),colorblue;
VARA:=LLV(LOW,36);
VARB:=HHV(HIGH,30);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
VARD:=87.5;
趋势:VARC,0,colorcyan,;
20,0,colorblack;
50,0,colorblack;
80,0,colorblack;
DRAWTEXT(CROSS(VARD,趋势),85,'赚了'),colorgreen;
WW:STICKLINE(VARC>90,100,90,2,0),colorred;
Y:STICKLINE(VARC<10,0,10,2,0),colorbrown;
VARF:=SMA(VAR3,20,1);
VAR10:=SMA(VARF,15,1);
VAR11:=(3*VARF+2*VAR10)/4;
VAR12:=REF(VAR11,1);
VAR13:=SMA(MAX(VAR11-VAR12,0),2,1)/SMA(ABS(VAR11-VAR12),2,1)*100;
VAR14:=MA(VAR13,10);
VAR15:=IF(CROSS(VAR14,90),25,0);
DRAWTEXT(CROSS(VAR14,90),27,'强势整理'),1,colorcyan;