LUA Original: viewtopic.php?f=17&t=2635
LUA to MT4 representation of the following formulas:
H4T line=maximum price for current day+ATR,
L4T line=minimum price for current day-ATR,
H4 line=maximum price for previous day+ATR,
L4 line=minimum price for previous day-ATR,
Where ATR=ATR with ATRPeriod for previous day.
There have also been incorporated the previous days ATR levels to help the trader visualize how the distint levels have been changing each day.