How did you set SL and TP?
What does the logs say: Journal and Expert?
-
Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using Code button) or attach the source file.
How To Ask Questions The Smart Way. (2004)
Be precise and informative about your problemI don't know what a "trade" is.
- makdog #: trade.buy(1, _Symbol, 0, 0.9, 1.2);This looks like you are trying to open an order with zero lots. Of course that fails.

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 assign a TP and SL value but it doesn't appear on the trade view, how can I fix this? I would also like it to show the number 0.0000 when I don't set a TP and SL value. Thanks!