Download MetaTrader 5

Need Experts opinion

To add comments, please log in or register
mntiwana
3686
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
29862
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
3686
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
34
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
17105
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.
mntiwana
3686
mntiwana  
whroeder1:
  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.

Hi whroeder1

Thanks,as i tried and tested,i think it is programmed the way,it is taking trades only on new signal (change in signal comparing to previous close trade) - means (for example) when a buy trade is closed due to any reason it waits till the new signal appear in opposite trend (sell) - all i means if it is possible the EA look/search for all options after closing trade,in which direction signal/condition is valid,it should open a trade (only 1 trade at a time)

regards

timmyhanke
475
timmyhanke  
mntiwana:

Hi whroeder1

Thanks,as i tried and tested,i think it is programmed the way,it is taking trades only on new signal (change in signal comparing to previous close trade) - means (for example) when a buy trade is closed due to any reason it waits till the new signal appear in opposite trend (sell) - all i means if it is possible the EA look/search for all options after closing trade,in which direction signal/condition is valid,it should open a trade (only 1 trade at a time)

regards

The more you are in the market the bigger the risk but if you trend trade you need those quick and big candles to make up for the previos losses.  
So if a stoploss is hit and you need to wait for the next signal there is less of a chance to make it.  

Could be done if stoploss is hit and the market continues x pips in trend direction again then enter a new trade 😊
To add comments, please log in or register