Hi phoentzs.
Omitting the ‘UPDATEONCLOSE’ is a shortcut, and is the same as replacing it with ‘DEFAULT’.
The difference between them is, ‘when’ the data covered by the ‘TIMEFRAME’ is updated.
‘UPDATEONCLOSE’ – uses the close of the specified timeframe.
‘DEFAULT’ – uses the close of the ‘Chart Timeframe’ , I guess could be known as ‘TIMEFRAME(DEFAULT,DEFAULT)’.
Using the ‘DEFAULT’ option, updates the ‘TIMEFRAME’ values at a higher frequency since the ‘TIMEFRAME’s time value is, and has to be a multiple of the default/chart timeframe.
e.g. if [ , ] was an update and chart 1h
updateonclose-v-default
8h …….,…….,-v-,,,,,,,,,,,,,,,,
4h …,…,…,…,-v-,,,,,,,,,,,,,,,,
1h ,,,,,,,,,,,,,,,,-v-,,,,,,,,,,,,,,,,
Regarding which is better – the best you can due is backtest both against each other based on what your doing. At least you will be able to see the differences between them and ‘Know’ which is better.
Regards