Experts: LacusTstopandBE - page 2

 
Vladimir Karputov:

No. Read the description: "The Expert Advisor is only designed for manual trading. The EA sets stop loss and take profit for positions and pending orders on the current symbol. It also has trailing stop and breakeven functions." That is why the EA uses Magic equal to '0' - since a position opened manually has Magic '0'.

ah oki thanks for your reply and for your patience. I found this answer

https://www.mql5.com/en/forum/60159/page2#comment_1778582

it means that the EA could be attached on one chart only and it manages all the positions opened? I mean, if for example i attach the EA on eurusd, also all the other trades open for any other pairs will be manged by the EA? It would be great because on the other other charts i could attach some other EA.

Sorry for abusing your time, it's just to be sure i am understanding correctly.

Many thanks have a nice day

Experts: LacusTstopandBE
Experts: LacusTstopandBE
  • 2015.07.24
  • www.mql5.com
LacusTstopandBE: Author: Lacus1977...
 
Tell me, what can be the error, when opening a position BUY, TakeProfit and StopLoss are set, but when opening a position SELL no TakeProfit and StopLoss, on different symbols started, what can be the reason?
 
12_22:
Tell me, what can be the error, when opening a BUY position, TakeProfit and StopLoss are set, but when opening a SELL position there is no TakeProfit and StopLoss, on different symbols it was started, what can be the reason?

I reuploaded the code - please check version"1.002".

 
Vladimir Karputov:

I've re-posted the code - check version"1.002" please.

Thank you! Everything works, great.

 
Good day Vladimir,
This is just what I'm looking for but please answer the following:

If I'm using trailing stop and a fixed take profit do I have to use the following inputs or can they be left blank? 
Close all if profit reached the x percent of balance or
close all if profit reached the x profit amount in currency
Close if profit reached x profit amount

Are ALL the inputs to be in points or pips - see example below:
Breakeven Gain after reaching x pips - the number of profit points after which a position will be moved to breakeven.


Thank you.


 
drakeysnr :
Good day Vladimir,
This is just what I'm looking for but please answer the following:

If I'm using trailing stop and a fixed take profit do I have to use the following inputs or can they be left blank? 
Close all if profit reached the x percent of balance or
close all if profit reached the x profit amount in currency
Close if profit reached x profit amount

Are ALL the inputs to be in points or pips - see example below:
Breakeven Gain after reaching x pips - the number of profit points after which a position will be moved to breakeven.


Thank you.


None of the settings can be disabled - all settings always work.

To find out 'pips' or 'points' - look inside the code.

 
The Expert Advisor kicks out of the chart. I didn't bother with it any further. And there are a lot of unnecessary settings. It may be useful for a code base.