It is possible to code something that gathers the last 20 prices at a certain time and averages them. The resulting line will be stepped and not smooth or could be created with segments but these won’t update until the desired time has been detected.
I’ll try to write something for you after my first cup of tea of the day!
Warning: Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced clients who have sufficient financial means to bear such risk. The articles, codes and content on this website only contain general information. They are not personal or investment advice nor a solicitation to buy or sell any financial instrument. Each investor must make their own judgement about the appropriateness of trading a financial instrument to their own financial, fiscal and legal situation.