TS2/Lua version
viewtopic.php?f=17&t=2529Indicator for calculating the candle formed by the last N periods:
Open = Open price N periods ago
Close = Close price current period
High = Higher price of the last N periods
Low = Lower price of the last N periods