[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Graph paper background



PureBytes Links

Trading Reference Links

Guys,

Thanks for your replies and lines of code. Its great but didn't 
entirely fullfill my need.

The limitation of the code is that the graphpaper background ends at 
the last bar due to the use of index.

I would like it to extend over the available space. So if I have 
kept "Blank bars in right margin" under preferences to 40, I should 
still see the graph extended in blank areas for future prices yet to 
be revealed.

I am very grateful for the code and I hope you guys could crank up 
something to replace Barindex so that the graphpapaer does not 
terminate at the last visible bar.

Cheers
Samir

--- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxxx> wrote:
>
> //Vertical lines every 5 bars:
> 
>  
> 
> Plot(frac(BarIndex()/5) == 0,"",colorGrey50,styleHistogram |
> styleOwnScale, 0,1);
> 
>  
> 
> //Horizontal lines. Adjust range and increments as needed:
> 
>  
> 
> for (x = 0; x < 100; x = x + 1) 
> 
> Plot(x,"",colorGrey50,styleNoRescale | styleNoLabel);
> 
>  
> 
> --
> 
> Terry
> 
>  
> 
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] 
On
> Behalf Of samirkpatil
> Sent: Thursday, November 17, 2005 03:42
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Graph paper background
> 
>  
> 
> Hi All,
> 
>  
> 
> I wish to have a Graph paper background to plot OHLC price chart.
> 
> Has anyone done some code for this?
> 
>  
> 
> I don't know how to plot verticle lines using AFL.
> 
>  
> 
> Please suggest
> 
>  
> 
> Samir
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
>  
> 
> Please note that this group is for discussion between users only.
> 
>  
> 
> To get support from AmiBroker please send an e-mail directly to 
> 
> SUPPORT {at} amibroker.com
> 
>  
> 
> For other support material please check also:
> 
> http://www.amibroker.com/support.html
> 
>  
> 
>  
> 
> Yahoo! Groups Links
> 
>  
> 
>     http://groups.yahoo.com/group/amibroker/
> 
>  
> 
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
>  
> 
>     http://docs.yahoo.com/info/terms/
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/