Expert Advisors and Automated Trading - page 430

  CoreFPS for MT4?  (5)
Hi, let me begin by saying I am from the USA. I backtested the CoreFPS EA, and got great results. I was very happy, no all I had to do was find a good broker. Easy, right? Wrong. None, and I mean NONE of the USA regulated brokers use MT5, which CoreFPS is made for. Is there any way I can buy the EA...
Hi, I wanna write something to a textfile everytime a new pass is done while optimization-process. The question is, how can I recognize a new pass ? Is the Start() or Init()-Function run once at every new pass ? Thanks, Swen
  iBearsPower  (1)
Does anyone know what is the code to calculate the median number between the highest value and lowest value of iBearsPower ? For example: iBearsPower highest value is: 50 iBearsPower lowest value is: 10 Median value is: (50+10) / 2 = 30 I want to know what the mql4 code for that
  swaps  (3)
Can anyone tell me if swaps are calculated in when performing a backtest with a EA? I would guess yes with the current swap the is when testing? Just want to double check, thanks! *Please source your info*
  EA Crossover's  (1)
Hi Guys I have notice that the MA's crossover does not happen the same time as a stochastic and that the EA I am looking for or going to get created, which would be a better buy or sell signal MA or Stochastic crossover? Can I base the trade entry on a MA and exit on the Stochastic? What would...
Hi Everyone, Apologies for the slightly off topic subject here, but was hoping someone on the forum may have experience in HTML coding and be able to help me with an issue I'm having sending mail notifications from my EA. (I couldn't find an off topic section). I have an EA that send me email...
Is there any way I can reference a function in the EA from my custom library, since there are multiple functions that are customer related functions so must be in EA, but are called in specific places in my code in library no matter what the job? For instance, I have OnTime function, and inside that...
The title says it all. Or how to check the percentage of the interval tested at the moment (it is shown in the agents window). Thanks
// Current order // [#1] [#2] [#4] for (int pos = 0; pos < OrdersTotal(); ++pos) { // when pos is 0, [#1] is selected. if (OrderSelect(pos, SELECT_BY_POS) == false) { } // (1) long long process... (More than 10 sec) // canceled or closed order [#1] [#2] and new order [#5] => [#4] [#5] // then next
Hi! Question 1 I use a virtual server, everything has worked great until I sync today and immediately after that it closed partial end on 5 positions. This can not be a coincidence? I have not made any changes in the positions. Why should it be closed or sub-end 5st positions in the 30s when...
  iLowest  (2)
Hi, I'm trying to create an EA that place a buy order when price is above the 50 days line. Here's the 'if' condition: if((iLowest(NULL,1,MODE_LOW,10,0) > iMA(NULL,PERIOD_M1,50,0,MODE_SMA,PRICE_CLOSE,0))) However, When I test out that if condition it placed an order at a bar higher then...
[Deleted]
example open buy 0.10 lots and i want to close just 0.05lots
  Date Formats  (2)
Is it possible to have my EA display the date in the format "Monday 7th December 2015" ? Is there an easy way to do it without concatenating lots of extracts from the TimeCurrent()? I've been going round in circles with it, surely there must be a function that displays in this format. Maybe I'm...
Hi, Is it possible to code an EA based on an indicator if I only have the .ex4 file of the indicator? I found the indicator on a forum, so its free to use for everyone (the author posted it). All the best! Simon Johansson
Hi I am new to mql5 and want to design a strategy that essentially looks for turning points on short term ma's. The user will select a ma period and a number of ma points to loop through. Ie 5 moving average period for 50 data points I am not sure how to loop through the moving averqge array and
Sentence I came across: Trade with virtual orders, sl and tp and put real sl and tp in within 1-2 pips of virtual in case of safety. I came across this sentence, but i can't understand or visualize what it means. From my own interpretation, coder point of view: - Virtual order is referred to a...
Hi All, I've just realised that the SendMail() function seems to recognise basic HTML coding. I have an EA that emails me alerts when certain events happen. It would be good to have it look a little nicer than just text so I've tried some basic HTML code like the header tag <h1> and it formatted...
Hi Guys I need a simple Expert or Script that can close my trades by a defined time. for Example; my Trading-time is from midnight until lunch then the ea/script should control my tradingtime. I need something like a "Master" EA/Script that control my trading. He should block if it's not in "my
Hi, I am looking for a programmer to develop for me an EA based on my requirements.
I want to ask question that There is invalid fill in Expert Tab i got solution but dont know what to do further.That is where to put this coding.I saw this link https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes 10030 TRADE_RETCODE_INVALID_FILL Invalid order filling...
I have 2 desktop an one laptop.  All running Windows 7 I have  working setups of Metatester on the 2 desktops My local network is 192.168.10.xxx All computer work as expected accessing intewrnet One desktop with ip 192.168.10.44 the strategy tester takes on the following ip adress for...
what code to create an grapict in ea like this?
Dear everyone,   Anyone know what is wrong with the following statement?    Comment(Symbol());   When I compiled, it says "Symbol'-ambiguous call to overloaded function with the same parameters.". Or is there a way to write code to store the value of Symbol()?   Thanks you in advance.
  timeframe  (7)
Is there any EA by which i can get 2, 4 , 6 8 and 12 hours time frame, bcz for multi time frame analysis i need these charts, but dont want to use mt5 , i dont like that platform at all.
It's said in MQL4 Reference that "Function templates can also be used for class methods". Then I tried th folwing code: class CTest  {private:   public:                                          CTest();                    ~CTest();                    template<typename T>                    void...
Can anybody help me: Why price of XAUUSD is 1093.09 but digits=0 and point=0.00 from MarketInfo? Thanks, a lot
Hello I want to add a condition to my EA. I want it not to open a new buy until the short is either stooped out or meets the take profit criteria. Similarly, I want my EA to not initiate a sell until the already open buy meet either the stop loss or take profit condition. I am using Molanis...
  HELLP
Hello friends . Do you know EA, which can make a deal when I tell him, and take the data than the closing or opening of that time. And close deal after a gain of 10 PIPS (I like to transact business at the London operations and usa) Thank you OR
Hello i want to ask is it possible to make EA that can count closing trade in that pair in some spesiific range of time (ex: a day or a week)? since as long i know EA can only count order trade only, and i try to find it in google but found nothing please anyone who knows tell me anything you...