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

Re: [amibroker] Doubts about Parameters


  • Date: Fri, 12 Mar 2010 18:56:26 -0800
  • From: L V Gandhi <lvglist@xxxxxxxxx>
  • Subject: Re: [amibroker] Doubts about Parameters

PureBytes Links

Trading Reference Links



Thanks Mr.Patrick for your time.
I did click reset button nothing happened.
I saw the code in edit formula window by right clicking on the pane.It shows exactly what I have given above. I have not given any separate code for MACD. All that is there what is written by me above. I hope it utilizes inbuilt MACD code.
Thanks regarding date ranges explanation.


On Fri, Mar 12, 2010 at 11:00 AM, NW Trader <pk47hargus@xxxxxxxxxxx> wrote:
 

Hi L V,
 
An addendum to my last post. If resetting the parameters did not solve your problem, then check on the following items. 
 
Are you certain that the chart you are clicking on is using the formula you modified?  If you had an existing chart open, then modified the formula via right mouse click -> edit formula, then saved that formula to custom folder, the original chart you had open may not be based on the modified formula.  To check either open the chart formula again to see if it is modified, or open the parameters menu, -> Axes & Grid and examine the file path under Miscellaneous.  If it is not the modified formula, then add that formula to a chart pane.
 
Another possibility is that the macd code you are applying doesn't use the terms Color or style. The built in MACD I have doesn't, instead it uses MACD Line Color, MACD style, etc.  Of course, I may have modified this code long ago and forgotten I did.  If you still have problems, post the entire macd code you are using, for examination. 
 
As to running an AA (scan, exploration, backtest) on a specific date range, just set the dates in the from and to boxes and click the radio button next to from.  If you want the last date in your database quickly, in the to box, click the down notion to open a calendar and click on the red square at the bottom next to Today: (date of last update in data).   
 
Peace and Justice   ---   Patrick
----- Original Message -----
From: NW Trader
Sent: Friday, March 12, 2010 10:00 AM
Subject: Re: [amibroker] Doubts about Parameters

Hi L V,
 
Did you also click on the Reset all button at the bottom of the parameters screen?
 
Peace and Justice   ---   Patrick
----- Original Message -----
From: L V Gandhi
Sent: Friday, March 12, 2010 8:44 AM
Subject: [amibroker] Doubts about Parameters

I have copied A Parameter example script as AFL in customs folder given as below.
_SECTION_BEGIN("MACDSignal");
Buy = Cross(MACD(), Signal() );
Sell = Cross(Signal(), MACD() );

pricefield =
ParamField("Price Field", 3);
Color =
ParamColor("color",colorRed);
style =
ParamStyle("style",styleLine,maskAll);
arrows =
ParamToggle("Display arrows", "No|Yes",1);
Plot(pricefield,"pricefield",Color,style);
if(arrows)
{
  
PlotShapes(Buy*shapeUpArrow+Sell*shapeDownArrow,IIf(Buy,colorGreen,colorRed) );
}
_SECTION_END()


But when I open parameters window, I get parameter for pricefield only.
1) What is to be done for getting all parameters?
2) If I want to test only between some data say from 1 Jan 2010 to last trading day in scanning how should I modify this?



__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___