How to draw curves with my EA

 

I have an EA that produces an array of future prices. I'd like to be able to plot these on the chart to ensure the EA is working properly. Is there any way to do this, similar to loading the array into an indicator buffer-type object, or do i have to draw a bunch of small lines with ObjectCreate?

 
In an EA you have to draw a bunch of small lines, other solution is to implement the logic into an Indicator and shift the buffer
 

That's what i was afraid of. The logic is very computationally expensive, so duplicating the work in an indicator is simply not an option. A bunch of little lines it is, then.

Thanks.

 
By the way, if anyone wants to see what this looks like, check out livestream.com/gatornuke
 
gatornuke:
A bunch of little lines it is, then.
See https://www.mql5.com/en/forum/130907
 

How to ad a 8 HR time chart .

 
Edis:

How to ad a 8 HR time chart .


https://www.mql5.com/en/code/7673
Reason: