NexusFi: Find Your Edge


Home Menu

 





Only Close Open Positions?


Discussion in Platforms and Indicators

Updated
    1. trending_up 3,231 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 0 attachments




 
Search this Thread

Only Close Open Positions?

  #1 (permalink)
davetapson
Benoni, South Africa
 
Posts: 2 since Aug 2014
Thanks Given: 0
Thanks Received: 0

Ok, so I'm still trying to get the hang of this, so be gentle...

I've set up a trading system using AFL, but when I display the buy/sell arrows, it seems that my sell condition is being triggered even if there is not a corresponding open position.

I have maxLongPositions / maxShortPositions / maxOpenPostions all set to 1.

1. Does AmiBroker automatically check if there is an open position before firing a close?
2. Or do you need to code the check? If so, can someone point me to how?

Regards
Dave

Reply With Quote




Last Updated on September 23, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts