在买入卖出指标中出现“三平底翻红”改成选股_飞狐

能否将这一指标做成选股公式和预警公式

能否将这一指标做成选股公式和预警公式

【股票资源馆】东方财富L2决策破解版,东方财富网,东方财富投资大师破解版,东方财富先锋版破解,东方财富领航版破解,同花顺远航版破解,同花顺财富先锋破解,同花顺L2破解。

编写条件:

{MA5:MA(C,5),COLORYELLOW; MA10:MA(C,10),COLORFF00FF; MA15:MA(C,15),COLOR00FF00; MA30:MA(C,30),COLORFFCCCC;} R1:=MA(CLOSE,1); R2:=MA(CLOSE,3); R3:=(MA(R2,1)*1); R4:=(MA(R2,3)*1); DRAWTEXT(CROSS(R3,R4),(LOW-0.1),'B'),COLORBDB76B; X1:=(C+L+H)/3; A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1); LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'S'),COLORGREEN; 双线持币:HHV(MA(HIGH,(3)),2),COLOR00FF00; 单线持股:LLV(MA(HIGH,(3)),1),COLOR0000FF; B1:=REF(C,1);B2:=REF(C,2); SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C

REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C

=1 AND SS=0,B1,C,3,0),COLORRED; STICKLINE(SS=-1 OR SM<=-1 AND SS=0,B1,C,3,0),COLORFFCC66; STICKLINE(SS=2,B2,C,3,0),COLORRED; STICKLINE(SS=-2,B2,C,3,0),COLORFFCC66; STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,3,0),COLORRED; STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,3,0),COLORFFCC66; AA:=CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)

=REF(CLOSE,5)),IF(REF(CLOSE,5)

REF(CLOSE,3) AND IF(REF(CLOSE,3)>REF(CLOSE,4),1,IF(REF(CLOSE,4)>REF(CLOSE,5),REF(CLOSE,1)>REF(CLOSE,4) OR (REF(CLOSE,2)>REF(CLOSE,4) AND REF(CLOSE,3)<=REF(CLOSE,5)),IF(REF(CLOSE,5)>REF(CLOSE,6),1,REF(CLOSE,6)>REF(CLOSE,7)))); DRAWICON(AA AND CLOSE>REF(OPEN,2),0.99*LOW,1); DRAWICON(BB AND CLOSE

REF(OPEN,2),LOW*0.98,'三平底翻红'),COLORYELLOW; DRAWTEXT(BB AND CLOSE

LOW+0.04,4,0); VAR110:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3); VAR120:=ZIG(3,6)

=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3); VAR130:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3); VAR140:=ZIG(3,22)

=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3); VAR150:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3); VAR160:=ZIG(3,51)

=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3); VAR170:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3); VAR180:=ZIG(3,72)

=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3); VAR190:=EMA(CLOSE,2)-EMA(CLOSE,150); 买1:=VAR100; 买2:=(VAR110+VAR130+VAR150+VAR170); 卖1:=(VAR120+VAR140+VAR160+VAR180); DRAWTEXT(买1>0 OR 买2>0,LOW*0.95,'←买入'),COLORRED; DRAWTEXT(卖1>0,HIGH*1.05,'←卖出'),COLORGREEN; 当出现三平底翻红的时候选出来









编写方法:

 AA:=C>REF(C,1) AND REF(C,1)>REF(C,2) AND REF(C,1)<REF(C,3) AND IF(REF(C,3)<REF(C,4),1,IF(REF(C,4)<REF(C,5),REF(C,1)<REF(C,4) OR (REF(C,2)<REF(C,4) AND REF(C,3)>=REF(C,5)),IF(REF(C,5)<REF(C,6),1,REF(C,6)<REF(C,7))));

AA AND C>REF(O,2);
 
 

{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}股票公式网

把macd指标改成能变色的选股公式

把macd指标改成能变色的选股公式

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu