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

[amibroker] Plot Statements control via Param - Possible?



PureBytes Links

Trading Reference Links

Hi All,

Is it possible to control the plot statements via Param commands. If so, is the following code correct?


b_plot=Param("Plot Bands-1(y)0(n)",0,0,1);
b_p=IIf(b_plot==1,Plot(BT,"BT",colorBlack,styleThick),Plot(BT,"BT",colorBlack,styleNoLine));
b_p=IIf(b_plot==1,Plot(BB,"BB",colorBlack,styleThick),Plot(BB,"BB",colorBlack,styleNoLine));


The only purpose of the exercise is to unclutter the chart and have an option to plot the bands without having to resort to code ammendments etc or fresh indicator insertions.

TIA for any help.


Regards


Rakesh



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