联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

双降趋势线“羊羊一球版本”(双降画线主图 画线源码贴图通达信)

2015-10-13 9:45:11点击:
{双降画线主图}

L1:=LLVBARS(L,15);
L3:=LLVBARS(L,10);
H1:=FINDHIGHBARS(H,L1+1,10,1);
L2:=FINDLOWBARS(L,L1+1,20,1);
H2:=FINDHIGHBARS(H,L3+1,4,1);
T1:=BARSLAST(CURRBARSCOUNT=CONST(H1)+1);
T1H:=REF(H,T1);
T2:=BARSLAST(CURRBARSCOUNT=CONST(L2)+1);
T2L:=REF(L,T2);
DRAWLINE(CURRBARSCOUNT=CONST(H1)+1,H,CURRBARSCOUNT=CONST(H2)+1 AND H<T1H,H,1),COLORRED;
DRAWLINE(CURRBARSCOUNT=CONST(L2)+1,L,CURRBARSCOUNT=CONST(L1)+1 AND L<T2L AND T2>3,L,1),COLORRED;