Short term profitable, long term disaster.
It depends how the coder thought it.
Most of those strategies hedge/martingale/grid comes without stoploss, or one of those fancy's equity stop : by experience, I can say that's dangerous.
Otherwise yes, it's profitable.
It is necessary to control every day, and when the tendency arises up or down eliminate the transactions that are against the trend if in case the ea does not eliminate them as stop lost