[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

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.






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/