同花顺短线分形(源码副图 贴图)
-
相关简介:短线分形 ho:=HREF(H,1) AND HREF(H,2) AND H=REFX(HIGH,1) AND IF(H=REFX(HIGH,2),HREFX(HIGH,3),HREFX(HIGH,2)); lo:=LREF(L,1) AND LREF(L,2) AND L=REFX(LOW,1) AND IF(L=REFX(LOW,2),LREFX(LOW,3),LREFX(LOW,2)); fxh:=CROSS(ho,0.9); fxl:=CROSS(lo,0.9); hh:=REF(H,B
-
文章来源:股海网作者:股海网发布时间:2016-12-06浏览次数:
短线分形
ho:=H>REF(H,1) AND H>REF(H,2) AND H>=REFX(&HIGH,1) AND IF(H=REFX(&HIGH,2),H>REFX(&HIGH,3),H>REFX(&HIGH,2));
lo:=L<REF(L,1) AND L<REF(L,2) AND L<=REFX(&LOW,1) AND IF(L=REFX(&LOW,2),L<REFX(&LOW,3),L<REFX(&LOW,2));
fxh:=CROSS(ho,0.9);
fxl:=CROSS(lo,0.9);
hh:=REF(H,BARSLAST(fxh));
ll:=REF(L,BARSLAST(fxl));
STICKLINE(BARSLAST(Lo)>BARSLAST(Ho),hh,hh,5,0),LINETHICK1,colorgreen;
STICKLINE(BARSLAST(Lo)<BARSLAST(Ho),ll,ll,5,0),LINETHICK1,colormagenta;