以下是通达信和大智慧持股暴涨副图指标公式(无源码的请下载附件导入)
H1:EMA(SLOPE(CLOSE,34)*20+CLOSE,75),COLORYELLOW;
H2:EMA(CLOSE,8),COLORWHITE;
VAR1:=H2-H1;
STICKLINE(VAR1>=0,H2,H1,0.5,0),COLORRED;{小红柱}
STICKLINE(VAR1<0,H2,H1,0.5,0), COLORGREEN;{小绿柱}
LIFELINE:MA(CLOSE,26),COLORRED,LINETHICK3;
STICKLINE(C>=LIFELINE AND C>=O,C,O,3,0),COLORRED;{大红柱}
STICKLINE(C>=LIFELINE AND C>=O,H,L,0,0),COLORRED;{细红柱}
74555765.jpg
|