PureBytes Links
Trading Reference Links
|
In simple english you want the indicator to respond in a particular
fashion/manner subject to the periodicity of the chart or do you want
to be able toggle indicator display on or off?
If the former use the interval() function.
If the latter use ParamToggle.
e.g.
5dma_PLOT=ParamToggle("Plot 5DC MA","(N) OR (Y)",0);
if(5dma_PLOT)Plot(ma(c,5),"5D_MA",colorAqua,styleThick);else Plot(ma(c,5),"5D_MA ",colorAqua,styleHIDDEN|styleNoLabel);
HTH
R
On 5/1/06, iascool <sai20_2000@xxxxxxxxx> wrote:
Hello,
I am looking for a way to customise an afl code in to layer.So that
when the layer is on,indicator(eg pivot) appears on price screen and
when not required it can be switched off.Any suggestions pls.
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
SPONSORED LINKS
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
SPONSORED LINKS
YAHOO! GROUPS LINKS
|