Australian (ASX) Stock Market Forum

Drawing a horizontal line between 2 dates

Joined
10 October 2008
Posts
14
Reactions
0
Hello !!Always on Amibroker ...

I search a piece of code showing me how to draw a horizontale line between 2 differents dates ...

ex (quick code)

hzline = 1 ;
date1 = 12/10/2003;
date2 = 12/12/2003;
plot(hzline, date1 ,date2,colorred); //something like this ; need a loop perhaps ?
 
I think you need to include the line style

- plot(hzline, date1 ,date2,colorred,styleLine)

Not sure as I haven't tried it.
 
Top