Expert Advisor picking only long trades
Hi, I have built an MT4 whose entry signal is based on moving averages. It's working fine but the problem is it's picking only buy trades. I have tried to look for the bug in my EntrySignal() function but there seems to be none (No mix up in the relational operators). Could there be something i'm missing? Thanks
- [WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you.
- Close Profitable Trades Only, at Profit Target
- problem understanding PositionGetDouble(POSITION_VOLUME) and Volume()
denolator:
Hi, I have built an MT4 whose entry signal is based on moving averages. It's working fine but the problem is it's picking only buy trades. I have tried to look for the bug in my EntrySignal() function but there seems to be none (No mix up in the relational operators). Could there be something i'm missing? Thanks
Hi, I have built an MT4 whose entry signal is based on moving averages. It's working fine but the problem is it's picking only buy trades. I have tried to look for the bug in my EntrySignal() function but there seems to be none (No mix up in the relational operators). Could there be something i'm missing? Thanks
Attach your code (Alt+S) and post it to get help as nobody can see it yet....
Topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I have moved your topic to the MQL4 and Metatrader 4 section.