您现在的位置:程序化交易>> 期货公式>> 文华财经>> 文华财经知识>>正文内容

请让买入在K线上提示 [文华财经]

  • 咨询内容:  AA05:MA(C,5),LINETHICK3,COLOR00CCFF;五日乖离率:=(C-AA05)/AA05*100;BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);加速度5:EMA((速度5-REF(速度5,1)),3),NODRAW;IF(BB05>30 AND AA05>REF(AA05,1), AA05,NULL),LINETHICK3,COLORRED;AA10:MA(C,10);AA20:=MA(C,20);BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;IF(BB05<0 AND AA05<REF(AA05,1), AA05,NULL),LINETHICK3,COLORGREEN;AA30:MA(C,30);三拾日乖离率:(C-AA30)/AA30*100,NODRAW;VAR1:=(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1);VAR2:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1);BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;IF(BB30>15 AND AA30>REF(AA30,1), AA30,NULL),LINETHICK3,COLORFF00FF;强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1)  AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1)  ,10) ;清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>AA30 OR O>AA30) AND AA05<REF(AA05,1)  AND 三拾日乖离率<REF(三拾日乖离率,1) AND AA10<REF(AA10,1),10);DRAWTEXT(加仓 ,LOW*0.98,'加仓',COLORRED;JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND AA10>REF(AA10,1) ;减仓:=FILTER(JC,10);MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.002,'减仓',COLORCYAN;DRAWTEXT(买入,LOW*0.998,'买入',COLORYELLOW;DRAWTEXT(清仓 ,HIGH*1.002,'清仓',COLORGREEN;DRAWTEXT(强势狙击,LOW*0.998,'强势狙击',COLORYELLOW;AMOUNT:=AVPRICE*V;VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;   

     

     来源:程序化99

  • 文华技术人员: ALT+U,设置K线图考虑所有附属指标即可

     

     来源: WWW.CXH99.COM

  • 文华客服:  老师,是要在K线上有买入的提示,

     

  • 网友回复:  只有满足买入条件才能标注的
    软件是按照您的编写来标注的,没有显示,说明不满足条件
    您需要从条件上来优化,或者切换下合约周期再看下

     

  • 网友回复:   RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;  K:=SMA(RSV,3,1);  D:=SMA(K,3,1);  DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);  DEA :=EMA(DIFF,9);  MACD:=2*(DIFF-DEA); 做多:=IF(K>D AND MACD>0 AND V>1,2,0),COLORRED; 做空:=IF(K<D AND MACD<0 AND V>1,-2,0),COLOR00FF00; 强洗:=IF(MACD>0 AND K<D AND V>1,1,0),COLOR0099FF; 弱升:=IF(MACD<0 AND K>D AND V>1,-1,0),COLORFFFF00;  STICKLINE(做多 AND C>=O,C,O,3,1),COLORRED;  STICKLINE(做多 AND C<O,C,O,3,0),COLOR990099;  STICKLINE(做多 AND C<O,C,O,1,0),COLORCC00CC;  STICKLINE(做多 AND C<O,C,O,0.3,0),COLORFF00FF;  STICKLINE(做多 AND C>=O,C,O,3,1),COLOR0000FF;  STICKLINE(做多 AND C>=O,C,O,1.5,0),COLOR0000DD;  STICKLINE(做多 AND C>=O,C,O,0.4,0),COLOR0000FF;  //STICKLINE(做空 AND C>=O,L,H,0.1,0),COLOR0000FF;  STICKLINE(做空 AND C>=O,C,O,3,1),COLOR00FF00;  STICKLINE(做空 AND C<O,C,O,3,0),COLOR00FF00;  STICKLINE(做空 AND C<O,C,O,0.3,0),COLOR00FF00;  STICKLINE(做空 AND C<O,C,O,0.3,0),COLOR00FF00;  //STICKLINE(强洗 AND C>=O,L,H,0.1,0),COLOR0000FF;  STICKLINE(强洗 AND C>=O,C,O,3,1),COLORFFFFFF;  STICKLINE(强洗 AND C<O,C,O,3,0),COLOR999999;  STICKLINE(强洗 AND C<O,C,O,1,0),COLORCCCCCC;  STICKLINE(强洗 AND C<O,C,O,0.3,0),COLORFFFFFF;  STICKLINE(弱升 AND C>=O,C,O,3,1),COLOR00FFFF;  STICKLINE(弱升 AND C<O,C,O,3,0),COLOR009999;  STICKLINE(弱升 AND C<O,C,O,0.3,0),COLOR00FFFF; 昨天:=REF(CLOSE,1); 涨停:=IF(((((CLOSE - 昨天) * 100) /昨天 ) >= (10 - ((0.01 * 100) / 昨天))),1,0);  STICKLINE(涨停,H,((CLOSE + OPEN) / 2),2.2,0),COLOR00FFFF;  M5:MA(C,5),COLORWHITE,LINETHICK2;  IF(M5>REF(M5,1),M5,NULL),COLORRED,LINETHICK2;  IF(M5<REF(M5,1),M5,NULL),COLORGREEN,LINETHICK2;  RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;  K11:=SMA(RSV1,5,1);  D11:=SMA(K11,5,1);  J11:=3*K11-2*D11;  AA11:=EMA(J11,5);  AA22:=REF(AA11,1);  RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;  K22:=SMA(RSV2,3,1);  D22:=SMA(K22,3,1);  J22:=3*K22-2*D22;  BB11:=EMA(J22,5);  BB22:=REF(BB11,1);  DD:=AA11>AA22 AND BB11>BB22; 注意买入:=DD AND NOT(REF(DD,1)) AND (AA11<50 OR BB11<50); 注意卖出:=REF(DD,1)=1 AND NOT(DD);  DRAWICON(注意买入,L-0.018,9);  DRAWICON(注意卖出,H+0.018,10);  LC:=REF((O+H+L+2*C)/5,1);  RSI:=SMA(MAX(C-LC,0),7,1)/SMA(ABS(C-LC),7,1)*10; 卖:=CROSS(7.1,RSI) AND MA(V,10)>MA(V,5),COLORGREEN;  DRAWTEXT(注意卖出,H+0.020,'出',COLORGREEN;  DRAWTEXT(注意买入,L,'-----------------',COLORYELLOW,VALIGN0; 这个帮忙有买入提示

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  点击这里给我发消息或微信:cxhjy888 进行 有偿 编写!不贵!点击查看价格!


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容