Robert Stan:
Hello Forum!
I'm trying to code a very simple EA which opens a trade when the new / next candle occurs + TS .
Part of the code is working as I want and new trades are opening fine but TS simply doesn't work.
I was wondering if somebody would be so kind and help me fixing this code ?
[CODE]
Which part of your code is failing?
Is the order not being modified or is the TrailingStop function never reaching a true condition?
Alexander Martinez #:
Which part of your code is failing?
Is the order not being modified or is the TrailingStop function never reaching a true condition?
order is not being modified by TS.

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
Hello Forum!
I'm trying to code a very simple EA which opens a trade when the new / next candle occurs + TS .
Part of the code is working as I want and new trades are opening fine but TS simply doesn't work.
I was wondering if somebody would be so kind and help me fixing this code ?
[CODE]