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

Re: [amibroker] Re: Regression Line Slope



PureBytes Links

Trading Reference Links

Hello,

It was written many times that Status("axisminy") and Status("axismaxy")
is for the INDICATOR (i.e. CHART) only.  
===============================
By design it will return zero for any NON-chart window. 

The *interpretation* window is NOT a chart. Interpretation window does not
have the concept of "Y axis". It does not matter that you are using the same formula.
The same applies to commentary and AA.
These are not CHART windows.

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


> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> wrote:
>>
>> 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.
>> 
> 
> Hi Tomasz,
> 
> I did have a plot statement in the formula, I just did not list it in
> the code I displayed. I was adding the 'test' code to an already
> working AFL and did not want to confuse the issue with irrelevant code.
> 
> Here is a very simple formula that shows the problem.
> 
> Title = "MinY="+Status("axisminy") + " MaxY=" + Status("axismaxy");
> Plot(C-ATR(10), "ATR", colorGreen, styleLine);
> 
> "MinY="+Status("axisminy");
> numVisBars=Status("lastvisiblebar")-Status("firstvisiblebar");
> "numVisBars="+numVisBars;
> "ATR="+ATR(10);
> 
> Title prints the correct values for MinY and MaxY.
> 
> MinY=161.567 MaxY=165.498
> 
> This is what prints in the Interpretation window:
> 
> MinY=0 MaxY=0
> MinY=0
> numVisBars=158
> ATR=0.217287
> 
> 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/