通达信美化顶底多空指标公式

2023-02-22 06:58发布

:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));DRAWBAND(短期,RGB(,0,250),0,RGB(0,0,0));DRAWBAND(中期,RGB(0,250,250),0,RGB(0,0,0));DRAWBAND(中长期,RGB(250,250,0),0,RGB(0,0,0));DRAWBAND(长期,RGB(250,0,0),0,RGB(0,0,0));STICKLINE(短期>=90,100,105,1,0),COLORFF00FF;STICKLINE(短期<=10,0,-5,1,0),COLORFF00FF;STICKLINE(中期>=90,105,110,1,0),COLORFFFF00;STICKLINE(中期<=10,-5,-10,1,0),COLORFFFF00;
 解锁全文需 1  财富值,免费注册即送20财富值!