Training/code on custom indicator

It would be great if Tradovate developers can provide a simple training on how to code custom indicator since a lot of indicator is not working on the new chart.

i.e

  • Identify if previous bar is lower or higher than current bar
  • draw line