Expert Advisors and Automated Trading - page 209

Hi Guys, i added the volume lot in the standard expert mama, could you tell me also how i can add a stop loss in the Advisor? Here the code: //+------------------------------------------------------------------+ //| ExpertMAMA.mq5 | //|
  MQL5 VPS EA  (2)
Gud day everyone! I'm testing the mql5 vps (24 hrs free) but my EA doesn't seems to work. I installed 3 EA in the same chart, migrate to the vps and turn off my computer. One EA that should function in not doing its job while I'm testing. In other vps (remote desktop connection) i've tried this
Hi guys, I'm with a problem here, I tried to search for a solution but didnt see any other cases like mine. Attached is the trade result graph and a piece of the history result in pips ( I checked the box "profit in pips for faster calculations" ) and in money. The results, as you can see, is that
I have not been able to get any of the experts to run on their own. A few months ago I was using either Fireball or Yellow Free both from the market. They worked on a demo account and then I came home one day and they just seemed to stop working. I messed around with it after waiting a few more days
I want to make my EA run multiple times with every possible settings and determine the best possible settings for the EA. Is it possible to do it within mql5? Thank you
Hi i usually put 2 pending orders on chart's one sell and one buy limit and i need a EA to delete one of these pending order's when an other one active i mean if price reach my buy limit and buy activated then EA delete sell limit and if sell active delete buy and EA must do this for all pairs not
Hi, TimeGMTOffset() and TimeDaylightSavings() do not work in the backtester. I need to find a reliable way to find the opening times of the london market and US market over several years. Does somebody have a good sollution for this ? For the MT5 developers: is it not possible to make the
First time poster. Behold my trailing stop function. It moves my SL by 10. It also moves my TP by 10 as well, which is a lot better than it completely being removed if I add a 0 on the end at the: Bid-takeProfit* _Point ); location. QUESTION: How do I not move my TP. I looked everywhere for an
Does any one know how to lock an ea to a particular broker and server? Thanks.
  Lot size variation  (12   1 2)
My copy account lot size varies between 0.05 and 0.15 lots whereas signal provider `s lots size is always 1.0 ( in the same period ). Provider`s account is 7 times larger than mine -----so my lot size should be 1.0 divided by 7.0 = 0.143lots . Same margin. Why is this occurring
Is higher timeframe data looking into the future? Obviously not when forward testing! But how about when backtesting ? Lets say we're running an EA backtest on 1H, in the middle of the day, a few weeks in the past. The EA uses some MTF indicator. At some point the EA switches the indicator from 1H
I have a very basic question: say I have a buy position and I close it with trade.PositionClose( _Symbol ); Is it safe to say that PositionSelect ( _Symbol ) will be false immediately after that? I ask because I have developed an EA that has the following basic structure: if ( PositionSelect (
Hi. I created a panel using Scroll.mqh class. Scroll Decrease button does not work. When I click Scroll decrease button, it works like Scroll increase button in fact moving the scroll to downwards ( but scroll decrease button should scroll to upwards). Is this only me experiencing this problem ?...
Hi I was looking for a EA that combines multiple TP levels and trailing stop For example: I buy 1.00 lot of EUR/USD at 1.8000 and I'm aiming at 3 possible TP targets TP1: 1.8020 TP2: 1.8050 TP3: 1.8100 SL: 1.7950 The EA, once the price reaches the first TP, would close a portion of the trade and
Since I'm in the USA, I can't find a broker that uses ECN (Electronics Communications Network). Will this cause a problem when trying to find profitable EA's
Hello am new to programming as a whole I have learned a few basic and have built my first EA but it is closing trades on close price not current price.......I don't know what I did wrong but I would love some help it uses moving average for enter and close below is the EA file
Hi, I have written a Trailing Stop function but I get the error code 4756 and return code 10013 during test. The code below is just for the BUY orders for simplicity (same applies for SELL orders). I call the function from the OnTick() when there are some conditions meet. void TS_pips() {
My trading robot is reporting "order send failed error #0" how can i fix this error please On demo it work properly but on live account it reports that error message
I am not asking for broker recommendations. But all the brokers I've found so far in the USA have minimum Stops Levels. Will this be a huge problem for me finding functioning EA's
I would like to draw line like the chart above. (It's from MT4). Does anyone know how? Thanks
I wanna to use specific RSI levels for another indicator like alligator (like below picture). For example I wanna to use tow level of RSI indicator (30, 70) and when alligator cross these levels then open trade. How can I use that in mql code
I purchased some EA's for MT4. They worked fine on backtester in my demo account. Couldn't get them working for backtest in live account. I've had them running in the live account for several days now with no executed trades, and no attempted trades (no error messages)
i am trying to make an EA for auto risk calculation but still not successful. i am trying to calculate risk from Stoploss value in pip. Example my stoploss is 10pip & i want to take the risk of 5% of my total Account balance. it should calculate from these two parameters... Here is my code i...
Hello, i want to use a parameter file for my strategy. param.txt The param file is in MQL5/files. When i open datafolder/MQL5/files, i can see the file there. Also, the file loaded correctly when applying strategy to chart. Loading fails when backtesting, even i have the test file directive in the
Hello. I need to modify an EA that makes simple (orders one at a time) to be able to close all orders made by it at a pre-defined time (23h50). Any idea how to it? Maybe something like this? https://www.mql5.com/en/forum/139654 ps: I only started with mql5 two days ago, tried to implement it, but
Hello, I’m testing Tradefields MT5, I and I have an issue with it : - Everytime I test my strategy on another year the EA stops in the middle of the month or the year and give me incomplete results. - The software’s owner told me, there a file to delete each time. It’s a waste of
Hi ladies and gentlemen! Faced the problem of different results at optimisation with identic MT5 terminals/accounts. All the adjustments of the robot are identic, accounts are different but also identic - pamm.ecn.mt5. The results are different. Does anybody have any idea what may be the matter
Hi there MetaTrader developers, I really understand how difficult would be porting the whole MT terminal into a Linux-compatible design. However, on the other hand, I think that it is long past the time of a Linux MetaTester agent. So, can you please consider a Linux version for MetaTester? Thanks,...
Hi, I'm uploading an EA into the marketplace, and the backtest shows me: Not enough money. The default start lot of the EA is 0,01 lots (no marti), when I look into the backtest journal I see, that the EA is being tested with 0,2 lots. Why, can someone explain
hello, folks my mt5 script is very simple, it read csv like this : void OnStart () { //--- string dt ; int file_20 = FileOpen ( "104782531.csv" , FILE_READ | FILE_CSV , ';' ); if (file_20!=- 1 ) Print ( "Error is" , GetLastError ()); Print ( StringToInteger ( FileReadString