Hi,
when I use Portfolio_CurrentEntries in a manner like this one:
If condition=true and Portfolio_CurrentEntries<1 then buy next bar at o;
every time that the signal enters simultaneously on more instruments I find them all in the portfolio.
There is one solution?
Thanks
Riccardo
Portfolio_CurrentEntries
- ABC
- Posts: 721
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 408 times
- Contact:
Re: Portfolio_CurrentEntries
Riccardo,
this is expected behavior as the value for Portfolio_CurrentEntries gets only updated at the end of the bar. The best solution is to use a money management signal and only let one entry pass.
Regards,
ABC
this is expected behavior as the value for Portfolio_CurrentEntries gets only updated at the end of the bar. The best solution is to use a money management signal and only let one entry pass.
Regards,
ABC