飞狐红柱面积指标公式
2019/12/14 19:02:40
DIFF:SMA(C,10,1)-SMA(C,22,1);
DEA:SMA(DIFF,7,1);
MACD:(DIFF-DEA)*2,COLORSTICK;
STICKLINE(MACD>=0,0,MACD,6,0),colorFF;
STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,6,1),colorFF;
STICKLINE(MACD<0,0,MACD,6,0),colorFFFF00;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),0,MACD,6,1),colorFFFF00;
差:=DEA-DIFF;
{www.tou18.cn 投股票网_飞狐股票指标公式}
面积:=IF(MACD<0,SUM(MACD,BARSLAST(差<0)),0);
A1:=IF(MACD<0,BARSLAST(CROSS(DIFF,DEA)),0);
前次面积:=REF(面积,A1+1);
A2:=IF((面积<0 AND ABS(面积)<ABS(前次面积)),1,0);
XG:=count(MACD>0,55)>=34 and cross(DIFF,DEA) and REF(A2,1);
DRAWTEXT(XG,0,'★'),LINETHICK3,COLOR00FFFF;
投股票 网 www .tou18.cn
股市公式下载推荐