EA Forex Academy – Algorithmic & Manual Trading Courses Forums Forex Trading Forum How to set EA to buy only in Metatrader 5

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
  • #13584

    In Metatrader 5 there is no “common” tab which allows you to select buy only, sell only, or buy and sell.

    The EA for Bitcoin Trading Robot is set by default to buy and sell. How can I change this?


    Hello Jammerly,

    Yes, that is not available actually in MT5. What you can do is to upload the Expert back in EA Studio and add the indicator Long or Short.

    Actually, that is a great idea for an update in the course. I will do it tomorrow and update the course.



    Thanks for the quick reply. So I guess then it is better to use MT4?


    Hello Jammerly,

    well, personally I prefer to use MT4. There are still many bugs in MT5, and most of the brokers with MT5 do not allow hedging.

    And actually, I can not update the EA with this indicator Long or Short, because I can make it open only in one direction. For example, only long.

    The idea is the traders to choose the direction according to the trend at the moment.

    Kind regards,



    For some reason I am unable to log in to the forum to post a question. I log into my account but when I go to the forum I am somehow logged out and when I log in takes me away from the forum. It is happening on multiple browsers.

    The only way I could access the forum is by replying on an old message.

    My question is about EA Studio and commission.

    When you input commission are you putting in commission for just one side of the trade or for round trade.

    When going through another forum I saw that Popov gave two different answer.

    One person asked about commission and gave an example of say .135% per side commission and wanted to know what to put in. Popov said to put in the $ value for the .135%

    In another post when asked about spread Popov told him to make a open and close a trade and record the total commission and input it.

    Just wanted to get a clear answer on this.



    I personally put the commission that I see when opening a complete lot. I don’t think if the broker charges two times, that is a good sign. Most probably the EAs will fail with such a broker because the costs are high.


    Yes, usually the broker will charge you just one time a commission, and that is when you are opening the trades.

    However, make sure to check that anyway it might be too expensive to use such a broker that charges twice per trade.


    Hi there, I’m new to EA Studio, but some how I cannot log in forum, the only way I can post is reply to a post here.

    Anyway, I’ve notice there are difference between backtest and live orders.

    For example, I set up an account in Aug 31, there is a SELL order, which resulted in loss.

    However in backtest, there was still a BUY order during this period, and resulted in win.

    Is it normal, I mean if I let the EA run for a while, can it match up with the backtest result? Or is there a way to make sure live account can have same orders with backtest?





    And one more thing, can you guys help me with my EA generating strategy:



    Timeframe: 15m

    Min orders: 300

    Profit factor: 1.2

    Profit: $10

    OOS: 20%

    Profit factor in and out of sample: 1.1


    My plan is to generate as many strategies as I can, then use top 33EAs for each pairs, then replace them using FXBlue when profit factor after 5 trades is below 1.2

    However, there are lots of ups and downs, for example, they can win a lot in row, or lose a lot. And GBPUSD EAs seem to open orders in the same direction quite often.


    Is there a way to make my EAs more diversified, I mean there’s no point using a lot of EAs for one pair then they open the same direction?

    Thank you


    I cannot post pictures in one reply  so I will post them here

    This is my trading account, as you can see there is a sell trade in Aug 31


    This is in backtest, as you can see there was already a BUY order, which was a win during the period 31 Aug


    This is my results, a lot of losing orders in a row, a lot of them are GBPUSD buy


    And a lot of WIN, also mostly from GBPUSD


    Hey Animti,

    Welcome to the Forum!

    When you do a backtest it shows all trades from the starting date.

    When you place the EA for trading, it starts from the moment you place it. And during this time on the backtest might be a trade. That is normal and logical.

    It will take a few days or weeks for the trades to start matching if you are testing on the same broker and Historical data.

    You can diversify the strategies in your portfolio by creating different strategies. For example, you can use different SL and TP range.

    In other words, when you set the EA Studio differently, it will generate different strategies.


    Thanks for your advice, still I’m a bit confused here.

    Normally, I will update my EAs once they reach 5 trades, however as you said it can take days or even weeks for the EAs to match backrest.

    So I’m thinking about updating every week or two, do you think the EAs are still ‘potent’ after a one or two weeks?

    I’m just afraid that they will start to lose after a period of time…


    Hey Animti,

    it really depends on the market, the asset, the strategy…

    Sometimes you need to be flexible and act faster with some of the EAs, sometimes you need to wait a bit longer.

    But, yeah, definitely testing the EAs for longer is not a bad thing. It does not mean that they will start to lose.

Viewing 15 posts - 1 through 15 (of 25 total)
  • You must be logged in to reply to this topic.