EA_based Trailing Stop - page 10

 

Hi

Yes i know and it doesn't work for me

 
lukibest:
Hi Yes i know and it doesn't work for me

Tested it right now and it works (see the text in the lower right corner - those trailing stops were set by that EA). So it does what it is supposed to do. Check if the "BBands Stops1" indicator is in indicators folder (using that exact name). When it reaches the desired level it should do the job

Files:
 

Dosen't work, only inital stop working

Files:
 
lukibest:
Dosen't work, only inital stop working

Yep, you are right. It was not retrieving the values of BB stop correctly. Try out this version (attaching an example picture where the trailing stop was moved to correct bb stop value)

____________________

PS: If there was a sell order there too, it would set up the initial stop loss and only when a bb stop trend changes (and an apropriate bb stop appears on chart) the it would start trailing the sell order too - it is de to discontinued nature of the bb stops)

 

PPS: re-download the file, Found one more issue. It is solved in the last posted one

 

Thx man!

 
mrtools:
Quoting Mladen because this mod is all the same and explained very well by him, except this version using bollinger band stop instead of ema, the BBands Stops indicator needs to be in your indicator folder for this Trailing Ea to work.BBand Stop mtf and alerts posting so maybe to help setting up your trailing. Haven't tested back or fwd so hopefully it will work ok.

This version above, the indicator is giving zero divide errors posting fixed version here

ps) this EA version not working, a fixed EA version posted here https://www.mql5.com/en/forum/175843 again you will still need the indicator posted here for the EA to work.

 

EA from this post : https://www.mql5.com/en/forum/175843/page2 updated to be new metatrader 4 compatible :

 

An update

An update of the EMATrailingStop EA

__________________________

Changes :
It can monitor all the symbols or just the symbol it is attached to. If TrailAllSymbolsoption set to true it will trail all the symbols (regardless of the symbol it is attached to - you can freely jump between symbols, it will not change the way it is working), if set to false, it will trail only the symbol it is attached to

It can monitor stopLoss less EAs. With magicNumber.from and magicNumber.to you "regulate" which magic numbers should it trail (magic number 0 are usually only manual trades, so if you include 0 it will monitor and trail manual trades along with chosen magic numbers)

It can close monitored trades when certain profit is reached. When CloseWhenProfitis set to > 0, it starts "profit monitoring" and if the total profit for trades it takes care of exceeds CloseWhenProfitit will close all those trades

It can trail trades that are "in profit" or every trade. if TrailOnlyInProfitis set to true, it will trail only those trades that are already in positive profit, otherwise it will traill all the trades

__________________________

One more new feature is the regulated with the showMessagesoption : if set to true it will show messages like those on the right lower side of the picture (as you can see you do not have to be at the chart where you symbols of interest are), otherwise messages are going to be redirected to journal tab

Rest of the parameters did not change and they have the same meaning as in previous version.

__________________________

Of versions : there are no versions 1.1, 1.2 or 1.3 (at least public versions of it) Those were internal versions used by newdigital and me when testing this EA. So the versions existing are v1 and v1.4

__________________________

PS: updated version compatible with the new metatrader 4 posted here https://www.mql5.com/en/forum/175843

Files:
 
mladen:
EA from this post : https://www.mql5.com/en/forum/175843/page2 updated to be new metatrader 4 compatible :

Can you help me with this EA for MT4 build 610 ?

Thanks very much !

Reason: