通达信投机选股指标公式
通达信投机选股指标公式
【股票资源馆】东方财富L2决策破解版,东方财富网,东方财富投资大师破解版,东方财富先锋版破解,东方财富领航版破解,同花顺远航版破解,同花顺财富先锋破解,同花顺L2破解。
XK:=30;
显示:=0;
{虚拟涨幅价格}
HH:=IF(BETWEEN(DATE,1150601,1150630),H,-999);
T:=HHVBARS(HH,0);
TT:=BARSLAST(L=LLV(L,T+1));
T1:=BARSLAST(CURRBARSCOUNT=CONST(TT)+1);
XL:=REFX(MIN(C,O),BARSNEXT(T1=0));
DRAWICON(MIN(C,O)=XL,L,1);
ZTKX:=IF(ISLASTBAR,REF(XL,T)*(1+XK/100),DRAWNULL),NODRAW;
STICKLINE(ISLASTBAR,ZTKX,MAX(OPEN,CLOSE),0,-1),COLORLIGRAY;
ZF:=(CONST(ZTKX)/REF(XL,T)-1)*100;{涨幅}
JG:=REF(XL,T)*(1+XK/100);
DRAWTEXT(CURRBARSCOUNT=4,JG,VARCAT(VARCAT('价格:',VAR2STR(CONST(ZTKX),2)),'元')),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=10,JG,VARCAT(VARCAT('涨幅:',VAR2STR(ZF,2)),'%')),COLORYELLOW;
{停复牌}
复牌:=DAY-IF(WEEKOFYEAR=REF(WEEKOFYEAR,1),1,3)>REF(DAY,1) OR WEEKOFYEAR-1>REF(WEEKOFYEAR,1);
停牌:=REFX(复牌,1);
DRAWTEXT(停牌,L*0.99,'停'),COLORWHITE;
DRAWTEXT(复牌,L*0.99,'复'),COLORWHITE;
{均线}
NOTEXTM5:IF(显示=1,MA(C,5),DRAWNULL),COLORWHITE;
NOTEXTM10:IF(显示=1,MA(C,10),DRAWNULL),COLORYELLOW;
NOTEXTM20:IF(显示=1,MA(C,20),DRAWNULL),COLORMAGENTA;
NOTEXTM60:IF(显示=1,MA(C,60),DRAWNULL),COLORGREEN;
{ENE};
NOTEXT上:IF(显示=2,(1+11/100)*MA(CLOSE,9),DRAWNULL),COLORWHITE;
NOTEXT下:IF(显示=2,(1-9/100)*MA(CLOSE,9),DRAWNULL),COLORYELLOW;
NOTEXT中:IF(显示=2,(NOTEXT上+NOTEXT下)/2,DRAWNULL),COLORMAGENTA;
{EXPMA}
NOTEXTEXP1:IF(显示=3,EMA(CLOSE,12),DRAWNULL),COLORWHITE;
NOTEXTEXP2:IF(显示=3,EMA(CLOSE,50),DRAWNULL),COLORYELLOW;
(股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--)
【股票资源馆】炒股教程、黑马股票、股票资讯、期货外汇,大智慧沪深10档破解,高成功率股票指标,策略投资破解,财经股票论坛,东方财富破解版,东方财富专业破解版。
通达信重心A主图指标公式
通达信重心A主图指标公式