Download MetaTrader 5

MQL4 and MetaTrader 4 - page 695

To post a new topic, please log in or register
  Move bars above Volume (17   1 2)
I'm new to MT4. I have a custom indicator that draws a line below the bars on my chart. Sometimes it's difficult to see it because it overlaps the volume bars. Is there some way to have the indicator make sure that it is above the volume bars? Ideally, I would not want to have it use the "scale...
I am trying to chart the moving average of a variable I have called "eqb" Can I use the iMA to say: double eqb; ExtMapBuffer1[i]=iMA(NULL,0,35,0,MODE_SMMA,eqb,i); What is the best way to do this without manually computing this?
How to get serial number of the Windows where the Mata Trader 4 is installed on - using the MQL4 syntax? Is it possible? If yes, then HOW TO?
For some reason NO EA'S will make any trades on any of my 3 computers. I have Windows XP and older computers which shouldn't make any difference. Most EA's if relatively reasonable length code always worked before. I couldn't even get the MACD Sample code to work or make trades. This one Did do...
hey can any one make this, i want zigzag to return a constant value either 1 or -1 if the last zigzag is at high the return value is always -1 if the last zigzag is at low the return value is always 1 so the return value always -1 if the last zigzag is at high the return value is -1 until a new...
I have noticed this a few times. Some of the EA's I have been working up open positions at prices that are not within a candle. I have checked my History data and it is the same as that shown in the bars. Also, the output of indicators (eg. Stochastic) is correct, so the indicators are using the...
APeng
Hi! I calculate Momentum with Momentum[i] = iMomentum(NULL,0,14,PRICE_CLOSE,i); for different bars and export it to excel. In excel the number is written as a string like that: 100 1.000.25 999.964 999.856 1.000.036 I need it in this way: 100.0000 100.2520 99.9964 99.9856 100.0036 Has...
i wanna use Moving Avarage with apply to : "Use first indicator data" in seprate windows (attach another indicator ) for my expert but I Don't Know How to use it . Plz, F1 me .
Coded another martingale, this Ea has 2 strategies first is called momentum deviation, which is basically an envelope breakout using T3 VHF as a filter. Second is using a VQ Smoothed with jurik, the signals are different from the public version, the Ea should only take trades for instance, a buy if...
Outstanding trading app needs a programmer I am looking for a serious programmer who is willing to work with me on a 5 year endeavor. The program deals specifically with finding market structure through methods of comparative wave analysis (CWA). The system does not utilize traditional indicators...
can i have quicker bacttest speed when using VMware to run metarader 4 in linux? can you tell me the step of setting up? i am the first time to do such things THANKS
I have been working on an EA for a while, but I can't seem to figure out how to integrate an indicator into an EA. I even created an EA with EA Builder to see how they would integrate, but I still don't understand. For example, I used BB as the indicator and in the EA it references: iBands(NULL,...
double tak=0; tak=CurrentBasket/Ilo; int Spread = (Ask - Bid) / Point + 0.1; if(tak>=60){TrailingStop = 20;} if (OpenPos==1) { if(tak<=-50){Print(tak); static int statik=1;} if (statik==1){if(tak >-30)CloseEverything();statik =0;} } 2011.07.30 23:09:47 2011.05.03 06:01 bulduk11 EURUSD,M5: Order 0...
Sorry for the beginner question, but I'm programming my first EA :) Is there a way to calculate indicator values after every tick? For example, a new tick comes in and my EA immediately calls iCustom (which uses the sample Moving Average indicator) to calculate the new average.
Hi, I have gotten an indicator as *.ex4 with 6 Buffer. When I put this indicator I see the marker of the buy and the sell signal. I also can change the colour from them. But when I read the values from these buffers with my ea, I can only read "EMTPY_VALUE" everytime. How could this be? The...
Hello everybody, I have been working in this area for past few months and relatively new to this FOREX area. I see very wonderful topics in this forum and very exciting ideas. I have been working on my EA on which I posted some back testing results sometime back. I had problems with it regarding...
Hello, Using the MT4 Manager, I am able to add enter Chinese characters and send the news appropriately as shown below. And in the MT4 Manager "News" tab, the following will be displayed. In my DLL code, I have managed to save the information from an external source to a text file in UTF-8. However...
I am about to setup an account and wanted to find out if GO Markets accept Asian clients.
hi all Hi all, excuse my English I use google translator. could someone do repairs and modifications in this ema cross 4 ea -at first deleting hedging system it sux ad2 I think that in the section where is the setting for counterTrend error is about. when it is set // CounterTrend - true / /...
I am looking at setting up an account with GO Markets, as I want to use the MT5 platform. Anyone use?
Hello all! I recently made a EA using Molanis. The EA is triggered to purchase 10 lots (100,000) when the signal is triggered. However when I run the EA in the MetaTrader Strategy Tester I notice that the lot sizes change throughout the test. Can anyone please tell me why? Thank you in advance for...
Hi Guys, how can I code an EA that can trade 4 pairs, but each two pairs were traded with a specific magic number in one EA. EA: 1.) buy EURUSD / sell GBPUSD <-- both pairs get magic number 1234 2.) buy EURUSD / sell USDCHF <-- both pairs get magic number 5678 So EA check for both magic number:...
I am using scalping ea.I want to reduce loss of false alert. My ea is a version of mastermind 3(here in this forum). it makes even in real account(2 pips fixed) X200 in year. but sometimes goes bad to 1/2...
Hi guys, I need your coding help. I have different open positions from different EAs with unique magic numbers. Now I want to let check every EA if the EA wants to open a new position to check if there is already an open position with a given magic number. How can help? Bset regards,
Hi, I have problem to write code that is monitoring open orders and if max orders is equal number of open orders, than it should close all open orders. I will define max orders maxordes =4; than: if (openorders == maxorders) { close all open orders ( all 4)} can me anybody help? I tried with orders...
  SMS LOOP (4)
Hi please can any one help with sending of sms from mt4, I got it working fine for weeks but then the ea opened another trade strait after closing one, then the sms went into a loop and sent about 50 sms's until my sms account was empty, has any one got any idea how I can stop this, thanks
hello. Please help me to get the recent Parabolic SAR dot value by using this "iSAR(Symbol(),0,0.02,0.02,0)", Correct if my question was wrong. thanks.
Hi! I have a question about how an expert interacts with many charts at the same time. I have this expert, which closes every order as soon as certain condition is met. The thing is that this is signaled through a variable, and, once every order is closed, I reset this variable to "stop closing"...
I have been trading with one system for 3 months on my real account, and the results are very good. Now I am looking for programmer to make an EA bassed on that system. If somebody is interested I am looking forword to write me back! Anna
I want to check if there are any open OP_BUYSTOP orders and when there are none to place a new buy stop order. But the code does not work. Can anyone please tell me what is wrong with this piece of code?                for(i = OrdersTotal()-1; i >= 0; i--)                    {                    if...
1...688689690691692693694695696697698699700701702...1245