MQL4 and MetaTrader 4 - page 1135

Currently I'm using something like this: //~~~~~~~~~~Init-Function:int init(){    //~~~~~~~~~~Load History For Bars:    iCustom("EURUSD",0,"Dummy_Indicator",0,1);    iCustom("GBPUSD",0,"Dummy_Indicator",0,1);    iCustom("AUDUSD",0,"Dummy_Indicator",0,1);    iCustom("USDJPY",0,"Dummy_Indicator",0...
I am using IBFX and MarketInfo(Symbol(),MODE_STOPLEVEL) and MarketInfo(Symbol(),MODE_FREEZELEVEL) both return 0. anyone know why or can give a workaround?
[Deleted]
  EA optimse help  (4)
looking for EA optimise service anyone can help free ? or a small fee ? please PM me
Easily create currency trading robots using populartechnical indicators and charting. Includes several ‘ready-to-use’ strategiesand includes manual and training video. http://www.gowebtrade.com/robot/?gwt_ag=fora_01 robot@gowebtrade.com
[Deleted]
Big holes in data invalidate all testing on MT4 on any timeframe. What happened to June 2010, what happened to half of may 2010, what happened to the same months in 2011? Did the markets shut down for those months while nobody was looking? NO. OK to answer the questions you are going to ask me ahead
[Deleted]
I am having a recurring problem with Windows 7, when attempting to copy text, Metaeditor crashes. The problem seems to be related to permissions, I am able to change the permissions for the experts folder, and occaionally this works for a period of time, but then the issue resurfaces. I have...
Has anyone else noticed an issue when replying to posts in this forum where the cursor dissapears/freezes up ? Or is the problem on my own computer only ?
[Deleted]
  Automatic Magic Number  (38   1 2 3 4)
Hello everybody, this is my first post in this forum. I would like to ask what do you think about this code to make an unique Magic Number for each graph atached EA. Seems to be ok? Thanks. int MagicNumber ; int init ( ) { MagicNumber = WindowHandle ( Symbol ( ) , 0 ) ; Comment ( MagicNumber ) ;
Okay so I'm creating a martingale EA... So I want to record the account balance, then make a trade, then if the new account balance is bigger than the previous account I want lot = 0.1; If the new balance is smaller than previous balance, then I want lot=lot*2; (I have static double lot)... All I...
The error: Please see position 11 above. After opening the position, it is correctly followed by a modify that adds a tp, then it wrongly adds another modify that changes tp value, gives sl a value that equals tp. The second modified was not intended at all. What in the code below causes the...
hi, am new to expert adversor trading, i have 1 indicator that is 2 sma cross, i need to change in expert advisor, i dont know how to change.and how to write code with required parameters . plzz help me. thanks #property indicator_separate_window #property indicator_buffers 2 #property
Hello Guys, I am having problems using a dll function in mt4. I have this function in C that I tested in another C console application program. I exported like #include<windows.h>#define N 400extern "C" __declspec(dllexport) double myfunctiondll(double rates[N]){  return rates[0]+0.5*rates[20];} in...
  RSI mtf array  (1)
Hi, My question is about sliding the buffer in custom indicator. E.g: #define MAX_LOOK_BACK 5int start(){int limit;   int counted_bars = IndicatorCounted();      //---- check for possible errors   if(counted_bars < 0)      return(-1);   //---- the last counted bar will be recounted   if(counted_bars...
[Deleted]
I want this kind of indicator for MT4. Have you seen the indicators which display each sessions' charts only? eg. N.Y. session only, Tokyo session only, and London session only, etc. I am not talking about the indicator for the trading time, but the chart of each sessions. as following; Thanks in...
[Deleted]
I am travelling soon and am considering buying a 10 inch netbook. It seems with this I can only get a maximum 2GB ram with a dual processor and 250GB hard drive. Will this adequately run MT4? I have an EA running. Will it run up to 3 MT4 platforms? I'd appreciate any help with this before I make a...
I am trying to edit a certain ea. When finished, I should compile it. But what come out is an error, access denied. Can somebody help me on this please. ceasar
Does any one have a code in visual C++ (2008) on how to appropiate compile a dll function and then how to import it in mt4. I have no problem making dll functions that I test in console applications; but I cannot import them into mt4? thnks in advance
[Deleted]
hi, can anybody help me with my code? my code are just simple, i want to get the open price at 12.00, and then wait until the price move above or below the open price around 20pips. After that entry buy or sell depend on the situation, if goes up, then sell, if goes down, then buy. and the code only...
hi there....i need some help in EA......can someone give the code snippet to select all the open buy orders from a bunch of mixed open orders??.....thanks in advance!!
[Deleted]
Hello, hello! If the timeframe chosen for a backtest is below M30, I get the error: 2011.09.05 13:35:51 TestGenerator: internal error because the file not opened. With timeframes bigger than M15 the EA is working. MT4 is connected to the server and is downloading historical data. Has someone an...
hi friends iam trading with simple strategy, 2 ma cross over, i need alerts in alltime frames where it cross over, put ma1: period 3, shift 0 ma2: period 5, shift 1 and need time GMT: +5.30 on it. plzz modify this 3 things. here is the attachment thanks to all #property indicator_chart_window...
[Deleted]
Dear MT4 Users, I am a bit confused about these three variables. Taking DAX for example (#FDXU1): Point: 0.1 Tick Size: 0.5 Tick Value: 12.5 While I understand that tick size is the minimal movement up or down on the prize, and tick value is the real monetary value of a tick, I fail to understand...
[Deleted]
I am currently in the process of studying MQL4, but I'll be honest with you - I suck at math! Could someone be so kind as to explain to me this block of code? //...string Symb=Symbol();double Prots=0.07; // Percent of free margin//...//---------------------------------------------------------------...
Is it possible to add in EA keyboard shortcuts, example when I hit keyboard "b" it will execute OrderSend function? Thank you
[Deleted]
If you are looking for an experienced programmer to put your ideas into a working EA or indicator you can contact me and I will be happy to assist you for a fee. Successful trading to us all. Avi avi.levi99@gmail.com
Hi, Apologies if this is something glaringly obvious that I have overlooked, but it is starting to really frustrate me. I've developed an EA that will place buystops and sellstops when certain pivot criteria are met. I'm using for example OrderSend(Symbol(),OP_SELLSTOP,Lots,openPrice,slip,stopLoss...
is it possible to get strategy tester with eurusd at te same time as eurjpy?
Hi, I'm trying to make a spread indicator for Gold show appropriately but I have not been successful. The Gold price shows as for example 1545.50 (on IBFX) and the spread shows as 65. But its supposed to show as 6.5! if(Digits==5||Digits==3) {dblPoints=Point*10;} else {dblPoints=Point;}if(Digits==3)...
[Deleted]
I would like to return the following variables : 1. The first bar open price of the last recorded Monday (Hour Bar). 2. The last bar close price of the last recorded Wednesday (Hour Bar). Anybody know how to do this ? Ive tried getting the variables as they pass with :...
All EA's tp and sl are stuck on stoploss 10 and takeprofit 60, no matter what I set in the EA or the properties I can changed the Expert properties via properties button and it's off by 10 pips every time ? Seems like this occured when I downloaded the data in history center, however that may not...