送有缘人,很实用,在通达信颜色6位可以调换,如AAFF16改为16FFAA,通达信的颜色函数与东财通的相反
{www.9m8.cn}大盘叠加500}
DPO:=IF(C 500,INDEXO,DRAWNULL);
DPH:=IF(C 500,INDEXH,DRAWNULL);
DPL:=IF(C 500,INDEXL,DRAWNULL);
DPC:=IF(C 500,INDEXC,DRAWNULL);
DPSJ:=IF(C 500,EMA(DPC,377)/EMA(C,377),2);{www.9m8.cn}500}
阶梯线:REF(EMA(C,14),1),COLORFF16CC;
大盘:IF(C 500,ma((DPC+C)/DPSJ,14),DRAWNULL),COLORA85816;
STICKLINE(DPC REF(DPC,1),(DPH+H)/DPSJ,(DPL+L)/DPSJ,0,1),COLOR563516;{www.9m8.cn}COLOR886635}
STICKLINE(DPC REF(DPC,1),(DPO+O)/DPSJ,(DPC+C)/DPSJ,7,1),COLOR563516;
STICKLINE(DPC REF(DPC,1),(DPH+H)/DPSJ,(DPL+L)/DPSJ,0,0),COLOR163566;{www.9m8.cn}COLOR358866}
STICKLINE(DPC REF(DPC,1),(DPO+O)/DPSJ,(DPC+C)/DPSJ,7,0),COLOR163566;
{www.9m8.cn}DRAWKLINE(HIGH,OPEN,LOW,CLOSE);}
STICKLINE(C O,C,H,0,1),COLORFF1618;
STICKLINE(C O,O,L,0,1),COLORFF1618;
STICKLINE(C O,O,H,0,1),COLOR16FFFF;
STICKLINE(C O,C,L,0,1),COLOR16FFFF;