MQL4 and MetaTrader 4 - page 745

To post a new topic, please log in or register
Hello every body, I have an idea requires me to be able to place about 30 orders in mega fast if i can before price changes within 1 or 2 pips, and in same time to get the ability of cancel and amending all orders which haven't been executed yet, how can I do that ?? i have MT4 and MT5, Please...
I’m not very fluent in programming. Does anybody know how towrite the module allowing for the new order not earlier than 10 bars after thelast order close? I tried to find it butall I found it was one trade per bar and it is not I want. I appreciate anyhelp. Thanks a lot!
Hi,i downloaded metatrader 4 mobile setup from smartphone edition (1.10 mb) on my phone, samsung sgh-i200 which runs windows mobile 6.1 version and read that the application wasn't intended for the device. I learnt that the software runs on windows mobile. what do i do.
Hello, I really need some advice from you,guys... I'm trying to "persuade" an Ea to open different lot size positions on a straddle type range...but, as I'm totally crap at coding(trying to learn the basics), I wasn't able to do much... What I want is to open let's say 0.01-0.01-0.03-0.03-0.06-0.06...
anyone know about this company in details? is it new or stay quite a while already in the market? tried on internet searching but couldnt find any info ... anyone knows please share...thank you
Hello all, I have been working on this for days, but have been unable to correct my code to get correct mini lot for Gold, without getting zero divide error (where objects don't even show on chart). TO CORRECT TICKVALUE FXDD GIVES YOU: Gold: PairPipValuePerLot = (MarketInfo("XAUUSD",...
  help dll (10)
hello pls help me i have a dll, i want to create dll,how i can call fuctions of frist dll from my dll I am a delphi developer pls help me by example thank you
I want to set a stoploss on EURJPY to a set USD value. For example I want to put a stoploss lets say worth a $0.75 USD on the EURJPYm pair. How do I calculate that please.
We are working on an EA and we want to optimize the parameters in real time using an external application such as Matlabs or Excel. What is the best output for data, in the experience of expert coders here? Simplest, we create a flat file that is updated every 1 second, which is read by the...
Hi, I am trying to learn how to do some basic backtesting with MT4 and EA's. So I downloaded historical data since 2001 for USDCAD in txt (cvs) format. Then converted it to .hst format. Loaded the chart into MT4. The data is in M1 time frame. Then tried to do some backtesting using the following...
Hi, I have just tested my ea on both fxpro (on minilot of 0.1) and go trader (on microlot of 0.01), both with TP of 5 pips. On fxpro the ea ran just fine; however on go trader the ea won't open any trades as long as a TP e.g 5 pips was set. But when the tp is "0" it opened trades. Is this due to go...
I read the article: https://www.mql5.com/en/articles/1486 What the Numbers in the Expert Testing Report Mean But I still cant get rid of these overly silly but almost disturbing questions, so hope pls bear with them. It about the report below. After pulling off this 1+ year optimization, as you...
Hello, I programm an EA that runs on D1 charts and uses few standard MT indicators. I'd like to close the positions on first open price when trade is in profit. Would someone advise me, how to program that? Thanks in advance, Daffi
I have two EAs which have very similar functionality. When EA#1 is active it's input parameters allow for change if <F7> is pressed. When EA#2 is active it's input parameters never show up to allow for changing. Any thoughts on why this might be happening?
Hi, I have an indicator which provides good signals each time I start the platform or change the actual timeframe to any other and back again. If I let it run for few hours or days, it keeps providing me signals but they aren´t so good as if I start it somehow. My question is, how can I restart the...
Hey Guys, I'm into forex trading using robots, and I have found outthat the most crucial step is the choosing of the forex robot. Nevertheless,there's almost no way to take an informed desicion, all the robots sites look and say the same,"buy me and be a millionaire". So, I've been trying to find...
i have the following code right now, and i want to increase the lotsize every 1000 dolllar: for the variables: extern bool increment=true;extern double Incrementlevel = 1000;extern double BaseLot = 0.1; and in the start: if (increment){int lotmultiple = AccountBalance()/increment;lots =...
How Can I pre-set the Trade Box? I want be able to click new order and when the Trade Box opens have it already set with my stop loss (by pips) and trailing Stop (by pips) and Take profit, well to be fair as a scalper I don't care about take profit as it too is LIMIT. But the rest........ This...
Hi Im having some trouble calculating the maximum position size that I would be able to open at any given time for the USDJPY (or other non-USD based pairs) given an account size. The formula I use for this on the EURUSD pair (or any USD based pair) is the following: maxLots =...
Hi All, I am new here and need a bit of help. Got this code for a weekly pivot installed for a fantastic winning sytem. One problem....the person who taught me 99% of what I need to know cannot be found. I tried using several online calculators to get pivot points to the ones that cannot be seen,...
  Help with for loop (16   1 2)
Hi, this for loop doesnt work - trades are still being taken even 4-7 candles after the MA cross if(MACDmain > MACDsignal && MACDmain1 < MACDsignal1) //MACD cross to the upside - the main line has crossed above the signal line      {      for(int i = 1; i <=3; i++)         {         double EMA =...
Just wondering if anyone knows when GO Markets Trading Championship starts
#property copyright "sergey antipin"#property link      "http://www.metaquotes.net"extern double buffer=0;           extern double stoploss=20;            extern double takeprofit=350;                extern double filter=50;               extern double ma_value=218;  double...
  Mastermind EA (3)
Hi, This EA has seems to have some potential but would need quite some work thx
Hi, I am writing an indicator: First I've tried ... lastlowpos = i-1; ObjectCreate(...,Time[lastlospos], High[lastlospos]); //=working with i .... and it work's great in the backtest but not in the livetest Now I wanted to convert my indicator to use the Time[]-funktion, that mean's working with...
I have been trying to close 2 similar orders one after the the other - one seems to succeed and the other (2nd) fail on more than one occasion. Both orders would be either Buy or Sell (ie both the same and the price set the same - both ask or bid). My log looks like the following 88880 2011.09.29...
Hi Experts, I have written a fairly simple indicator which, when included on a chart will get data from 2 custom indicators on 3 different timeframes for the particular currency pair that is on. I then display this in a small table as shown: The code for this is : string chart[] = {"H1", "H4",...
hello, everybody !!! I have a script, It send a order buy at market and 2 order buy limit. I want to add to this script, "When have one order to close then all order will automatic close" How? Thank for Your help
Just what exactly is the "counter points"? (Meta Trader Strategy Tester) Can an EA be programmed to trade based on them? If not, what in the world is it in the tester for?