通达信红绿反扣指标公式
2020/4/7 18:28:40
DIF:=EMA(CLOSE,20)-EMA(CLOSE,5);
DEA:=EMA(DIF,10);
MACD:=300*(DIF-DEA)*2/EMA(C,30);
VARA:=EMA(REF(CLOSE,1),4);
青山:=(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100);
绿水:=青山<3.5,COLORDBDBDB;
火红的:=FILTER(MACD<0 AND MACD>REF(MACD,1) AND 青山<20,5);
太阳:=CROSS(青山,90),COLOR00FF00;
STICKLINE(青山,0,120,4,0),COLOR8B30FF;
DD:=IF(MACD>=0,MACD,DRAWNULL)*1.5;
STICKLINE(DD AND DD>REF(DD,1),0,DD*0.8,4,0),COLOR0000FF;
STICKLINE(DD AND DD<REF(DD,1),0,DD*0.8,3,1),COLOR0000FF;
(青山-25)*1.5,COLOR5BE000,LINETHICK6;
STICKLINE((青山-25)*1.5>0,0,(青山-25)*1.5,4,0),COLOR5BE000;
STICKLINE(青山,0,-50,4,0),COLORABA400;
IF(绿水,-10,DRAWNULL),CROSSDOT,CIRCLEDOT,LINETHICK1,COLOR688EC1;
DRAWTEXT(CROSS( 0,MACD)AND 青山>75 OR 太阳,98,'ヲ'),COLORDBDBDB;
AR1:=LLV(LOW,10);
AR2:=HHV(H,25);
AR3:=EMA((C-AR1)/(AR2-AR1)*4,4);
{www.tou18.cn 投股票网_最新股票指标公式}
STICKLINE(CROSS(AR3,0.3),-50,-30,3,0),COLORRED,LINETHICK1;
STICKLINE(CROSS(3.5,AR3),100,120,2,0), COLORRED,LINETHICK2;
红红的天:=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),LINETHICK0;
IF(红红的天>10,-50,DRAWNULL),CIRCLEDOT,COLORGREEN;
IF(红红的天<=10,-50,DRAWNULL),CIRCLEDOT,COLOR0000CC;
L1:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*200-60;
龙K:SMA(L1,3,1),COLORBBFFBB;
凤D:SMA(龙K,3,1),COLORBBFFBB;
有心就有:IF(CROSS(红红的天,2),-20,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF33FF;
好运!:IF(CROSS(红红的天,2),-20,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;
投 股票网 www.to u18.cn
股市公式下载推荐