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

[amibroker] Optimize a list of symbols?



PureBytes Links

Trading Reference Links

Hi all, I'm working on a market filter to allow or deny permission to
enter a market.

I have the code for a single symbol, but I would like to either use a
watch list or some other method to optimize rather than to manualy
change the symbol after each backtest.

Is this doable?

//Check Market is in a rising trend

SetForeign ( "^ixic" );
ADXLevel = Param( "ADX Level", 25, 10, 25, 5 );
MarketOk = ADX( 10 ) > ADXLevel AND PDI( 10 ) - MDI( 10 ) > Ref( PDI(
10 ) - MDI( 10 ), -1 );

// Permit trades when the line is rising
PermitMarket = MarketOk;

RestorePriceArrays();



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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/