6K看盘”西北瑶风版“(主图 源码 贴图 通达信)
思路是:取开盘后的六根五分钟K线,前三根独立,后三根合并一根,假如前面三根K线是阳线,后面三根合并后也是阳线,那么个股在当天趋势则判为向上。三根阳线一根阴线,趋势也预判为阳线。指标主要用来配合其他的指标,起参考作用。
通达信五分钟周期专用
{五分钟看盘主图}
T1:=IF(PERIOD=1,BARSLAST(TIME2=095000),DRAWNULL);
T2:=IF(PERIOD=1,BARSLAST(TIME2=094500),DRAWNULL);
T3:=IF(PERIOD=1,BARSLAST(TIME2=100000),DRAWNULL);
C2:=REF(C,T2);
C3:=REF(C,T3);
ZF:=(C3-C2)/C2*100;
XF:=REFX(ZF,2);
HH:=HHV(H,3);
LL:=LLV(L,3);
XH:=REFX(HH,2);
XL:=REFX(LL,2);
XC:=REFX(C,2);
DRAWLINE(T1=0 AND O<XC,XH,T3=0 AND C>REF(O,T1),HH,0),DOTLINE,COLORMAGENTA;
DRAWLINE(T1=0 AND O>XC,XH,T3=0 AND C<REF(O,T1),HH,0),DOTLINE,COLORGREEN;
DRAWLINE(T1=0 AND O=XC,XH,T3=0 AND C=REF(O,T1),HH,0),DOTLINE,COLORWHITE;
DRAWLINE(T1=0 AND O<XC,XL,T3=0 AND C>REF(O,T1),LL,0),DOTLINE,COLORMAGENTA;
DRAWLINE(T1=0 AND O>XC,XL,T3=0 AND C<REF(O,T1),LL,0),DOTLINE,COLORGREEN;
DRAWLINE(T1=0 AND O=XC,XL,T3=0 AND C=REF(O,T1),LL,0),DOTLINE,COLORWHITE;
STICKLINE(T1=0 AND O<XC,XH,XL,0,-1),COLORMAGENTA;
STICKLINE(T3=0 AND C>REF(O,T1),HH,LL,0,-1),COLORMAGENTA;
STICKLINE(T1=0 AND O>XC,XH,XL,0,-1),COLORGREEN;
STICKLINE(T3=0 AND C<REF(O,T1),HH,LL,0,-1),COLORGREEN;
STICKLINE(T1=0 AND O=XC,XH,XL,0,-1),COLORWHITE;
STICKLINE(T3=0 AND C=REF(O,T1),HH,LL,0,-1),COLORWHITE;
DRAWTEXT(T1=0,XH*1.005,VARCAT(VARCAT('三K涨跌幅:',VAR2STR(XF,2)),'%'))COLORYELLOW;
- 上一篇:资金流向公式 2015/8/21
- 下一篇:很不错的主图 非常全面十分够牛的主图指标 全面够牛 2015/8/21