I am trying to stop out trades based on the foreign
symbol being stopped out as well. 

I have used this without success:

SetForeign("^GSPC",1); 

GSPCValue = 10 * ATR(10);

if(ApplyStop(stopTypeTrailing, stopModePoint,
GSPCValue, 1, True,0))
{
GSPCTrail = True;
}            
         
RestorePriceArrays(); 
 
Sell = GSPCTrail; //sells all other stocks

Can someone suggest a simple way to stop out the
trades when using foreign? 

Thanks, 

Eric

__________________________________________________
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/

<*> 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:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to