福如泉涌老师的源码加入点限制源码

DRAWGBKLAST(CLOSE>0,STRIP(RGB(95,95,95),RGB(0,0,0),0));
 TODAY:="ddx.ddx"=0;{判断是否有正版数据}
买入单:=IF(TODAY,"DDEDATA@ORDER"(1),ORDER(1));
卖出单:=IF(TODAY,"DDEDATA@ORDER"(2),ORDER(2));
 {计算}
买入单数:买入单,PRECIS0,COLOR6600FF,LINETHICK0;
卖出单数:卖出单,PRECIS0,ColorABFF46,LINETHICK0;
单数差:卖出单数-买入单数,colorCyan,PRECIS0,LINETHICK0;{卖在买先}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 J:=3*K-2*D;
 AA05:MA(C,5),color0099cc;
五日乖离率:=(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),linethick0;
 STICKLINE(BB05>30 and AA05>ref(AA05,1), AA05,REF(AA05,1),8,1),colorcyan;
 AA10:MA(C,10);AA20:=MA(c,20);
 BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
 STICKLINE(BB05<0 and AA05<ref(AA05,1), AA05,REF(AA05,1),8,1),coloryellow;
 AA30:MA(C,30);
三拾日乖离率:(c-AA30)/AA30*100,linethick0;
 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;
 STICKLINE(BB30>15 and AA30>ref(AA30,1), AA30,REF(AA30,1),8,1),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(加仓 AND 单数差>50 AND J<78 ,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.02,'←减仓'),colorcyan;
 drawtext(买入 AND 单数差>50 AND J<78 ,low*0.98,'←买入'),coloryellow;
 drawtext(清仓 ,high*1.02,'←清仓'),colorgreen;
 drawtext(强势狙击 AND 单数差>50,LOW*0.98,'←强势狙击'),coloryellow;
 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;
 DRAWTEXT(MV>6 and l<=llv(l,10),l*0.95,'←异动'),colorcyan;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图