阳K线实体底部高于或等于前一日阳K线实体上部做成选
2020/1/22 19:20:49
公式编写说明:
求老师把乖离K线指标中K线实体底部高于或等于前一日K线实体上部做成选股公式,万分感射.以下有三个指标意思差不多,笫三个指标差了些,能够做出笫一个指标或笫二个指标是最好,如果笫一,二个指标做不出,那就做笫三个指标也是好的,望各路大神,老师在百忙之中把这个选股公式做出来,给我们开开眼界,不吝赐教.1:乖离K线 HH:=H-MA((C+O+H+L)/4,5);OO:=O-MA((C+O+H+L)/4,5);LL:=L-MA((C+O+H+L)/4,5);CC:=C-MA((C+O+H+L)/4,5);KK:DRAWKLINE(HH,OO,LL,CC);2:乖离K线 GH:=H-MA((C+O+H+L)/4,5);GO:=O-MA((C+O+H+L)/4,5);GL:=L-MA((C+O+H+L)/4,5);GC:=C-MA((C+O+H+L)/4,5);STICKLINE(GC>=GO,GL,GH,0.00001,0),COLORRED; STICKLINE(GC>GO,GO,GC,2.5,0),COLORRED;STICKLINE(GC>GO,GO,GC,0.6,0),COLORCC66FF;STICKLINE(GC<GO,GO,GC,2.5,0),COLORFF6600;STICKLINE(GC<GO,GO,GC,0.6,0),COLORFF9900;STICKLINE(GC<GO,GL,GH,0.00001,0),COLORFF9900;KK:=DRAWKLINE(GH,GO,GL,GC);3:乖离率K线n 1 100 30 m 1 100 5BIAS :(CLOSE-MA(CLOSE,N))/MA(CLOSE,N)*100;BIASMA :MA(BIAS,M);AMV:=SMA(VOL,5,1);【最高】:BIAS,LINETHICK2;【最低】:BIAS,LINETHICK2;【收盘】:BIAS,LINETHICK2;【开盘】:REF(【收盘】,1),LINETHICK2;STICKLINE(【收盘】>【开盘】,【最高】,【最低】,0,0),COLOR0000FF;STICKLINE(【收盘】>【开盘】,【收盘】,【开盘】,3,0),COLOR0000FF;STICKLINE(【收盘】<【开盘】,【收盘】,【开盘】,3,0),COLOR00FF00;STICKLINE(【收盘】<【开盘】,【最高】,【最低】,0,0),COLOR00FF00;阳
公式源码回答:
GO:=O-MA((C+O+H+L)/4,5);
GC:=C-MA((C+O+H+L)/4,5);
A:=GO>REF(GC,1) AND GO<GC AND REF(GO<GC,1);
B:=GO>REF(GO,1) AND GO<GC AND REF(GO>GC,1);
A OR B;
投股票 网 www.tou18.c n
股市公式下载推荐