Condition = ParamList( "Choose Exploration", "Condition1|condition2|condition3",0);
if( Condition == Condition1 )
{
filter =
AddColumn(...
...
}
else if( Condition == Condition2 )
{
...
best regards,
herman
For tips on developing Real-Time Auto-Trading systems visit:
http://www.amibroker.org/userkb/
Sunday, February 24, 2008, 1:48:20 PM, you wrote:
> Hi all,
> I am new in afl programming.I want to know whether is it possible to
> write multiple exploration in one afl?
> I want to write 3 explorations at a time so that user can opt from
> the properties window .
> eg. in the properties window there would be one variable named
> "Choose Condition" and under this in the drop down menue there are 3
> conditions say, MACD, Stochstic, and 13,30 EMA cross over.
> I want the afl block to run depending on the condition choosen by
> the
> user.
> is it possible using param function ?????? if yes how?
> I just want the code to show the 3 conditions in the "Choose
> Condition" dropdown list.
> Senior members and all the afl lovers plzzzzzzzzzz put some light
> on
> it.
> Thanx in advance.
> Dev
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 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/
> <*> Your email settings:
> Individual Email | Traditional
> <*> To change settings online go to:
> http://groups.yahoo.com/group/amibroker/join
> (Yahoo! ID required)
> <*> To change settings via email:
> mailto:amibroker-digest@xxxxxxxxxxxxxxx
> mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
> <*> 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/
>
__._,_.___
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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
__,_._,___
|