The weighted close isn't an option for an input yet on TV so here is my contribution. It gives more weight to the close prices and I have included a signal line to look for buy and sell signals. Buy when the indicator goes over its signal line and sell when it falls below it.
This was a special request so let me know what other scripts you would like to see me...
// Best used as an exit indicator at default settings.
// Also doing well in entering positions by using TEMA(14) for REX and SMA(14) as signal.
// You need to tune it yourself according to your trading style.
// Use at your own risk.
//
// Vitelot/Yanez/Vts Oct 2019
//