源码
TRT:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=MA(TRT,5);
KX:HHV(H-2*ATR,10)COLORFF00FF;
DX:LLV(L+2*ATR,10)COLORGREEN;
源码
TRT:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=MA(TRT,5);
KX:HHV(H-2*ATR,10)COLORFF00FF;
DX:LLV(L+2*ATR,10)COLORGREEN;