通达信机构专用副图源码

VAR2L:=LLV(LOW,72);
VAR3L:=HHV(HIGH,115);
VAR4L:= EMA((CLOSE-VAR2L)/(VAR3L-VAR2L)*100,2);
趋势:VAR4L,COLOR338800,LINETHICK2;
VAR2:=1/WINNER(CLOSE);
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=3*VAR9-2*SMA(VAR9,15,1);
VARC:=100-VARB;
仓位:(100-VARA),DOTLINE,COLORGRAY,LINETHICK1;
V10:=PEAKBARS(3,15,1)<10;
V12:=IF(V10=1,50,0);
头部:= IF(V12=50,100,0);
卖出:=IF(头部>REF(头部,1),50,0);
STICKLINE(卖出>0,0,50,5,0),COLORGREEN,LINETHICK5;
DRAWTEXT(卖出>0,60,'清仓'),COLORGREEN;
V9:=TROUGHBARS(3,15,1)<10;
V11:=IF(V9=1,50,0);
底部:= IF(V11=50,50,0);
买入:=IF( 底部>REF(底部,1),40,0);
STICKLINE(买入>0,0,40,5,0),COLOR0099FF,LINETHICK5;
DRAWTEXT(买入>0,50,'抄底'),COLOR0099FF;
VAR27:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR27-REF(VAR27,1))/REF(VAR27,1)*1000;
STICKLINE(控盘<0,控盘,0,1,0),COLORBLUE,LINETHICK1;
超跌:IF(控盘<0,控盘,0),COLORBLUE,NODRAW;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED,LINETHICK3;
拉高:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;
VAR28:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR28>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,0),COLORRED,LINETHICK3;
诱多:=IF(VAR28>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORRED,NODRAW;
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORGREEN,LINETHICK3;
出货:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLORGREEN,NODRAW;
VAR31:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR32:=SMA(ABS(LOW-VAR31),26,1)/SMA(MAX(LOW-VAR31,0),26,1);
VAR33:=EMA(VAR32,10);
VAR34:=LLV(LOW,33);
VAR35:=EMA(IF(LOW<=VAR34,VAR33,0),3);
低吸:IF(VAR35>REF(VAR35,1),VAR35,0),COLORMAGENTA,NODRAW;
STICKLINE(VAR35>REF(VAR35,1),0,VAR35,1,0 ),COLORMAGENTA,LINETHICK3;
洗盘:IF(VAR35<REF(VAR35,1),VAR35,0),COLORWHITE,NODRAW;
STICKLINE(VAR35<REF(VAR35,1),0,VAR35,1,0),COLORWHITE,LINETHICK3;
买入1:=ZIG(3,10)>REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
卖出1:=ZIG(3,10)<REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
DRAWICON(买入1,-1,1);
DRAWICON(卖出1,-1,2);






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

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

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