MQL4 and MetaTrader 4 - page 1171

hi how i can use a mql4 api in java ? please help me thanks
IsConnected() is not working! I find that this functaion always return ture! in case I switch off my network!!! So.. still have this bug!! seem is in carzy!
[Deleted]
Hi! As a long time trader, I'd like to recommend an online service that I personally find helpful (even as an experience trader!) there are many excellent learning forex resources online: my personal favorite is XXXX have several learning presentations and a trading simulator- pass and receive $100...
Stock Strategies Builder is designed for the selection of trading strategies in fully automatic mode. Also Stock Strategies Builder creates a ready code of an Expert Advisor (mechanical trading system) in MQL4 language for MetaTrader4 trading terminal on the basis of an automatically selected
[Deleted]
int AnalyseOrders(int Type, //OrderType { example: OP_BUYSTOP }                  double Price)// Order price we are searching for  {int Ticket = -1;   for(int i=1; i<=OrdersTotal(); i++)                  // Order searching cycle         {         if (OrderSelect(i-1,SELECT_BY_POS)==true)      // If...
Hi, Cannot download input.dll https://c.mql4.com/forum/2009/03/inputbox.dll mentionned here https://www.mql5.com/en/forum/115707 Why, Thanks.
[Deleted]
Is there standalone api for trading on metatrader4 server? All I need it connect, disconnect and basic trade functions... without running the whole metatrader4. I need to create a program with 100+ connections.
Hi, Given a such condition, how can I close all the BUY, or all the SELL, opened orders at once? Example: It must look for all the Buy opened orders, each one matching with a list of different magic numbers, and then, select all of it and close all of them at once. This must be valid to opened...
[Deleted]
Does anyone know how to trade these instruments in MetaTrader4, EU, GU, AU, NU, XAG/USD, XAU/USD I tried to find it on the market watch but I all I see is the normal pairs GBP/USD , USD/CAD etc
[Deleted]
  Market manipulation  (149   1 2 3 4 5 ... 14 15)
If we're talking about the currency market = how much money should I have to raise the price by 15 pips ? Take the euro-dollar - flat - how do I crash the euro or the dollar ? Some people give different answers starting from 1 million to raise the price by 1 point - some say 1 billion - others say
The following is some trailing stop loss code that compiles ok but then when i run the EA on backtesting it just doesnt act to put a trailing stop loss on. The trade just runs off into "infinite" profit actually, as when I open the trade I dont specify a TP value and at simulation end the trade is...
I have an interesting problem. I wrote an Indicator that uses the Standard Deviation as a denominator in an equation. When I use the value but not to divide something else by it, it works fine by which it implies it is a non-zero value. However, when used as the denominator, all lines (not just...
[Deleted]
What code do I have to put in my EA to run on London Time I have some strategies that I used in NY eastern standard time, but I want to use Pivot Points based of London Time. Pivot Point lines are Calculated based of the closing characteristics of the Previous day to determine pivot point lines for
[Deleted]
HI, I'm trying to use this EA as a risky type of Advisor, based on a martin gale 6steps trading mode but, I need him to fli the 7th trade to the opposite direcction,I'm Having a real Hard time trying to incorporate the 7th trade so if the 6th sell didn't make it the 7th goes double on the opposite...
[Deleted]
Hello, I'm looking to find a way to pass on a value to my EA. Similar to the MessageBox command. But instead of a "YES / NO" interaction with my EA, I'd like to pass on a value (input field). I have difficulties to find a MQL4 command which supports an action like this. Any ideas or suggestions?...
Can anyone tell me how to back test an EA that uses multiple currency charts? Example: EURUSD , EURCAD both at the 5 min. It could be any combination of pairs... and may be even up to 3 pairs
I want to measure the difference once bar at the time of an EMA to determine if it is increasing or decreasing. My problem is I can't seem to figure out how to store the newer EMA value until it becomes the older value, so I can compare it to the later EMA value. I know it must be simple. In the...
Hi all, i am trying to fix this indicator but didn't have success yet. Can anybody help me? The problem is that it not refreshes automatically. Here's the code Thanks...
HELLO GUYS... FOR EXAMPLE... A BROKER THAT PAYS 10.3 FOR AUDUSD LONG ROLLOVER... AND ANOTHER BROKER THAT CHARGE NOTHING FOR AUDUSD SHORT... ON A 200:1 LEVERAGE.. THE SWAP VALUE IS EQUAL 3% OF THE MARGIN REQUIRED ON THE LONG POSITION. ITS ABOUT 60% MONTH. SOMEBODY HAVE SOME IDEAS HOW TO AUTOMATE...
[Deleted]
  KINDLY SUGGEST  (2)
DEAR ALL AM NEW TO FOREX TRADING AND I REQUEST YOU TO KINDLY SUGGEST ME A BROKER WHO IS OFFERING DEMO ACCOUNT FOR NICKEL AND OTHER BASE METAL CFD'S THANKS IN ADVANCE REGARDS INDIANBULLS
I really don’t understand why my expert buy and sell the same symbol in 2 or 3 seconds, there is no reason for that in my formula. But, for sure I’m doing a mistake, I only don’t know where. Can you help me out with it? Thanks #property copyright ""#property link      ""//---- EMAAngle indicator...
I tested an ea using two different settings, the results were attached. Please kindly help me to analyze the results to know the best setting in performance. Thanks in advance. Oladapo.
Hi all, could anyone let me know a soloution, when I run a stratergy test my EA is programmed to take out both a buy and sell, so all is good there, however, when the EA is on the demo account it only makes one trade, a buy or sell, could anyone help with this problem, I am not governed with the no...
[Deleted]
hi all, i just came across an info about running mt4 platform on blackberry, does any one know how reliable this is?,and what kind of blackberry can accomodate mt4 platform. also i would like to know if one would have access to all the regular (not custom ) mt4 indicators on the blackberry version...
[Deleted]
  WPR based ea  (3)
Hi everyone, pls i need help to code an ea based on Stochasctics (5,3,3) and WPR (14) i want to plce buy order if Stochs is in upward trend and WPR is less down 20 and it should plce sell order if Stochs is in downward trend and WPR is greater down 80, buy order must be closed immediately WPR is...
[Deleted]
Im looking for an EA that will execute a trade as soon as the candlesticks' price has been closed. Has such an EA been made available to download?
hi how i can use a mql4 api in java ? please help me thanks
I have just written my first EA and have done some back testing which looks promising and am running it on a demo account with one broker. I have heard that EA's can perform differently at different brokers so have opened another demo account with a different broker. I have placed the EA and its...
[Deleted]
Hello, i have problem with magic number. I need use 2 diferent EA on the same pair. If i use only one EA, the magic number is set on 0 and EA work right. But for 2 EA, i must set diferent magic number. But, if i set the magic number under real price (for example: 1), EA only sell. If i set the...
Hello fellow MQL4 fans :), I am fairly new to the Meta trader and MQl 4, but allready liking a lot if I see al the possibilities! Wondering if anyone might help me out with the following.....selected the ADX indicator and trying to put a Moving Average ( MA) true the ADX indicator..... So trying to...