AA:=CLOSE<OPEN;
BB:=CLOSE>OPEN;
CC:=CLOSE=OPEN;
VA1:=(H+L+C+L)/2;
VA2:=VA1-L;
VA3:=VA1-H;
VB1:=(H+L+C+H)/2;
VB2:=VB1-L;
VB3:=VB1-H;
VC1:=(H+L+C+C)/2;
VC2:=VC1-L;
VC3:=VC1-H;
1·当收盘价小于开盘价时,执行(最高价+最低价+收盘价+最低价)/2=数值
再用数值-最低价后画一条小的压力线,再接着用数值-最高价后画出一条支撑线
2·当收盘价大于开盘价时,执行(最高价+最低价+收盘价+最高价)/2=数值
再用数值-最低价后画一条小的压力线,再接着用数值-最高价后画出一条支撑线
3·当收盘价等于开盘价时,执行(最高价+最低价+收盘价+收盘价)/2=数值
再用数值-最低价后画一条小的压力线,再接着用数值-最高价后画出一条支撑线
以通达信为例画柱状线就可以了.代码如下:
STICKLINE(C<O,(H+C+2*L)/2-L,(H+C+2*L)/2-L,4,0)COLORGREEN;
STICKLINE(C<O,(H+C+2*L)/2-H,(H+C+2*L)/2-H,4,0)COLORRED;
STICKLINE(C>O,(2*H+C+L)/2-L,(2*H+C+L)/2-L,4,0)COLORGREEN;
STICKLINE(C>O,(2*H+C+L)/2-H,(2*H+C+L)/2-H,4,0)COLORRED;
STICKLINE(C=O,(H+2*C+L)/2-L,(H+2*C+L)/2-L,4,0)COLORGREEN;
STICKLINE(C=O,(H+2*C+L)/2-H,(H+2*C+L)/2-H,4,0)COLORRED;
我只是想看下股价的变动情况
手动也能做,就是有公式比较方便
请求高手大师把这个通达信公式修改成东方财富通能使用!谢谢!
1.DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;AA:=CROSS(DIF,DEA)AND DEA>O;BB:=BARSLAST(CROSS(DEA,DIF)) AND DEA>0;CC:=REF(BARSLAST(CROSS(DIF,O))2.A7:=C-REF(C,1);A8.=100*EMA(EMA(A7,6),6)\/EMA(EMA(ABS(A7),6),6);SHORT...
涨停板后剃量下跌Cci负100一下,选股公式?
涨停板后剃量下跌Cci负100一下选股公式如下:N:=3;{N自己设置天数}TYP:=(HIGH+LOW+CLOSE)\/3;CCI:=(TYP-MA(TYP,14))\/(0.015*AVEDEV(TYP,14));XG2:REF(BETWEEN(CCI,-200,-300),N) AND CROSS(CCI,-100);