 | |  |  |
[大智慧] 大智慧震撼出击,新高新低指标公式(副图 源码)
【新高新低】
新高:c=hhv(c,200),linethick0;
新低:c=llv(c,200),linethick0;
差数:=selfdata('新高数')-selfdata('新低数');
差数,colorstick;
0,dotline,colorwhite;
40,dotline,coloryellow;
ema13:ema(差数,13),colorwhite,linethick1;
ema17:ema(差数,17),colorwhite,linethick1;
fillrgn(ema13,ema17,ema13>ema17,rgb(255,0,0),ema13<ema17,rgb(0,255,255));
drawtextabs(600,10,'新高数:'+selfdata('新高数')),coloryellow;
drawtextabs(600,30,'新低数:'+selfdata('新低数')),colorcyan;
|
| |  | |  |
|