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
|