Download MetaTrader 5

Need Experts opinion

To add comments, please log in or register
mntiwana
3568
mntiwana  
Hi  Kind experts
Alain Verleyen,honest_knave

Here is an simple (sample) EA by MLADEN from TSD,it is based on (using) one single on chart indicator, "StepMA of rsi adaptive tema 1.1",and working well as suppose to be,taking trades buy/sell on trend change (color change) optional on current bar,1st bar,2nd bar after changing color (on choice),if the trade (order) is closed in middle of trend by any reason the EA keep silent till next trend/color change.

i want your opinion,is there any way,if the trade is closed in middle of trend because of stop loss/take profit hit or for any reason,if EA can open an other next order in the same direction according to trend when trend is still valid,currently it opening orders only at start of trend/color change,i tried explain in picture.


regards


 

Alain Verleyen
Moderator
33295
Alain Verleyen  

  1. Detect that an order was closed (by counting them for example).
  2. Check this closed order was in profit.
  3. Check the trend is still valid.
  4. Open a new order in same direction.

mntiwana
3568
mntiwana  
Alain Verleyen:

  1. Detect that an order was closed (by counting them for example).
  2. Check this closed order was in profit.
  3. Check the trend is still valid.
  4. Open a new order in same direction.

Alain Verleyen

Thanks for taking time,do you means a next buy order can be open within current valid up trend when a previous opened buy order was closed for any reason according the illustration picture.

i think before stop loss hit,trend color will be changed and order will be automatically closed (current) and opened (new) accordingly trend colors in normal market situation but it can happen in high volatility market price movements (for example-hot news)

regards
lahim77
24
lahim77  
mntiwana:
Alain Verleyen

Thanks for taking time,do you means a next buy order can be open within current valid up trend when a previous opened buy order was closed for any reason according the illustration picture.

i think before stop loss hit,trend color will be changed and order will be automatically closed (current) and opened (new) accordingly trend colors in normal market situation but it can happen in high volatility market price movements (for example-hot news)

regards


Hi

Have you tried it someway !

Is it profitable?

whroeder1
15913
whroeder1  
mntiwana: i think before stop loss hit,trend color will be changed and order will be automatically closed (current) and opened (new) accordingly trend colors
  1. Don't think, test.
  2. It will not be closed automatically on trend change, unless it is programmed to (stop and reverse on a new signal
  3. It will reopen in the same direction if it looks for a signal, not a change in signal.
To add comments, please log in or register