通达信偷不到就抢主图指标公式

2023-08-23 07:58发布

N:=14;M:=1.5;TR1:=MAX(MAX((HIGH-LOW),A(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));UP:=(H+L)/2+MA(TR1,N)*M;DN:=(H+L)/2-MA(TR1,N)*M;L1:=REF(UP,BAAST(UP<=REF(UP,1)));:=LLV(UP,N*1.5);LL:=IF(L2!=REF(L2,1) AND L1LL,S1),0.5);A6:=BARSLAST(S2);B6:=BARSLAST(CROSS(HHV(DN,A6+1),C));BY:=CROSS(B6,A6);SL:=CROSS(A6,B6);偷抢:IF(B6>A6,HHV(DN,BARSLAST(BY)+1),LLV(UP,BARSLAST(SL)+1)),COLORGREEN,LINETHICK1;偷不到就抢:IF(C>=偷抢,偷抢,DRAWNULL),COLORRED,LINETHIC
 解锁全文需 1  财富值,免费注册即送20财富值!