Libraries: Take Profit based on current profit

 

Take Profit based on current profit:

Most EAs tend to close orders in take profit based on the distance in pips from the purchase price. However, this MQL4 code is based mainly on the current profit.

Take Profit based on current profit

Author: Luca Cerquatelli