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

[amibroker] Suite of Exits



PureBytes Links

Trading Reference Links

I want to have several ways of exiting forex trades. This code is not giving me an error signal, but it’s not working as intended either:

 

Sell = ApplyStop(1,2,target,True,2) OR ApplyStop(0,2,stoploss,True,2) OR ApplyStop(3,1,8) OR Cross(psar, C);

Cover = ApplyStop(1,2,target,True,2) OR ApplyStop(0,2,stoploss,True,2) OR ApplyStop(3,1,8) OR Cross(C, psar);

 

I intend a trade to exit when either it reaches a target or initial stop or n bars or Close below a parabolic stop.

I would be grateful for any advice on what I’m doing wrong, and how to correct it, thanks.

 

 

 

 



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





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS