向大师们求:通达信的大盘(上证和深证)副图指标。万分感谢
{大盘K线 副图 TDX}
KK:=INDEXO;
HH:=INDEXH;
LL:=INDEXL;
CC:=INDEXC;
最新:CC,COLORCCCC00,NODRAW;
涨跌:CC-REF(CC,1),NODRAW;
涨跌幅:(CC-REF(CC,1))/REF(CC,1)*100,NODRAW;
上涨:INDEXADV,NODRAW,COLORRED;
下跌:INDEXDEC,NODRAW,COLORGREEN;
MA1:MA(INDEXC,5),COLORWHITE;
MA2:MA(INDEXC,10),COLORYELLOW;
STICKLINE(CC>=KK,CC,KK,3,1),COLOR0000CC;
STICKLINE(CC>=KK,CC,HH,0,0),COLOR0000CC;
STICKLINE(CC>=KK,KK,LL,0,0),COLOR0000CC;
STICKLINE(CC<KK,CC,KK,3,0),COLORCCCC00;
STICKLINE(CC<KK,KK,HH,0,0),COLORCCCC00;
STICKLINE(CC<KK,CC,LL,0,0), COLORCCCC00;
请高手完善通达信软件附图里表现的大盘线与个股线相关的指标公式。一条线表现个股,一条线是大盘的走势
个股线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED;
大盘线:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORYELLOW;
大盘线,对应个股所属的大盘,比如:沪,深,中小,创业等。


- 相关评论
- 我要评论
-