PureBytes Links
Trading Reference Links
|
Hi All,
I am trying to use param to set the timeframe i.e.
daily or weekly that will be used to run an
exploration. First of all is it possible? if so how
close am I to doing that using the code below?
I did use the tools verify command in the window for
writing code and apparently it is correct. However how
do I give effect to the my choice prior to running an
exploration.
TIA for any help.
Regards
R
PRDCTY=Param("PERIODICITY - D=2, W=4",2,2,4);
TF=IIf(PRDCTY=2, TimeFrameSet(inDaily),IIf(PRDCTY=4, TimeFrameSet(inWeekly),O));
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|