stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Making visible lines within EA code
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=914
Page 1 of 1
Author:  chimera [ Mon Oct 29, 2012 12:41 am ]
Post subject:  Making visible lines within EA code

As the question suggest, i am looking for the best way to create lines on the chart from within the ea code. This to have visual confirmation, ie with a MA or Pivot system

I have read the mql book, but i am not sure on how to arrange the code

Example, the EA calculates pivot points. How do i create those lines on the chart, the P, S1, R1 . . . .

Examples would be nice, and where do the code go, after start(); ??

Thank very much in advance
Author:  dietcoke [ Mon Oct 29, 2012 6:15 am ]
Post subject:  Re: Making visible lines within EA code

chimera wrote:As the question suggest, i am looking for the best way to create lines on the chart from within the ea code. This to have visual confirmation, ie with a MA or Pivot system

I have read the mql book, but i am not sure on how to arrange the code

Example, the EA calculates pivot points. How do i create those lines on the chart, the P, S1, R1 . . . .

Examples would be nice, and where do the code go, after start(); ??

Thank very much in advance
Take a look at an EA or indicator that daws lines on the chart. Forex robot does. look through the code for the drawlines function which draws horzontal lines on the chart then have a go on your EA, if you run into problems, post your code and we'll be able to help better
All times are UTC Page 1 of 1