Stop constant alert to my phone

 

Hello;

I wrote a routine that will activate a trailing stoploss.  It works as it should.

I have the MT4 platform forward activities to my phone under notifications (Tools -> Options -> Notifications)

Problem  I am having is that every tick the trailing stoploss gets adjusted my phone will beep (notice of trade transaction).

How can I get this to notify me only once (upon activation of trailing stoploss)?

Any suggestion is much appreciated.


Thanks.

 

Disable the trade notifications and have the EA send only the notifications you want.

Also, don't update your trailing stop on every tick. Use a trailing step or a time step.

Forum on trading, automated trading systems and testing trading strategies

simple explaination for TRAILING STEP pls (example included)

Fernando Carreiro, 2023.03.14 19:12

The trailing step is the range by which a favourable price needs to advance, before a trailing stop is updated.

So if the trailing stop is 100 pips and the trailing step is 20 pips, then every time the price moves favourably 20 pips from the previous "step" level, then the stop-loss is updated to be 100 pips from the current price "step" level.

Example, assuming no take-profit and only a trailing stop-loss

  • @1.0000, SL: 0.9900
  • @1.0005, SL: 0.9900 (no change)
  • @1.0015, SL: 0.9900 (no change)
  • @1.0020, SL: 0.9920
  • @1.0030, SL: 0.9920 (no change)
  • @1.0040, SL: 0.9940
  • @1.0060, SL: 0.9960
  • @1.0080, SL: 0.9980
  • @1.0100, SL: 1.0000 (break-even)
  • @1.0120, SL: 1.0020
  • etc.

 
Fernando Carreiro #:

Disable the trade notifications and have the EA send only the notifications you want.

Also, don't update your trailing stop on every tick. Use a trailing step or a time step.


Hello Fernando;

Modified your first recommendation.  working well.  thanks

Like your second recommendation and will implement that as well - thanks again.