Experts: Trailing Activate Close All

 

Trailing Activate Close All:

Assistant - works on the current symbol, has the 'Trailing activate if profit is >=' parameter in the trailing parameters. Sets the initial Stop Loss and Take Profit. Closes all positions when target profit is reached

Trailing Activate Close All

Author: Vladimir Karputov

 

this is realy good

You are really professional

I tried it in demo so so good

 

 Closes all positions when target profit is reached... how it works  ?  ...

does it efect trailing stop or take profit

 
Al Sayid # :

  Closes all positions when target profit is reached... how it works  ?  ...

does it efect trailing stop or take profit

How it works: Let's say you set the EA to "USDJPY" and set the 'Target Profit' to $5. You have opened several (or one) positions on "USDJPY". If the total profit of these positions exceeds $5 (the check is performed on each tick), all "USDJPY" positions will be closed.

 
Vladimir Karputov #:

How it works: Let's say you set the EA to "USDJPY" and set the 'Target Profit' to $5. You have opened several (or one) positions on "USDJPY". If the total profit of these positions exceeds $5 (the check is performed on each tick), all "USDJPY" positions will be closed.

Wonderful...

 

Look I got an idiea

you are so professional .. may be you will undrstand what I 'm thinking

may be If you can combine the tow EA you made

Trailing Activate Close All  and  DeMarker gaining position volume

it well be Excellent

you can call it

Excellent Automated Trader

thank you for every thing....

you are realy No. 1

.........

if you choose auto

when the price go up ... a Sell stop get position after 5 pointes

if price go down ... buy stop  get position after 5 pointes

10 or 20 positions Buy stop ....UP

10 or 20 positions Sell stop ....DOWN

10 or 20 position Buy Limmit ... UP

10 or 20 position Sell limmit ...DOWN

Files:
11.jpg  229 kb
 
Al Sayid #:

Look I got an idiea

you are so professional .. may be you will undrstand what I 'm thinking

may be If you can combine the tow EA you made

Trailing Activate Close All  and  DeMarker gaining position volume

it well be Excellent

you can call it

Excellent Automated Trader

thank you for every thing....

you are realy No. 1

.........

if you choose auto

when the price go up ... a Sell stop get position after 5 pointes

if price go down ... buy stop  get position after 5 pointes

10 or 20 positions Buy stop ....UP

10 or 20 positions Sell stop ....DOWN

10 or 20 position Buy Limmit ... UP

10 or 20 position Sell limmit ...DOWN

and of course...some way...to test it in strategy tester...with changing Valuables .

 
Al Sayid #:

and of course...some way...to test it in strategy tester...with changing Valuables .

DeMarker gaining position volume 2:

Version 2 added:

'Stop Loss', 'Take Profit'. The 'Trailing activate ...' parameter has been added to trailing - we can say that this is a breakeven parameter that does not depend on either 'Trailing Stop' or 'Trailing Step'. How it works: The EA expects the position to become profitable at least 'Trailing activate ...' Points and will move the stop loss to that level if possible. Then the usual trailing will work.

Added parameter group 'Time control'

DeMarker gaining position volume 2
DeMarker gaining position volume 2
  • www.mql5.com
Version 2: extended functionality (added a few extra options)
 
for what is the InpFreezeCoefficient parameter?
 
dotcomgnet #: for what is the InpFreezeCoefficient parameter?

According to the source code it is used to adjust the broker's Stops Level and Freeze Level. And in the case they are not set by the broker, it is set to a value based on the spread adjusted by the this parameter.

 

Hi . 

note

this EA is too helpful ...

but the TP & SL ... activated from price not from position

when I put TP 200 AND disable algo trading ...then when I activate  algo trading after a moment   

the TP sets from current price not from position