mql code help

 

Hi All,

I am new to this mql4 programming.

I want some simple code as the below simple logic.

Everytime a trade is closed. I want to put the same pending trade for the same open price and profit taken and stoploss.

( For example: When a GBPJPY trade closed at 125.25 whose open price was 125.00

Just want to put a pending ( buylimit ) trade of GBPJPY same open price 125.00 profit taken at 125.25.

Anyone help me on this code.

Thanks for your help.

God bless

 
joshiboy:
I want some simple code

No Slaves here, learn to code or pay someone. We're not going to code it FOR you. We are willing to HELP you.

 

Sorry, I would like also to ask through this forum.
I am a newbie in terms of programming in MQL4.
In a forum I get the EA, where there is use of the function / parameter I do not findthe time to learn MQL4 coding.

AddP ()
# define xxxx

Please help explain. Thank you.