"Close deal by filter" option for each filter

Avatar
  • updated
  • Completed
Avatar
0
i_solaris

The EA has now the option to close on opposite signal. What is the differ?

Avatar
0
giulio de meo

At the momente, close on opposite signal means that ea will close if for example ea opened trade on rsi overbought zone and pass to oversold zone, and it's okay. I would like to implement three things. Imagine we use different filters, like one ema 5 , and one sma 100, we cant't decide on which one of the two ma's the ea Will close if opposite filter happens. So it would be better that we can decide in some way of another. And others thing I would like to implement, is close on new trading opportunity and open a new one, and close on opposite trading opportunity and open a new one. Hope it's clear.

Avatar
1
Andrey Khatimlianskyi
  • Under review

At the moment EA can close deals:

  • On opposite signal of oscillator
  • Or if any filter disables trades in this direction

Both options can be enabled "only in profit".

I think Giulio wants to add "Close deal by this filter" option for each filter. So, only selected filters will close the deals. With the same "in profit" option.

And I think it has sense.

Avatar
0
Andrey Khatimlianskyi

Giulio, please, make a header shorter. It must be easy to read and understand.

Explain your idea in details in the body of message.

Avatar
1
giulio de meo

I think how you explained in the first message is very clear. I think that if we use multiple filters, we need to choose on which filter Will the ea close the position if opposite signal happens.

Regarding the two first ideas, thinking more carefully, you can delete it cause are useless.

I am speaking about this two: "close on new trading opportunity and open a new one , - close on opposite trading opportunity and open a new one,". If you dont find it interwsting, you can delete it. Thank you.

Avatar
0
Andrey Khatimlianskyi
  • Planned (collecting votes)

Great!

Avatar
0


it is simple just put an option of "false" or "true", for each indicator, either to open the trade, or to close, or when the parameter is "0" the option is automatically disabled until it is better because it avoids a more parameter in the description,

Avatar
0
Andrey Khatimlianskyi
Quote from matheus da freiria cressembene


it is simple just put an option of "false" or "true", for each indicator, either to open the trade, or to close, or when the parameter is "0" the option is automatically disabled until it is better because it avoids a more parameter in the description,

We already have parameters to disable any signal or filter for the opening signals.

And this topic is about the closing signals.

Avatar
0
Andrey Khatimlianskyi
  • Started
Avatar
0
Andrey Khatimlianskyi
  • Completed

Done in 2.16 beta1