execute trades,close with( if else or trails ) or close by time

 

please can any one tell me the code of mql 4 of executing trades when a candle starts?

buy or sell trades is launched with a trail of 5 points aiming take profit at 50 points

if buy and sell executed @ same time and if buy hits its take profit automatically sell take profit modified to 20 points?

 
im a complete lammaer @ mql4 so please help me
 
You have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
 

can u please tell me how much to code it?

 
mohsin360:

can u please tell me how much to code it?

Go here: MT4 & MT5 coding place your Job and you will get bids which state time and price.
 
Posted via PM
mohsin360:

ok ill do it my self,and some people help me already

thank you for your very helpfull replies

good by

mohsin360: and please do one thing for me ignore my posts in future please .
Poor baby, wants someone to code things for him and has hurt feelings because there are no slaves here and he can't get his way.
Reason: