Could anyone kindly point me in the right direction for adding a daily portfolio level stoploss?
Is this possible?
Ie for all symbols and signals in a portfolio, if x% or x$ is reached then exit all at market.
Many thanks!
Max portfolio loss per day?
Re: Max portfolio loss per day?
This might get you started..
Code: Select all
INPUTS:
PortfolioPctStop( 1 ) ;
VARIABLES:
Equity(0);
Equity = Portfolio_Equity;
SetStopPosition;
SetStopLoss((PortfolioPctStop/100) * Equity) ;
- ABC
- Posts: 722
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 410 times
- Contact:
Re: Max portfolio loss per day?
wilkinsw,
you can create something like this best within the Portfolio MoneyManagement signal. Monitor the portfolio equity in there and once your stop value is reached force the close of all positions and deny new entries.
https://www.multicharts.com/trading-sof ... M_Keywords
Besides that you can also do it within your individual entry signals, which can be done without the PMM Keywords, but less comfortable in my opinion.
Regards,
ABC
you can create something like this best within the Portfolio MoneyManagement signal. Monitor the portfolio equity in there and once your stop value is reached force the close of all positions and deny new entries.
https://www.multicharts.com/trading-sof ... M_Keywords
Besides that you can also do it within your individual entry signals, which can be done without the PMM Keywords, but less comfortable in my opinion.
Regards,
ABC
Could anyone kindly point me in the right direction for adding a daily portfolio level stoploss?
Is this possible?
Ie for all symbols and signals in a portfolio, if x% or x$ is reached then exit all at market.
Many thanks!