问题补充说明:箱体买卖指标
送你一个通达信的吧,看看合适不.图片演示在源码下面网址里
{N:3,3360问答0,10}
【箱顶】:PEAK(CLOSE,N先胞施站,1)*0.98;
【箱底】:TROUGH(C移合专心贵营敌他利互行LOSE,N,1)*1.02适旧装雷在种读观;
【箱高】:100*(【解象毫箱顶】-【箱底】)/【马所乱够谁握孔婷倍向仍箱底】,NODRAW;
月三集征补指【中线】:(【箱顶】+【箱底】)/2;
DRAWBAND(【中线】,RGB(255,234,1无54),【箱底】,RGB(255,234,15除念功约游部预木4));
DRAWBAN雷判海围亮同帝放D(【中线】,RGB(109,187,129),【箱顶】,RGB(109,187,129));
DRAWKL满INE(HIGH,O互杂拉响益赵PEN,LOW,CLOSE);
N1:=7;
LC:=REF(CLOSE,1);
X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW,LINETHICK1;
魔鬼:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X散映临容以之和护,N1),X,1),COLOR00FF00;
魔王:=DRAWLINE(X>=HHV(X,N1门纸律伤),X,X<=LLV(X,N1),1,X),COLOR00FF00;
T核谓训城运J0:=X=魔王;
TJ1:=X=魔鬼;
TJ2序双旧待:=X<REF(X,1);
战图校袁书展粉术沉江TJ3:=X>REF(1,X);
JRS1:=DRAWICON(朝上活城植器己黄不TJ1ANDTJ2,X,1);
JRS2:=DRAWICON(TJ0ANDTJ3,X,2);
DRAWICON(FILTER(JRS1>0,1),L*0.97,1);
DRAWICON(FILTER(JRS2>0,1),H*1.02,2);
标签:箱体,公式,指标