Forum

onStart()

When I call onStart() in my EA it changes the EA to a script. What is the best way to call a script from an EA

drawing a horizontal line on mql 5

I am having problems getting my horizontal line to appear on mql5. it says there are no errors but no object is ever created in the object list or appears on the chart. What is the basic code to produce a simple horizontal line with an EA at the current price and time on a M1 chart so I can see what