I'm trying to create some custom charts but couldn't figure it out from existing examples. Joined the prime account and tried to get support but I'm told to ask the question in this forum.

How would I be able to create the following plots:
1) line chart of close prices
2) buy and sell prices and some sort of indicator showing long or short position
3) rsi indicator

I have been using the RSI alpha model as a starting point: