请高手帮我编写一条操盘线在趋势线上方出现黄金坑的选股公式谢谢

预警:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),LINETHICK2,COLORGREEN;
操盘:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
趋势:EMA(操盘,25),LINETHICK2;
STICKLINE(操盘>LOW AND 操盘<HIGH,操盘,MIN(MIN(OPEN,CLOSE),操盘),4,0),COLORYELLOW;
STICKLINE(操盘>MIN(C,O) AND 操盘<MAX(C,O),操盘,MIN(OPEN,CLOSE),4,0),COLORYELLOW;
STICKLINE(操盘>HIGH,OPEN,CLOSE,4,0),COLORYELLOW;
STICKLINE(操盘>HIGH,HIGH,LOW,0,0),COLORYELLOW;
VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)==LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=操盘>HIGH AND 回调买 AND L<=操盘;
DRAWTEXT(XG,L,'▲买入'),COLORRED;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IFF(HIGH==LOW,4,HIGH-LOW);
QJ1:=IFF(CAPITAL==0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IFF(HIGH==LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IFF(CAPITAL==0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IFF(HIGH==LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IFF(CAPITAL==0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IFF(HIGH==LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IFF(CAPITAL==0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IFF(HIGH==LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IFF(CAPITAL==0,10000,10000),COLOR00AAAA,LINETHICK1;
V2:=SMA(IFF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=ISLASTBAR==1 AND C<REF(C,1);
DY2:=REF(V2,1)-DY;
XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<预警;
DRAWTEXT(XG2 AND L<操盘,L,'↖暴涨'),COLORRED;
黄金坑:IFF(LOW<操盘,1,0),NODRAW,COLORYELLOW;
买入:IFF(XG,1,0),NODRAW,COLORRED;
暴涨:IFF(XG2 AND L<操盘,1,0),NODRAW,COLORRED;

第1个回答  2017-04-10

你看下如下呼是不是你要找的公式

追问

是的

本回答被网友采纳

...成操盘线大于趋势线时出现黄金坑作为选股公式谢谢
操盘:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1;趋势:=EMA(操盘,25);黄金坑:=IF(LOW<操盘,1,0);X:黄金坑 AND 操盘>趋势;公式给你做了,但是要警告你:这个公式用了未来函数,调用了未来12天的走势,所以看似准确,实则坑人,最好别用。

伏击雷达主图抄盘线走平或向上选股公式如何编写
操盘:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;趋势:EMA(操盘,25),LINETHICK2;STICKLINE(操盘>LOW AND 操盘<HIGH,操盘,MIN(MIN(OPEN,CLOSE),操盘),4,0),COLORYELLOW;STICKLINE(操盘>MIN(C,O) AND 操盘<MAX(C,O),操盘,MIN(OPEN,CLOSE),...

刻线一阳一阴一阳一阴连续6天是什么意思_百度问一问
同花顺可以选出一阳一阴一阳三天的股票编写个选股公式就可以选了。Q2:请高手编写这条指标连续出现6天以上做为选股公式谢谢 操盘:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1;黄金坑:=LOW<操盘;连续:BARSLASTCOUNT(黄金坑)>=6;后面的“6”就是天数,你需要多少天可以...

相似回答