×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Mc tl new dt - MultiCharts
Open main menu

Mc tl new dt

Revision as of 16:19, 19 December 2013 by Andrew MultiCharts (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Similar to TL New Dt with a difference in some case. The TL New Dt behavior was changed for backward compatibility with TradeStation. In order to keep the original MC behavior (that was different from TS), the MC_TL_New_DT was added.

Example demonstrating the difference:
Var: TL_ID(-1);
if (CurrentBar = 10)
 then begin
 TL_ID = TL_New(Date, Time, High, Date, Time, Low);
end;
if (CurrentBar = 11)
 then begin
 TL_SetEnd(TL_ID, Date, Time, Low);
end;

TL_New_DT (both MC and TS) behavior: Trend line is plotted from High of bar # 10 to Low of bar # 11.

MC_TL_New_DT behavior: Trend line is plotted from Low of bar # 10 to Low of bar # 11.