Drawing Color Line
You have few solutions:
1. limit the number of bars in history so it loads faster
2. make sure not to draw the same objects several times
3. update indicator only when a new bar closes
4. use buffers
You have few solutions:
1. limit the number of bars in history so it loads faster
2. make sure not to draw the same objects several times
3. update indicator only when a new bar closes
4. use buffers
I choose 4. use buffers
I want to DRAW_COLOR_LINE if
Currently its being done using OBJ_TREND objects which make chart laggy and slow and load objects slow sometimes so i want to do this using buffer
any coding help will be really helpful
Example :