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;
很简单,其实就是一个233日均量线指标,关键是用法。
指标用法:(高点-低点)/2+低点=下一次大盘底部值
|