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 
  To: [email protected] 
  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 
    To: [email protected] 
    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?




  

Reply via email to