文章预览
此指标主要用于震荡行情,主图的趋势线为自适应均线(AMA20)。 趋势有上涨趋势、下跌趋势和无趋势(震荡),要懂得借用趋势、借用周期。 EF:=ABS(C-REF(C,20))/SUM(ABS(C-REF(C,1)),20)*(2/(2+1)-2/(30+1))+2/(30+1); AMA20:EMA(DMA(C,EF*EF),2),COLORFFAA00; IF(AMA20>REF(AMA20,1),AMA20,DRAWNULL),COLORRED,LINETHICK1; STICKLINE(C>=AMA20 AND C>O,O,C,-1,1),COLOR0000DD; {红色空心柱} STICKLINE(C>=AMA20 AND C>O,H,C,0,0),COLOR0000DD; STICKLINE(C>=AMA20 AND C>O,O,L,0,0),COLOR0000DD; STICKLINE(C>=AMA20 AND C < =O,O,C,-1,0),COLOR0000DD;{红色实心柱} STICKLINE(C>=AMA20 AND C < =O,H,O,0,0),COLOR0000DD; STICKLINE(C>=AMA20 AND C < =O,C,L,0,0),COLOR0000DD; STICKLINE(C O,O,C,-1,1),COLORFFBB00; {蓝色空心柱} STICKLINE(C O,H,C,0,0),COLORFFBB00; STICKLINE(C O,O,L,0,0),COLORFFBB00; STICKLINE(C STICKLINE(C STICKLINE(C {---------------------------------------------------} VAR1:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100; VAR2:=(VAR1/2+22)*1; VA
………………………………