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
Enable code debugging and test step by step.
Thanks for your response.
I Do debugging and found that incorrect SL due to high spread caused this problem.
Thanks for your response.
I Do debugging and found that incorrect SL due to high spread caused this problem.
The code inside the Expert Advisor is correct - but if at the moment of placing the price makes a strong movement, the POSITION will not be opened.
The code inside the Expert Advisor is correct - but if at the moment of placing the price makes a strong movement, the POSITION will not be opened.
I think this section should modified for crypo:
When I use RISK for deteminig lot I see getpointer error and i have to use fix LOT:
***
When I use RISK for deteminig lot I see getpointer error and i have to use fix LOT:
You see your mistake - think: what value of risk are you setting?
Remark: if you are using instruments with a HUGE spread, you must set an appropriate Stop Loss.
Always remember - there are TWO prices: Ask and Bid.
You see your mistake - think: what value of risk are you setting?
Thanks for your response. every thing is correct in expert. problems are due to insufficient balance and incorrect SL due to hug spread.
I set 1% risk for 500$ Balance. leverage set to 100. these errors apears:
OpenBuy, ERROR: method CheckOpenLong
OpenSell, ERROR: method CheckOpenShort
it means this balance is not sufficient for opening position with minimum lot size in BTC?
is it true ?
Thanks for your response. every thing is correct in expert. problems are due to insufficient balance and incorrect SL due to hug spread .
I set 1% risk for 500$ Balance. leverage set to 100. these errors apears:
OpenBuy, ERROR: method CheckOpenLong
OpenSell, ERROR: method CheckOpenShort
it means this balance is not sufficient for opening position with minimum lot size in BTC?
is it true ?
You found your mistake. Now think about how you can correct your mistake.
Hello, Vladimir
Thank you for sharing the expert, I am trying to add a condition for closing the position when the bar close pass the cloud , that is the code I added, can you help me out, please, I am very new to mql5
Hello, Vladimir
Thank you for sharing the expert, I am trying to add a condition for closing the position when the bar close pass the cloud , that is the code I added, can you help me out, please, I am very new to mql5
Please insert the code correctly: FIRST press the button
, and THEN paste the code in the pop-up window.
Please insert the code correctly: FIRST press the button , and THEN paste the code in the pop-up window.
Hello, again
Thank you very much for responding , and I am very sorry for the mess I did , I changed the code a little from my last post , and It still does not close position , and I set stoploss = 0