参数:M=1,P=21,F=62
本公式是划线公式,需要用到未来函数
强弱线:MA(C,5),COLORFF00FF,LINETHICK3;
{强弱线1:EMA(MA(C,5),8),COLORLIGREEN,LINETHICK2;}
AAF:=LLV(LOW,34),LINETHICK1,COLORFFFFCC;{====}
BBF:=MA(AAF,4),LINETHICK1,COLORYELLOW;{====}
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4,1)/SMA(ABS(CLOSE-LC),4,1)*100;
VAR27:=REF(CLOSE,1);
VAR28:=SMA(MAX(CLOSE-VAR27,0),5,1)/SMA(ABS(CLOSE-VAR27),5,1)*100;
VARA:=((AMOUNT)/(VOL))/(100);
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*(100);
VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ:=MA(VARE,20)+STD(VARE,20);
BIAS13:=((CLOSE-MA(CLOSE,13))/(MA(CLOSE,13)))*(100);AA:=SMA(VARF,3,1);
SS:=(REF(BIAS13,1)>=5) AND CROSS(VARJ,VARE) AND (AA>79);
VAR1:=ZIG(3,10)REF(ZIG(3,10),2);
VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)
VAR9:=IF(YEAR > 2110,0,VAR1);
VAR10:=IF(YEAR > 2110,0,VAR2);
STICKLINE(VAR9,H*1.02,H,10,0),COLORYELLOW,LINETHICK2;
STICKLINE(VAR10,L*0.96,L*0.91,10,0),COLORRED,LINETHICK2;
DRAWICON(VAR10,L*0.9,1);
DRAWICON(VAR10,L*0.98,25);
趋势线: IF (M > 0,ZIG(3,10),DRAWNULL),COLORYELLOW;
{SMX,COLORWHITE,LINETHICK2;};
QSX: IF(M=1,MA(CLOSE,P),DRAWNULL)COLORGREEN,LINETHICK2;
LE: IF(M=1,MA(CLOSE,F),DRAWNULL)COLORWHITE,LINETHICK2;