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

RE: [amibroker] X-Axis type



PureBytes Links

Trading Reference Links

FWIW JJ posted a curious 'log time plot' on 4/23/04 [62694].
I never bothered to figure it out, but have a look [speed changes x].
----
//Log Time [JJ 4-23-04]

s=Param("speed",0,0,0.04,0.0001);
b=BarCount-1;
bc=b;
Hy=Null;Ly=Null;Oy=Null;Cy=Null;

do
{
Hx=0;Lx=1000000;
Cy[bc]=C[b];
f=int(exp(s*(BarCount-bc+1)));
b1=b-f;

while (b>b1 AND b>-1)
{
if (H[b]>Hx) Hx=H[b];
if (L[b]<Lx) Lx=L[b];
b--;
}
Hy[bc]=Hx;Ly[bc]=Lx;Oy[bc]=O[b+1];
bc--;

} while (b>-1);

PlotOHLC(Oy,Hy,Ly,Cy,"",1,styleCandle);
Plot(Oy,"open",1,styleNoDraw);
Plot(Hy,"hi",1,styleNoDraw);
Plot(Ly,"lo",1,styleNoDraw);
Plot(Cy,"close",1,styleNoDraw);

Regards,
Bob


-----Original Message-----
From: wavemechanic [mailto:wd78@xxxxxxxxxxxx]
Sent: Friday, November 12, 2004 2:55 PM
To: AmiBroker, User
Subject: [amibroker] X-Axis type



Does anyone know if it is possible to create a X-axis that corresponds
to something other than time - similar to the Risk/Yield map or the
charts that can be created in Excel?  I suspect not, as I cannot find
anything in the User's Manual, but thought it's worth a shot.

Thanks.

Bill

[Non-text portions of this message have been removed]




Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links










------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/