Set MT4 to automatically close a trade (Partially) if the profit per lot hits a specific number?

 
Is there a way to set MT4 to automatically close a trade (Partially) if the profit per lot hits a specific number? 

Like if I have a trade open with 0.06 lots if profit hits $5 per 0.01 lot (total $30) then close half trade (AUTOMATCALLY for any open trade)?

-


Well I was wonderingif there is a way to do it automatically, I know I can do it manually calculate and close partially. Or I have to set up multiple orders with specific TP (after calculating it). 

would be nice just to open an order and it automatically close at Given TP or when it hits $5 per 0.01 lot in profit (whichever comes first)

 
Syed Naqvi: Is there a way …

Well I was wonderingif there is a way to do it automatically, …

You have only four choices:

  1. Search for it. Do you expect us to do your research for you?

  2. Beg at:

  3. MT4: Learn to code it.
    MT5: Begin learning to code it.

    If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into your code.

  4. or pay (Freelance) someone to code it. Top of every page is the link Code Base.
              Hiring to write script - General - MQL5 programming forum 2019.08.21

We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using CODE button) and state the nature of your problem.
          No free help 2017.04.21

 
Syed Naqvi:
Is there a way to set MT4 to automatically close a trade (Partially) if the profit per lot hits a specific number? 

Like if I have a trade open with 0.06 lots if profit hits $5 per 0.01 lot (total $30) then close half trade (AUTOMATCALLY for any open trade)?

-


Well I was wonderingif there is a way to do it automatically, I know I can do it manually calculate and close partially. Or I have to set up multiple orders with specific TP (after calculating it). 

would be nice just to open an order and it automatically close at Given TP or when it hits $5 per 0.01 lot in profit (whichever comes first)

Your problem can be solve with EA (robot). Search the code or ask someone to make it (goto Freelance menu).

Reason: