通达信极品操盘主图指标公式
2020/1/14 19:15:46
本文公式指标的选股公式如下:
极品操盘主图之红箭头选股指标公式
{参数:
N:1/120/5;
M1:1/250/7;
M2:1/250/13;
M3:1/250/21;
M4:1/250/30;
M5:1/250/60
}
↑7:MA(CLOSE,M1);
↑13:MA(CLOSE,M2);
↑21:MA(CLOSE,M3);
↑30:MA(CLOSE,M4);
↑60:MA(CLOSE,M5),COLORLIRED;
{↑120:MA(CLOSE,M6),COLORBLUE;}
操作线:EMA(C,N),COLORWHITE,NODRAW;
MTM:=CLOSE-REF(CLOSE,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
DY:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
A:=REF(操作线,1);
红买:A,COLORRED,NODRAW;
绿卖:HIGH,COLOR00FF00,NODRAW;
粉持股:CLOSE,COLORFF00FF,NODRAW;
灰持币:OPEN,COLORFFFFCC,NODRAW;
{投股票网-股票公式网站 www.tou18.cn}
{买入}
STICKLINE(操作线>=A,HIGH,LOW,0,0),COLORFF00FF;
STICKLINE(操作线>=A,OPEN,CLOSE,1,0),COLORFF00FF;
STICKLINE(CROSS(操作线,A),HIGH,LOW,0,0),COLORRED;
STICKLINE(CROSS(操作线,A),OPEN,CLOSE,1,0),COLORRED;
DRAWICON(CROSS(操作线,A),LOW-0.1,1),COLORRED;
{卖出}
STICKLINE(操作线<A,HIGH,LOW,0,0),COLORCCCCCC;
STICKLINE(操作线<A,OPEN,CLOSE,1,0),COLORCCCCCC;
STICKLINE(CROSS(A,操作线),HIGH,LOW,0,0),COLOR00FF00;
STICKLINE(CROSS(A,操作线),OPEN,CLOSE,1,0),COLOR00FF00;
DRAWICON(CROSS(A,操作线),HIGH+0.01,2),COLOR00FF00;
投 股票网 www.t ou18.cn
股市公式下载推荐