龙听期货论坛's Archiver

龙听 发表于 2019-1-3 11:20

大智慧大盘见底指标[大智慧公式]

[code]
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;
[/code]

页: [1]