There are two types of input values:
- Entered from Portfolio Maker
- Entered from the EA when attaching to a chart
Input Values Entered From Portfolio Maker
The amounts used for ‘Entry’, ‘Maximum’, ‘Adding’ and “Reducing’ are ‘global’ values that apply to all the strategies in a portfolio. It may be that when creating strategies in FSB-Pro your different strategies use different amounts. And this makes sense when strategies are intended to be used individually. But when strategies are combined into a single EA, then these amounts take on a different meaning. It now makes sense for the amounts to be the same for each strategy in the portfolio because it gives you some control over how much of your account is at risk when the portfolio is trading.
Input Values Entered When Attaching The Portfolio EA To A Chart
Your portfolio EA may contain dozens (or hundreds) of strategies, and managing the overall trading pattern of a portfolio EA is much different than a single EA — i.e. if you don’t pay close attention then your exposure can quickly grow larger than what you are comfortable with. These inputs allow you some control over how frequently your portfolio will open new positions.
Stop trading when FreeMargin drops below this value: If account’s Free Margin drops below this value then do not open any new trades. Default is ‘0’.
Stop trading when Balance drops below this value: If account’s Equity drops below this value, the expert will close out all positions and stop automatic trading. Default is ‘500’.
Stop trading when Margin exceeds this value: If account’s Margin rises above this value then do not open any new trades. Default is ‘99999’.
Stop trading when opened positions exceed this value: If portfolio’s open positions exceed this value then do not open any new trades. Default is ‘99999’.
Stop trading when floating loss drops below this value: If account’s floating loss drops below this value then do not open any new trades. Default is ‘-99999’.
For example, suppose you want to stop using a portfolio EA but there are still a number of open (pending) trades. If you set the 3rd input (‘Stop trading when Margin exceeds this value’) to ‘1’, then no new trades will be opened and pending trades will gracefully close. The alternative would be to remove the EA (or close the chart window) and then manually close each pending trade.
The 3rd input can also be useful if you wish to limit the number of pending trades if you discover the portfolio is opening more trades than you are comfortable with.
Minimum WinRatio (per strategy): If a strategy’s WinRatio falls below this value (e.g. 0.60), then it will no longer be able to open new positions. However, it will still be used to close any positions that currently remain open.
Maximum Consecutive Losses (per strategy): If a strategy’s consecutive losses exceeds this value (e.g. 2) , then it will no longer be able to open new positions. However, it will still be used to closed any positions that currently remain open.