![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
Good afternoon, I'm in the UK :-)
You are welcome, I learn by trying to help other people . . . it's the best way.
hello all.
I followed the recommendations RaptorUK.
Code 1 is the one that works on the current chart I made as an example GBPUSD.
Code 2 is modified so that it works is whatever the chosen pair.
in the code as I took two GBPUSD so I should have the same information as the one put code on a chart GBPUSD.
Unfortunately this is not the case when the signal is buy it seems correct code 1 and code 2 give the
same results but in a sell signal they do not give the same results code 2 gives results which are necessary and vary
functions during short sell signal known value changes all the time what is wrong and this is not the case in the code 1.
So can you tell me where is my mistake?
thank you for your help.
cordially
CODE 2