大智慧黄色买点副图指标
源码
Var0:=EMA((((H+C)/2+L+(C+L)/2)/3-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,55),2))/
A:=(C-REF(C,1))/REF(C,1)*100;
A1:=BARSLAST( A>3);
A2:=IF(A1>0,1,0);
O1:=IF(A2=1 AND A1=1,O,REF(O,A1-1));
H1:=IF(A2=1 AND A1=1,H,HHV(H,A1));
L1:=IF(A2=1 AND A1=1,L,LLV(L,A1));
C1:=IF(A2=1 AND A1=1,C,C);
STICKLINE( A2=1 AND C1>O1,O1 ,C1 ,8 ,0 ),COLORRED;
STICKLINE( A2=1 AND C1>O1,H1 ,L1 ,1 ,0 ),COLORRED;
STICKLINE( A2=0 AND Var0<50,O ,C ,8 ,0 ),COLOR00FFFF;
STICKLINE( A2=0 AND Var0<50,H ,L ,1 ,0 ),COLOR00FFFF;