I'm similarly new to algo trading of forex so I can't say I can help that much but I think this depends a lot on what's causing that loss.

If it's individual trades having huge losses, I'd say tighten your stop loss. If you're using a trend following algo, http://www.financial-hacker.com/the-market-meanness-index/ might be useful.