Negative Balance but very High Equity

 

Hello I am new to forex and very new to forex programming.

Testing (backtesting for now) my new Robot, which focus in very long trends hunting,

I found that in its trading sometimes

the Balance gets Negative but at the same time the Equity is very Positive

however it continues going on testing. You can see this in the image below.

it started with USD 1000 and ended with USD 198 000 in 10 years EUR/USD backtesting.

My questions in this case are:

1. Is that allowed by the brokers?

2. would swap destroy the profits?

3. If you have any more comments, advantages, disadvantages etc. Please let me know.