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

Re: [amibroker] Re: Regression Line Slope



PureBytes Links

Trading Reference Links

Hello,

As I wrote in previous post, you must have at least one Plot() (or graph)
statement in your formula to use axisminx/axismaxy. 
This is so because the axis scaling is derived from plotted data.
Your formula does not meet this requirement.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "bilbo0211" <bilbod@xxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, December 19, 2007 7:37 AM
Subject: [amibroker] Re: Regression Line Slope


> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> wrote:
>>
>> > Status("axismaxy"), Status("axisminy"), Status("pxwidth"), and
>> > Status("pxheight") all return zero. I suspect it is because I am
>> > running Amibroker under Linux and wine cannot handle the API calls
>> > those functions make.
>> 
>> It is highly unlikely. I mean very highly unlikely even if you run
> under Linux,
>> because you would have serious problems if windows dimensions could
>> not be retrieved. I mean all programs would not work properly.
>> I bet that you are making mistake.
>> 
>> Try this formula:
>> 
>> Title = "MinY="+Status("axisminy") + " MaxY=" + Status("axismaxy"); 
>> Graph0=Close 
>> 
>> and look at chart title.
>> 
>> Note that chart has to show at least one plot to give you non-zero
> values.
> 
> That works.
> 
> I tried this:
> -----
> Title = "MinY="+Status("axisminy") + " MaxY=" + Status("axismaxy");
> 
> "MinY="+Status("axisminy");
> numVisBars=Status("lastvisiblebar")-Status("firstvisiblebar");
> "numVisBars="+numVisBars;
> "ATR="+ATR(10);
> -----
> 
> The Title is "MinY=228.232 MaxY=229.721"
> 
> This is what prints in the interpretation window:
> 
> MinY=0 MaxY=0
> MinY=0
> numVisBars=198
> ATR=0.18449
> 
> Why does the ATR and numVisBars print correctly but MinY and MaxY
> prints as zero?
> 
> Bill
> 
> 
> 
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> Yahoo! Groups Links
> 
> 
> 
> 
>


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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/