The solution for forex: a self-optimizing neural network, which has been trained tick by tick with variable spread for at least 10 years, to that network add a news filter, so that after being broadcast, the network is self-optimizing , and then the regular self-optimization coefficient is recomposed, with a stop loss equal to or less than the take profit, and a system with a threshold that reinforces the stop loss and take profit