通达信机构操盘趋势 源码

VAR1:=EMA(CLOSE,7);
VAR2:=EMA(CLOSE,13);
L3:EMA(CLOSE,18);
VAR3:=EMA(CLOSE,34);
M1:EMA(EMA(EMA(L3,1),1),1),COLORGREEN,LINETHICK3;
IF(M1>=REF(M1,1),M1,DRAWNULL),COLORRED,LINETHICK3;
VAR4:=MAX(VAR1,VAR2);
VAR5:=MAX(VAR4,L3);
VAR6:=MAX(VAR5,VAR3);
VAR7:=MIN(VAR1,VAR2);
VAR8:=MIN(VAR7,L3);
VAR9:=MIN(VAR8,VAR3);
VAR10:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR11:=MA(VAR10,9);
VAR12:=IF(CROSS(VAR10,VAR11),1,0);
VAR13:=IF(REF(VAR10,1)<REF(VAR11,1) AND REF(VAR10,2)<REF(VAR11,2) AND REF(VAR10,3)<REF(VAR11,3) AND REF(VAR10,4)<REF(VAR11,4) AND REF(VAR10,5)<REF(VAR11,5) AND REF(VAR10,6)<REF(VAR11,6) AND REF(VAR10,7)<REF(VAR11,7) AND REF(VAR10,8)<REF(VAR11,8) AND REF(VAR10,8)<REF(VAR11,8) AND REF(VAR10,9)<REF(VAR11,9) AND REF(VAR10,10)<REF(VAR11,10),1,0);
VAR14:=IF(REF(VAR10,1)>0 AND REF(VAR10,2)>0 AND REF(VAR10,3)>0 AND REF(VAR10,4)>0 AND REF(VAR10,5)>0 AND REF(VAR10,6)>0 AND REF(VAR10,7)>0 AND REF(VAR10,8)>0 AND REF(VAR10,9)>0 AND REF(VAR10,10)>0,1,0);
VAR15:=IF((REF(VAR6,1)-REF(VAR9,1))/((REF(CLOSE,1)+REF(OPEN,1))/2)<0.1 AND (REF(VAR6,2)-REF(VAR9,2))/((REF(CLOSE,2)+REF(OPEN,2))/2)<0.1 AND (REF(VAR6,3)-REF(VAR9,3))/((REF(CLOSE,3)+REF(OPEN,3))/2)<0.1,1,0);
VAR16:=IF(VAR12+VAR13+VAR14+VAR15=4,1,0);
VAR17:=IF(DATE<=1991230,1,0);
VAR18:=VAR16=1 AND VAR17=1;
 {股票指标网}
VAR19:=IF(FINANCE(7)<2000000000,1,0);
DRAWICON(CLOSE>OPEN AND CLOSE>VAR6 AND LOW<VAR9 AND DATE<=1991230 AND FILTER(CLOSE>OPEN AND CLOSE>VAR6 AND LOW<VAR9 AND DATE<=1991230,20),LOW,1),COLORWHITE;
DRAWICON(VAR16=1 AND VAR17=1,LOW,1);
DRAWICON(CLOSE>OPEN AND HIGH>VAR6 AND LOW<VAR9 AND VAR10>VAR11 AND DATE<=1991230,LOW,1);
DRAWICON(CLOSE!=OPEN AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND OPEN>REF(CLOSE,1) AND CLOSE>REF(HIGH,1) AND CLOSE>REF(HIGH,2) AND CLOSE>REF(HIGH,3) AND CLOSE>REF(HIGH,4) AND CLOSE>REF(HIGH,5) AND (CLOSE+OPEN)*0.5>REF(HIGH,1) AND OPEN-REF(CLOSE,1)>0.3*(REF(HIGH,1)-REF(LOW,1)) AND FILTER(CLOSE!=OPEN AND OPEN>REF(CLOSE,1) AND CLOSE>REF(HIGH,1) AND CLOSE>REF(HIGH,2) AND CLOSE>REF(HIGH,3) AND CLOSE>REF(HIGH,4) AND CLOSE>REF(HIGH,5) AND (CLOSE+OPEN)*0.5>REF(HIGH,1) AND OPEN-REF(CLOSE,1)>0.3*(REF(HIGH,1)-REF(LOW,1)),10) AND DATE<=1991230,OPEN,7);
VAR20:=BACKSET(REF(CLOSE,7)=HHV(CLOSE,13),8);
VAR21:=CROSS(VAR20,0.9);
VAR22:=BACKSET(REF(CLOSE,7)=LLV(CLOSE,13),8);
VAR23:=CROSS(VAR22,0.9);
压力:REF(CLOSE,BARSLAST(VAR21)),POINTDOT,COLORWHITE;
STICKLINE(CLOSE,REF(CLOSE,BARSLAST(VAR21)),REF(CLOSE,BARSLAST(VAR21)),5,0),COLORWHITE;
支撑:REF(CLOSE,BARSLAST(VAR23)),POINTDOT,COLORYELLOW;
STICKLINE(CLOSE,REF(CLOSE,BARSLAST(VAR23)),REF(CLOSE,BARSLAST(VAR23)),5,0),COLORYELLOW;
DRAWICON(CLOSE>OPEN AND CLOSE>压力 AND LOW<压力,LOW,1);


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

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

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