通信达公式导入 通达信短线交易指导主图指标公式(3)
2016-10-10 14:57 股票知识 zhishi.southmoney.com
B5线:MA(C,55),POINTDOT,COLORRED;
STICKLINE((CLOSE >B5线),B5线,B5线,3,2),LINETHICK3,COLORRED;
STICKLINE((B5线 > CLOSE),B5线,B5线,3,2),LINETHICK3,COLORGREEN;
牛熊线:(EMA(CLOSE,30)+EMA(CLOSE,72))/2,LINETHICK2,COLORBLUE ;
IF(C>=牛熊线,牛熊线,DRAWNULL),COLORMAGENTA,LINETHICK2.1;
DRAWTEXT(CROSS("MACD.DIF","MACD.DEA"),L,'M');
DRAWTEXT(CROSS("KD.K","KD.D"),L,'J');
DRAWTEXT(CROSS("DMA.DIF","DMA.AMA"),L,'D');
STICKLINE(CROSS("DMA.DIF","DMA.AMA"),O,C,1,0),COLORMAGENTA;
STICKLINE(CROSS("MACD.DIF","MACD.DEA"),O,C,1,0),COLORYELLOW;
{蓝}
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.5,0),COLORCYAN;
{彩色K线}
F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND F<0,1,0);
P1:=今小昨;
今小前:=IF(C<REF(O,2) AND F<0,1,0);
P2:=今小前;
DRAWTEXT(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,L,'变O'),COLORFF00FF;
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0,OPEN,CLOSE,1.1,0),COLORBLUE;
DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLOR0080FF;
DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.14,0,0,'所属地区:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.21,0,0,DYBLOCK)COLOR00FFFF;
更多股票公式相关资讯请关注南方财富网