Topic: Any way to exit trade based on equity

Exit based on floating profit/loss percentage or actual dollar amount?

Re: Any way to exit trade based on equity

See "Protection_Min_Account" option of the MT4 Expert.

// If account equity drops below this value, the expert will close out all positions and stop automatic trade.
// The value must be set in account currency. Example:
// Protection_Min_Account = 700 will close positions if the equity drops below 700 USD (EUR if your account is in EUR).

Re: Any way to exit trade based on equity

Thank you. I saw that in MT4, but wanted to test it in FSB to see how it would impact the historical testing. The strategy I am looking at adds to the positions, and an analysis of the trades seems to show that this type of condition would improve results, but not sure because it would effect the next trade's entry point.  If you think this is possible to add to the code I will look at it.