通达信S立体强弱比较指标公式
2021/1/31 18:40:39
PER:=14;
STK_AVG := ((C + O)/2 + H + L)/3;
个股强弱: (STK_AVG-MA(STK_AVG,PER))/MA(STK_AVG,PER)*100,COLORLIBLUE,LINETHICK2;
HY_AVG := ((HY_INDEXC+HY_INDEXO)/2+HY_INDEXH +HY_INDEXL)/3;
行业强弱: (HY_AVG-MA(HY_AVG,PER))/MA(HY_AVG,PER)*100,COLORYELLOW,LINETHICK1;
IDX_AVG := ((INDEXC+INDEXO)/2+INDEXH + INDEXL)/3;
大盘强弱: (IDX_AVG-MA(IDX_AVG,PER))/MA(IDX_AVG,PER)*100,COLORRED,LINETHICK1;
{
DRAWTEXT(CURRBARSCOUNT=6,行业强弱,HYBLOCK),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=3,大盘强弱,ZSBLOCK),COLORRED;};
投 股票网 www. tou18.cn
股市公式下载推荐