- Hello all....pls help me fix this code.......dont know why Eas not open position
- Please Help
- last sell entry price returning zero but last buy entry price returning correct price, help pls
Your code is not valid MQL code, but only a logical notation of code. It is so simplistic, reduced and ambiguous, that the answer is Yes, No, Maybe and Don't know, all rolled into one.
Your code is not valid MQL code, but only a logical notation of code. It is so simplistic, reduced and ambiguous, that the answer is Yes, No, Maybe and Don't know, all rolled into one.
@fernando my main code description in question is
If (bid > 1.43256)
Also this example
If(ma>1.43256) buy or sell
Just want to open position once current bid price is above a specified currency price quote range of a particular symbol,other code are with me,just want to know if its right ? Or any suggestions
@fernando my main code description in question is
If (bid > 1.43256)
Also this example
If(ma>1.43256) buy or sell
Just want to open position once current bid price is above a specified currency price quote range of a particular symbol,other code are with me,just want to know if its right ? Or any suggestions
That is not proper MQL code! Anyone can write Psuedo code to organise their thoughts, but it will not put anything into action.
Create and write proper MQL and test it in the Strategy Tester.
How is it that you are seller of two products, including an EA, yet you are asking such a simplistic question?
Are you using this just to advertise? If so, then I will just ask the moderator to delete this thread!
Then please explain yourself in detail because your question and pseudo code is so simplistic that we don't know how to answer you!
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use