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

RE: [amibroker] Re: Parameters window doesn't show parameters



PureBytes Links

Trading Reference Links

Got it.

Go to Tools->Preferences->Charting tab. Next to last option needs to be
checked.

--
Terry

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of cyclicaltrader
Sent: Tuesday, August 15, 2006 11:05
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Parameters window doesn't show parameters

Hi Terry,

I didn't post the code because the parameters window shows up when I
select if from the popup menu, but not when I first insert the
indicator.

Here is the code:

----------------------------
_SECTION_BEGIN("Cyclical OSC");
periods = ParamToggle("Cycle Length", "13 week|6 week");
ColorROC = ParamColor("ROC color",colorWhite);
ColorMA = ParamColor("MA color", colorWhite); 
StyleROC = ParamStyle("ROC style", styleDashed);
StyleMA =  ParamStyle("MA style", styleThick);

if (periods) 
{    
		// 6 week cycle
		ROC6W = ROC(C,17);
       ROC6WMA = MA(ROC6W,11);
      //Plot( ROC6W, "6 week cycle", ColorROC,StyleROC );
      PlotOHLC(ROC6W,ROC6W,ROC6WMA,ROC6WMA,"11w hist",
             IIf(ROC6W>ROC6WMA,colorBrightGreen,colorRed) , styleCloud);
         
     	Plot( ROC6WMA,"ROC 6w-MA", ColorMA, StyleMA ); 
}
else
{
    // 13 week cycle
 	  ROC13W = ROC(C,29);
     ROC13WMA = MA(ROC13W,19);
//     Plot( ROC13W, "13 week cycle", ColorROC,StyleROC);
     PlotOHLC(ROC13W,ROC13W,ROC13WMA,ROC13WMA,"13w hist",
             IIf(ROC13W>ROC13WMA,colorBrightGreen,colorRed) ,
styleCloud);
     Plot( ROC13WMA,"ROC 13w-MA", ColorMA, StyleMA ); 
      

}
_SECTION_END();

_______________________________________________

Thanks,

Costas
--- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxx> wrote:
>
> No Param statements, no Parameters windows.
> You didn't post any code to check out.
> 
> --
> Terry
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
> Behalf Of cyclicaltrader
> Sent: Tuesday, August 15, 2006 07:20
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Parameters window doesn't show parameters
> 
> Hi,
> 
> I wrote a couple of custom indicators but when I insert them on a
> chart sheet, the parameters window is blank.  The indicator draws
> properly below the chart.  When I right click on it, and select
> "Parameters", I see the parameter options properly.
> 
> Any ideas why this is happening?
> 
> Thanks
> 
> Costas
> 
> 
> 
> 
> 
> 
> 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