趋势动态思路研究之【蜻蜓点水】反弹选股和副图信号源码 附图



ZT:=C/REF(C,1)>=1.092 AND C=H;
BOND_V:=100*(ABS(MA(C,5)/MA(C,10)-1)+ABS(MA(C,5)/MA(C,20)-1))/2;{粘合度}



TJ0:=C>REF(C,1) OR C>O;


{RSI短线5日拐头向上}
LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RSI13:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
TJ1:= RSI5>REF(RSI5,1) AND BARSLAST(RSI5=LLV(RSI5,5))<=3;

{MA5在MA20之上,拐头向上,MA20向上}
TJ2_1:=MA(C,5)>MA(C,20) AND REF(MA(C,5),1)=LLV(MA(C,5),4) AND MA(C,5)=HHV(MA(C,5),3) AND MA(C,5)>MA(C,20);
{或者MA5上穿MA10}
TJ2_2:=CROSS(MA(C,5),MA(C,10)) AND MA(C,5)>MA(C,20);
{或者MA10在MA20之上,拐头向上}
TJ2_3:=MA(C,10)>MA(C,20) AND REF(MA(C,10),1)=LLV(MA(C,10),4) AND MA(C,10)=HHV(MA(C,10),3) AND MA(C,5)>REF(MA(C,5),1);
{或者MA5\MA10\MA20多头且乖离小}
TJ2_4:=MA(C,5)>MA(C,10) AND MA(C,5)>MA(C,20) AND BOND_V<=2;

TJ2:=TJ2_1 OR TJ2_2 OR TJ2_3 OR TJ2_4;

{MA20向上}
TJ3:=MA(C,20)>REF(MA(C,20),1);


{五日内最低量在三日内,且今比最低量那天放量1.5倍以上,或者突破五日均量}
TJ4_1T:=REF(BARSLAST(V=LLV(V,5)),1)+1;
TJ4_1:=TJ4_1T<=10 AND (V/REF(V,TJ4_1T)>=1.5 OR CROSS(V,MA(V,5)) );
{五日或十日均量线上升,证明在堆量}
TJ4_2:=MA(V,10)>=REF(MA(V,10),1) OR MA(V,5)>=REF(MA(V,5),1);

TJ4_3:=V/REF(HHV(V,60),1)>2.5;
TJ4:=(TJ4_1 AND TJ4_2) OR TJ4_3;


BIAS5:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
TJ5_T:=REF(BARSLAST(BIAS5=LLV(BIAS5,5)),1)+1;
TJ5:=TJ5_T<=3 AND REF(BIAS5,TJ5_T)<=1 AND BIAS5<=2;


VAS:=AMO/V/100;
MAP:=EMA(VAS,20);
DIF:=EMA(ABS(100*C/MAP-100),90);
LL:=MAP*(100-DIF)/100;
LL2:=MAP*(100-DIF*2)/100;
LL3:=MAP*(100-DIF*3)/100;
TJ6:=(L<=LL AND C>=LL) OR (L<=LL2 AND H>=LL2) OR (L<=LL3 AND C>=LL3);

{选股基础信号}
XH: TJ0 AND TJ1 AND TJ2 AND TJ3 AND TJ4 AND TJ5 AND TJ6;



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

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

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

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