northedan:
Just had a quick glance at the code - something is not right?
For a BUY TP is OpenPrice plus (+) Profit and SL is OpenPrice minus (-) StopLoss
For a SELL TP is OpenPrice minus (-) Profit and SL is OpenPrice plus (+) StopLoss
Just check you code because it looks like you BUY and SELL is the same :)
Barry Hendriks:
Thank you!!! It's works.
Just had a quick glance at the code - something is not right?
For a BUY TP is OpenPrice plus (+) Profit and SL is OpenPrice minus (-) StopLoss
For a SELL TP is OpenPrice minus (-) Profit and SL is OpenPrice plus (+) StopLoss
Just check you code because it looks like you BUY and SELL is the same :)
northedan:
Thank you!!! It's works.
I have been there - just cannot find the problem until someone else points to the problem :)
Thank you!!! It's works.
Barry Hendriks:
I have been there - just cannot find the problem until someone else points to the problem :)
My EA opens a sales order, then buys, then sells, and then buys. Always following this sequence. He does not open orders followed by purchase or sale. I do not know how to solve this either. I believe I should create 2 EA for each operation.
I have been there - just cannot find the problem until someone else points to the problem :)
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