通达信精品主图:Ichimoku boll 主图指标

[复制链接]
查看17 | 回复0 | 2022-6-27 21:38:43 | 显示全部楼层 |阅读模式

 参数数量: 3

参数1: K, 最小: 1, 最大: 100, 缺省: 9
参数2: J, 最小: 1, 最大: 100, 缺省: 26
参数3: M, 最小: 1, 最大: 100, 缺省: 52
 
TENKAN0:=(HHV(H,K)+LLV(L,K))/2;
KIJUN0:=(HHV(H,J)+LLV(L,J))/2;
SENKOUA:(TENKAN0+KIJUN0)/2,COLORCYAN;
SENKOUB:(HHV(H,M)+LLV(L,M))/2,COLORWHITE;
TENKAN:REFX(TENKAN0,J-1),COLORRED,LINETHICK2;
KIJUN:REFX(KIJUN0,J-1),COLORYELLOW,LINETHICK2;
CHIKOU:REFX(CLOSE,2*J-2),COLORCYAN,NODRAW;
SENKOUAS:=REFX(SENKOUA,J-1),COLORCYAN,DOTLINE;
SENKOUBS:=REFX(SENKOUB,J-1),COLORWHITE,DOTLINE;
SENKOUAR:=REF(SENKOUA,J-1),COLORCYAN,DOTLINE;
SENKOUBR:=REF(SENKOUB,J-1),COLORWHITE,DOTLINE;
SENKOUA,COLORCYAN;
SENKOUB,COLORWHITE;
DRAWBAND(SENKOUA,RGB(165,56,56),SENKOUB,RGB(0,84,160));
N:=20;
MID:SMA(C,N,1),COLORYELLOW,NODRAW;
VART1:=POW((C-MID),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UPPER:REFX(MID+REF(2*VART3,1),J-1),COLORFF46FF;
LOWER:REFX(MID-REF(2*VART3,1),J-1),COLORFF46FF;
MIDX:REFX(MID,J-1),COLORFF46FF,LINETHICK2;
MIDX,COLORFF3E3E,DOTLINE;
TENKAN,COLORRED,LINETHICK2;
KIJUN,COLOR00EAEA,LINETHICK2;
CHIKOU,COLORBLUE,DOTLINE;
STICKLINE(CURRBARSCOUNT<=M-1,CONST(C),CONST(C),1.5,-1),COLOR00CC00;
A1R:=REFX(HIGH,J-1);
A2R:=REFX(OPEN,J-1);
A3R:=REFX(LOW,J-1);
A4R:=REFX(CLOSE,J-1);
DRAWKLINE(A1R,A2R,A3R,A4R);
DRAWICON(CURRBARSCOUNT=M-1,CONST(C),41);

201881410154259944.png

201881410154259944.png
 

201881410154956588.png

201881410154956588.png
 

201881410155573820.png

201881410155573820.png
 
 

201881410142241634.rar

2.65 KB, 下载次数: 0

售价: 6 金钱  [记录]  [购买]

201881410142241634.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则