源码
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,2);
XOPEN:=EMA((REF(OPEN,1)+REF(XCLOSE,1))/2,2);
TEMPG:=MAX(HIGH,XOPEN);
XHIGH:=EMA(MAX(TEMPG,XCLOSE),2);
TEMP:=MIN(LOW,XOPEN);
XLOW:=EMA(MIN(TEMP,XCLOSE),2);
O1:=IF(XOPEN
LL:=(6*L+5*REF(L,1)+4*REF(L,1)+3*REF(L,2)+2*REF(L,4)+REF(L,5))/21;
{TDX没有WMA函数,上面的写法代替}
{A1:=IF(C>REF(EXPMEMA(H,6),1),1,0);
A2:=IF(C
A1:=IF(C>REF(HH,1),1,0);
A2:=IF(C
A3:=A1+A2;
A4:=IF(A3=0,REF(A3,BARSLAST(NOT(A3=0))),A3);
转折线:IF(A4=-1,MA(HIGH,6),MA(LOW,6))LINETHICK2,COLORFFFFFF;