编写条件:
编写方法:
网友求助:
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
macd:=2*(DIFF-DEA);
绿柱背离:=L=LLV(L,30)AND MacD>REF(LLV(MACD,30),1) AND MACD<0;
价日内新低:=COUNT(L=LLV(L,50),1);
流通盘:=(CAPITAL/100)/10000<20;
盈利现金流:=FINANCE(33)>0 AND FINANCE(11)/FINANCE(15)>1;
绿柱缩短:=MACD.MACD>REF(MACD.MACD,1) AND REF(MACD.MACD,1)<REF(MACD.MACD,2) AND MACD.MACD<=0;
XG1:绿柱背离 AND 价日内新低 AND 流通盘 AND 盈利现金流 AND 绿柱缩短 AND C<30;
DEA:=EMA(DIFF,9);
macd:=2*(DIFF-DEA);
绿柱背离:=L=LLV(L,30)AND MacD>REF(LLV(MACD,30),1) AND MACD<0;
价日内新低:=COUNT(L=LLV(L,50),1);
流通盘:=(CAPITAL/100)/10000<20;
盈利现金流:=FINANCE(33)>0 AND FINANCE(11)/FINANCE(15)>1;
绿柱缩短:=MACD.MACD>REF(MACD.MACD,1) AND REF(MACD.MACD,1)<REF(MACD.MACD,2) AND MACD.MACD<=0;
XG1:绿柱背离 AND 价日内新低 AND 流通盘 AND 盈利现金流 AND 绿柱缩短 AND C<30;
解答如下:
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
绿柱背离:=LOW=LLV(LOW,30)AND MACD>REF(LLV(MACD,30),1) AND MACD<0;
价日内新低:=COUNT(LOW=LLV(LOW,50),1);
流通盘:=(CAPITAL/100)/10000<20;
盈利现金流:=FINANCE(33)>0 AND FINANCE(11)/FINANCE(15)>1;
绿柱缩短:=MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND MACD<=0;
XG1:绿柱背离 AND 价日内新低 AND 盈利现金流 AND 流通盘 AND 绿柱缩短 AND CLOSE<30;
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
绿柱背离:=LOW=LLV(LOW,30)AND MACD>REF(LLV(MACD,30),1) AND MACD<0;
价日内新低:=COUNT(LOW=LLV(LOW,50),1);
流通盘:=(CAPITAL/100)/10000<20;
盈利现金流:=FINANCE(33)>0 AND FINANCE(11)/FINANCE(15)>1;
绿柱缩短:=MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND MACD<=0;
XG1:绿柱背离 AND 价日内新低 AND 盈利现金流 AND 流通盘 AND 绿柱缩短 AND CLOSE<30;