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

RE: [amibroker] AB 4.70rc1 moving average changes with number bars shown



PureBytes Links

Trading Reference Links

Oops my mistake, the bottom ma is supposed to be 89 not 100. When changing
to 89 then both values are 10,826.3. 

So bottom line is if you put '//' in front of plot statements on a price
chart with all formulas displayed, on my computer you will get different ma
depending on how many bars are showing. Still a bug.

Jerry Gress
Stockton, Ca.


-----Original Message-----
From: Jerry Gress [mailto:pleasenospamplease@xxxxxxxxxxx] 
Sent: Saturday, March 12, 2005 4:54 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] AB 4.70rc1 moving average changes with number bars
shown

Hi,

The top chart is with a blank price chart and ma applied per your last
e-mail. The bottom chart is a stock price chart with all formulas. Note the
red ma just at top of price line at around 13:00 hours. Note top chart
slightly below. And off to left are other notable differences. Now for
another weird thing. When + or minus the whole chart the ma stay in the same
place, unlike previous sent pictures. So, on the main price chart (top) all
formulas have been erased and then the bottom chart is a saved stock price
chart with all formulas but with '//' in front of plot statements. Thus
either way I believe there is a diff of display of ma, thus a bug.

Am surprised that if you put the '//' in front of plot on stock price chart,
you do not get my problems. Also, on stock price chart there are NO have
'StyleOwnScale' checked.



Jerry Gress
Stockton, Ca.


Ps after the screen shot I went back and displayed the green ma and it is
10,826.3 not 10,829.6, thus two ma for the same price data.


Jerry Gress
Stockton, Ca.


-----Original Message-----
From: William Peters [mailto:william@xxxxxxxxxxx] 
Sent: Saturday, March 12, 2005 4:15 AM
To: Jerry Gress
Subject: Re: [amibroker] AB 4.70rc1 moving average changes with number bars
shown


Jerry,

I don't see any of the problems you describe and I've been using this new
version
for sometime now.

I should have also mentioned to check that all of the parameters, like
'Price'
and whatever other indicators are on the chart do NOT have 'StyleOwnScale'
checked.
If you can get the size of your graphics files down to around 50kb post a
shot of
your parameters window or send it to me privately if you like.

Here is a simple formula, when you get the time paste it into
a new indicator then apply and let us know whether you see the same problem.

(Be care of line wraps)

_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo
%g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) )
));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle |
ParamStyle("Style") | GetPriceStyle() ); 
_SECTION_END();

_SECTION_BEGIN("MA");
P = ParamField("Price field",-1);
Periods = Param("Periods", 89, 2, 200, 1, 10 );
Plot( MA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ),
ParamStyle("Style") ); 
_SECTION_END();



Regards,
William Peters (AmiBroker Group Moderator)
www.amitools.com




Saturday, March 12, 2005, 1:39:04 AM, you wrote:
JG>    Hi William,

JG>  Under parameters for the long ma set at 89 and under style there are no
JG>  boxes checked. 

JG>  Ok now try this for even more weird results (to move the ma line all
over
JG>  the chart with each click of the little plus sign or minus sign ie to
expand
JG>  chart). Right click > edit formula and in the formula editor on the bog
JG>  stock _Section_Begin stuff put '//' in front of the "plot" for the ma
and
JG>  mid ma. Then go back to main chart and see the long term moving average
JG>  (previous 89) really go crazy with each click of the plus or minus
chart
JG>  size compared to before. 

JG>  Thus the problem appears to be me putting those '//' in front of the
plot
JG>  statements on the stock price chart under 4.70rc1!! Makes me wonder
what
JG>  other problems might happen if I change any other formulas on the stock
JG>  price chart??

JG>  Jerry Gress
JG>  Stockton, Ca.







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



 






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



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/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/