Is it possible for "take profit" and "sell request" to get confilict?

 

I am newbie in EA system and it's the first time I am trying to write one of them,

So a question came up to me: Should we write sell request for our EA, if we have specified take profit in our buy request? I mean the EA won't sell our stock when the market price reached to our bought price+ take profit point?

Also I have another question. What will happen if we have specified TP in our buy request, but we also write a sell request for that stock too?


Thank you in advanced!

 

rezaeee:

 What will happen if we have specified TP in our buy request, but we also write a sell request for that stock too?

It depends how you write the code.

If you just want the buy closed when it hits TP, then no need for the sell.

If you want a sell opened if the buy hits TP, then code it to do so.