Using the same chart data series inputs (ES 7 ticks) I can load the order flow trade detector (Price, 5, 20, session) in 1 second. When I load my indicator (equal or less amount of ellipse objects) it takes 30 seconds. I'm hoping to get some insights on how to improve my code or understanding of how I'm processing my onrender differently than the Order Flow Trade Detector indicator.
Attached is my code.
edit: fixed my second issue but code is still rendering much slower than desired.
Thanks so much

Comment