通达信S立体强弱比较指标公式
2021/1/31 18:09:23
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.k anguba.com
其它股票公式列表