Forum

Question about drawing in an object.

I'm trying to draw a linear regression channel in an EA I'm working on. The two points I want to use are: T1 - beginning of the calendar day i.e. 0:00 T2 - 8:00 am on the same day. However I want the T2 of the channel to constantly update with each new bar forming (that is on the M15 time-frame)

Need some help with coding...

Hello everyone! I've just started writing my simple EA yesterday and I've been bumping into two problems over and over. 1) When I run the EA it doesn't finish with the testing and the completion bar just stands still until I stop the testing. 2) It completes the testing, but no positions are open