Drawing a horizontal line between 2 dates - Aussie Stock Forums

Results 1 to 3 of 3
  1. #1

    Default Drawing a horizontal line between 2 dates

    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 ?

  2. #2

    Join Date
    Nov 2007

    Default Re: Drawing a horizontal line between 2 dates

    I think you need to include the line style

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

    Not sure as I haven't tried it.

  3. #3

    Default Re: Drawing a horizontal line between 2 dates

    No , it was more complex .

    Here was the response ....


    Now I need to catch number's bar when a MA cross above another MA .
    Probably with the function barindex ...

Similar Threads

  1. Ramping - where do we draw the line?
    By Joe Blow in forum General Chat
    Replies: 21
    Last Post: 1st-June-2011, 07:50 PM
  2. Using Line of Credit to pay Tax
    By RamonR in forum Stock Market Nuts and Bolts
    Replies: 11
    Last Post: 25th-September-2008, 12:04 PM
  3. Drawing does not show up in Amibroker
    By hatizen in forum Software and Data
    Replies: 3
    Last Post: 12th-June-2007, 12:46 AM
  4. Line of credit
    By Fab in forum General Investment and Economics
    Replies: 6
    Last Post: 24th-November-2006, 11:52 AM
  5. ASX ETO expiry dates sought for pre-1995
    By charttv in forum Trading Strategies/Systems
    Replies: 2
    Last Post: 4th-April-2006, 12:59 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Aussie Stock Forums