I really don't understand what this could mean: "I want this to do something". What is this and what is something?
It is for an indicator that counts pips fo my EA which I run together. I would like it to set the counter to 0 when the stoplose moves in the correct direction. What I mean by correct direction is that it is a trailing stop that moves every 15 ticks. So every 15 ticks the counter would go to 0.
There are plenty of solution: https://www.mql5.com/en/search#!keyword=trailing
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I want this to do something when the current stoploss is greater than the previos stoploss. Can someone help?
Please?