以下是大智慧大盘见底指标大盘附图源码说明
大盘见底
x:=BARPOS-hhv(if(DISPSTATUS=1,BARPOS,0),0)+1;
hh:=hhv(h,x);
ll:=llv(l,x);
hl:=hh-ll;
a80:=.809*hl+ll;a61:=.618*hl+ll;a38:=.382*hl+ll;
a19:=.191*hl+ll;
a5:=.5*hl+ll;
DRAWTEXTREL(0,0,’最高 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄’
),COLORYELLOW;
DRAWTEXTREL(0,900+76,’最低…………………………………………………………………………………………………………………………………………………………..’),color00ff00;
DRAWTEXTREL(0,0.50*(900+76),’0.5……………………………………………………………………………………………………………………………………………………..’),color0099ff;
DRAWTEXTREL(0,0.191*(900+76),’0.809…………………………………………………………………………………………………………………………………………………..’),colorred;
DRAWTEXTREL(0,0.382*(900+76),’0.618…………………………………………………………………………………………………………………………………………………..’),colorred;
DRAWTEXTREL(0,0.618*(900+76),’0.382…………………………………………………………………………………………………………………………………………………..’),colorred;
DRAWTEXTREL(0,0.809*(900+76),’0.191…………………………………………………………………………………………………………………………………………………..’),colorred;
a:=MA(VOL,233);
大盘见底指标:a/100000000,LINETHICK2;
评论(0)