to plot beyong the last bar, you need to use low level graphics

Look in help for functions starting with "gfx"  
  ----- Original Message ----- 
  From: tomczykd 
  To: [email protected] 
  Sent: Monday, June 14, 2010 9:46 AM
  Subject: [amibroker] Fibonacci Price and Time





  Hello,



  I'm working to create Fibonacci Price and Time similar to Stock and Commodity 
Price & Time aplication.

  Fibonacci Price is working good and was easy to prepare. I can plot vertical 
lines on entry and exit date. I can count how mamy days is between entry and 
exit date. And here I have the problem: I can't plot par example, the Fibonacci 
potencials date. How I can plot the potentials date 2010-06-09, 2010-06-14 and 
2010-06-18?

  To count the numbers of days between entry and exit I use the following:

  how_many_days = floor( DateTimeDiff(StrToDateTime("2010-05-25"), 
StrToDateTime("2010-04-15" ) )/SecInDay ) ;

  To count the Fibonacci days we have: F_382 = how_many_days * 0.382 etc.

  Now we should add 15 days to the exit date (2010-05-25) and I should plot the 
vertical line on 2010-06-09. How to plot it? Please help me.

  See below my example:

  Input Values
  ------------
  Price1: 2600.00
  Price2: 2224.00
  Date1 : 2010-04-15
  Date2 : 2010-05-25

  Potential Prices
  Price1: 2367.63
  Price2: 2412.00
  Price3: 2456.37

  Potential Dates
  Date1: 2010-06-09
  Date2: 2010-06-14
  Date3: 2010-06-18


  Best regards.

  Dominik




  

Reply via email to