通达信回零即买指标公式和选股公式源码


0;
50;
获利:WINNER(C)*100,COLOR808000,LINETHICK1;
买二:=C/WINNER(C);
回零既买:IF(买二>940,-10,0);
STICKLINE(回零既买<=0 AND 回零既买< REF(-4.5,1),-10,0,6,0),COLORFF3333;
底部:= IF(1/WINNER(CLOSE)>100 AND ABS((COST(50)-CLOSE)/CLOSE*100)>(100-ABS(((CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*100+(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100+(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100)/3)),100,0), COLORSTICK,COLORRED;
大底:IF(REF(底部,1)>0 AND 底部=0,100,0),STICK, ,COLORRED,LINETHICK3;
DRAWTEXT(大底,50.2,'大底'),COLORWHITE,LINETHICK2;
DRAWTEXT( IF(CROSS(85, 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)),100,0),96,'逃'), COLORWHITE;
买入:IF(1/WINNER(CLOSE)>100 AND ABS((COST(50)-CLOSE)/CLOSE*100)>50 AND IF(1/WINNER(CLOSE)< REF(1/WINNER(CLOSE),1) AND REF(1/WINNER(CLOSE),1)>REF(1/WINNER(CLOSE),2),120,0),100,0),STICK,COLORRED;
DRAWTEXT(买入>0,90,'买50'), , COLORCCCCFF ,LINETHICK8;
买入A:IF(1/WINNER(CLOSE)>100 AND ABS((COST(50)-CLOSE)/CLOSE*100)>30 AND IF(1/WINNER(CLOSE)< REF(1/WINNER(CLOSE),1) AND REF(1/WINNER(CLOSE),1)>REF(1/WINNER(CLOSE),2),120,0),30,0),STICK,COLORRED,LINETHICK2;
DRAWTEXT(买入A>0,25,'买30'), , COLORYELLOW,LINETHICK3;
W:(EMA(CLOSE,1)+EMA(CLOSE,3)+EMA(CLOSE,5)+EMA(CLOSE,10)+EMA(CLOSE,13)+EMA(CLOSE,20)+EMA(CLOSE,30)+EMA(CLOSE,34)+EMA(CLOSE,55)+EMA(CLOSE,60)+EMA(CLOSE,90)+EMA(CLOSE,120)+EMA(CLOSE,250))/13,COLORYELLOW LINETHICK0;
VAR1:=REF(W,2);
短线: SMA(MAX(W-VAR1,0),7,1)/SMA(ABS(W-VAR1),7,1)*100, COLORCYAN;
车弩机: IF(短线< 12,30,0);
VAR2:=REF(W,1);
VAR3:=SMA(MAX(W-VAR2,0),7,1)/SMA(ABS(W-VAR2),7,1)*100;
弯弓: IF(VAR3< 12,30,0);
逢高派发区: STICKLINE(短线>85,短线+10,短线-10,1.5,0), COLORRED;
VAR1J:=CLOSE/(EMA(EMA((C+L+H)/3,3),26)*0.9)< 0.95 ;
放箭:IF(VAR1J,15,0),STICK,LINETHICK3,COLORRED;
DRAWTEXT(VAR1J ,8,'箭'),COLORF0F000;
VARE1:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1);
VARE2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1);
VARE3:=IF(VARE1>0.010, 0.900, 1) AND IF(VARE1>(-0.025), 1, 1.200);
VARE4:=VARE3*(VARE2-VARE1)*100;
VARE5:=SUM(VARE4, 10);
VARE6:=SMA(VARE5, 40, 1);
VARE7:=IF(CLOSE AND MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.0 AND CLOSE,88,0);
VARE8:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100< 10 AND CLOSE< 17 AND HIGH/CLOSE< 1.010 AND VARE7>0, 91, 0);
追击:IF(VARE8>90,30,0),STICK,LINETHICK3,COLORBLUE;
DRAWTEXT(VARE8>90,30,'追击'),COLORYELLOW;
IF(VAR1>5,IF(VAR1< 100,VAR1,VAR2-10),0), COLORSTICK;

买30选股公式如下 :

1/WINNER(CLOSE)>100 AND ABS((COST(50)-CLOSE)/CLOSE*100)>30 AND IF(1/WINNER(CLOSE)< REF(1/WINNER(CLOSE),1) AND REF(1/WINNER(CLOSE),1)>REF(1/WINNER(CLOSE),2),120,0);



未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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