同花顺涨跌和量指标公式
2021/5/7 17:34:28
N:=10;
N1:=28;
C3:=VOL*(MAX((CLOSE-OPEN),(CLOSE-REF(CLOSE,1)))/MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW)));
XV:SUM(C3,N),colorblack;
XVN:EMA(XV,N),colormagenta;
XVN1:EMA(XV,N1),colorblue;
XVH:EMA(XV,N)+STD(XV,N),colormagenta;
XVH1:EMA(XV,N)+STD(XV,N)*2,colormagenta;
XVL:EMA(XV,N)-STD(XV,N),colorblue;
XVL1:EMA(XV,N)-STD(XV,N)*2,colorblue;
DRAWTEXT(XV>XVN,XVH1,'买'),colorred,ALIGN1,VALIGN1,FONTSIZE14;
DRAWTEXT(XVN>XV,XVH1,'卖'),colorblue,ALIGN1,VALIGN1,FONTSIZE14;
DRAWTEXT(CROSS(EVERY(XV<0,2),0.5),XV,'0↓'),colorblue,ALIGN1,VALIGN0,FONTSIZE14;
DRAWTEXT(CROSS(EVERY(XV>0,2),0.5),XV,'0↑'),colorred,ALIGN1,VALIGN0,FONTSIZE14;
看 股吧公式 www.k anguba.com
其它股票公式列表