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E(HJ_8 OR HJ_20,0,50,2,0),COLORRED;
STICKLINE(HJ_9,0,80,2,0),COLORRED;
STICKLINE(HJ_10,0,100,2,0),COLORRED;
STICKLINE(HJ_11,0,80,2,0),COLORRED;
STICKLINE(HJ_12,0,50,2,0),COLORRED;
STICKLINE(HJ_13,0,30,2,0),COLORGREEN;
STICKLINE(HJ_14 OR HJ_15 OR HJ_16 OR HJ_17,0,50,2,0),COLORRED;

通达信仓位助手指标公式

 

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu