Akash Gedam:
Please insert the code correctly: when editing a message, press the button and paste your code into the pop-up window. (The first time I corrected your message)
I am getting error as invalid lots amount for OrderSend Function. When I check the value of values of entryPrice, stopLossPrice , I gets it as 0. I don't know where am I going wrong. My code is as follows:
***
Akash Gedam: When I check the value of values of entryPrice, stopLossPrice , I gets it as 0.
-
Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum 2019.05.06
Messages Editor -
Obviously zero is an invalid price.
Use the debugger or print out your variables, including _LastError and prices and find out why. Do you really expect us to debug your code for you?
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 am getting error as invalid lots amount for OrderSend Function. When I check the value of values of entryPrice, stopLossPrice , I gets it as 0. I don't know where am I going wrong. My code is as follows:
***