Download MetaTrader 5

Experts: RoNz Auto SL and TP

To add comments, please log in or register
Use MQL5 Cloud Network. It is secure!
Automated-Trading
Admin
99886
Automated-Trading 2014.12.05 11:12 

RoNz Auto SL and TP:

The Expert Advisor automatically sets preconfigured Stop Loss and Take Profit value on all orders which sl = 0 and tp = 0.

Author: Roni Nafrianto

boral
18
boral 2014.12.12 05:54  

Thanks for the ea. I was looking for exactly this thing. 

 But this is not working always. For example I have set my take profit at 3 pips and stop loss at 200 pips. It does not always modify the order. Sometimes it does, sometimes it does not. As 3 pips is too close to market so I have also tried with tp = 0 and sl = 200 so that I have to modify only tp only manually. It also does not work. Any insight why it is not working. 

 Please see the picture below. I have modified tp = 10 and sl = 200 and opened a trade. See the time stamps circled in red. Even after 2 minutes the tp and sl are modified.

 

Roni Nafrianto
4701
Roni Nafrianto 2014.12.12 20:48  
boral:

Thanks for the ea. I was looking for exactly this thing. 

 But this is not working always. For example I have set my take profit at 3 pips and stop loss at 200 pips. It does not always modify the order. Sometimes it does, sometimes it does not. As 3 pips is too close to market so I have also tried with tp = 0 and sl = 200 so that I have to modify only tp only manually. It also does not work. Any insight why it is not working. 

 Please see the picture below. I have modified tp = 10 and sl = 200 and opened a trade. See the time stamps circled in red. Even after 2 minutes the tp and sl are modified.

 

thanks for your comment. It couldn't modify tp/sl if price is currently higher/lower than the TP/SL.  The TP/SL is modified based on open price, not current price. The TP/SL doesn't include Minimum Stop Level. and please enable Auto Trading to let this EA modify your empty SL/TP.
khaled193939
5
khaled193939 2015.05.24 13:00  
hi mr roni
thank you for the expert
some times between open the order and setting tp and sl the price move very fast and very far acrossing sl or tp
could you let the expert close the order if it more or equal than sl or tp in the expert  ?
example :
sl: 15
tp: 23

opening the order and before the expert set sl & tp the order profit is 26
the expert close the order

example 2 :
sl: 16
tp: 12
opening the order and before the expert set sl & tp the order lose is 19
the expert close the order
some thing else
when the order reach actual profit or lose i set it(not the sl or tp) let the expert sound alert

sl: 16
tp: 19
when tp reach 9 point the expert alert me

and when the order is closed the expert alert me
Roni Nafrianto
4701
Roni Nafrianto 2015.05.24 18:59  
khaled193939:
hi mr roni
thank you for the expert
some times between open the order and setting tp and sl the price move very fast and very far acrossing sl or tp
could you let the expert close the order if it more or equal than sl or tp in the expert  ?
example :
sl: 15
tp: 23

opening the order and before the expert set sl & tp the order profit is 26
the expert close the order

example 2 :
sl: 16
tp: 12
opening the order and before the expert set sl & tp the order lose is 19
the expert close the order
some thing else
when the order reach actual profit or lose i set it(not the sl or tp) let the expert sound alert

sl: 16
tp: 19
when tp reach 9 point the expert alert me

and when the order is closed the expert alert me
Yes, I can do it. But I'm currently busy. :(
shoaibsaleem
8
shoaibsaleem 2016.10.12 19:30  
please show the lot size and something add increase lot for exmple 1st 0.01 if hit tp then ok if hit sl then increase lot 0.02 then 0.04 then 0.08 i think it will be very power ful robot then its result will very well
Ricardo Sakiyama
42
Ricardo Sakiyama 2016.12.29 04:04  

HI  Mr.Roni

thx for expert very power full

but i have question,

is possible to add pip close + swap?

Roni Nafrianto
4701
Roni Nafrianto 2016.12.30 19:58  
Ricardo Sakiyama:

HI  Mr.Roni

thx for expert very power full

but i have question,

is possible to add pip close + swap?

please describe your need.
To add comments, please log in or register