Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1022

To post a new topic, please log in or register
I have an indicator that alerts when 2 Moving Averages cross. This indicator has the following section of code-- limit=Bars-counted_bars; for(i = 0; i <= limit; i++) { fasterEMAnow = iMA(NULL, 0, FasterEMA, 0, MODE_EMA, PRICE_CLOSE, i); fasterEMAprevious = iMA(NULL, 0, FasterEMA, 0, MODE_EMA,...
Hello I need help with eliminating opening more than 1 position by my EA, I want to do something like this if(Ordertotal(OrderMagicNumber(012345))!=0) But it does not working! Please can somebody help me????
This is a programming language forum. Yet for some reason it attracts non-programmers. Now, to the best of my knowledge, programmers don't clog up knitting forums with ill-conceived comments about perling and casting. Or ask little old ladies to knit them a free jumper. However, for some unknown...
I've optimized an EA and gotten Input variable settings that are positive. When I use these settings to run a back test, the results are negative. I've been thinking that the Optimizer is using 'minute' data while the back tester is using 'tick' data. Is this correct? Bill
Hello freinds, I got an error massage: "internal stack overflow - simplify the program, please". Is the meaning of this massage that the program is too big ? I ask your help, how can I solve this indicator ? Thankes, Crossy
I got this script off this forum. I modified it a little, but basically the same and has only half worked in either case. If i have 6 pending orders it will delete the last 3 placed. When i instigate the script again it will delete 2 more, leaving the first. And if I run the script the 3 rd time...
I have my EA place a grid on my chart by using this piece of code : total=OrdersTotal();       if(total<1)      {       Temp=MarketInfo(Pair, MODE_BID);       for (int Cnt=1;Cnt<=NormalizeDouble((Range/2),0);Cnt++)           {             OrdSend(Pair, OP_BUYSTOP, Lot, Temp+(Cnt*Interval*point()),...
Im trying to Export all of the 1m data my broker has on the server. I go into the History Center, Click on 1m for the pair I want to download. Depending on which pair I select sometimes it says: Database: 50000 / 3244987 records If I do an Export in this situation, I only get 50000 records...
I downloaded the MetaTrader from FXcbs and started having troubles optimizing FapTurbo45PRO, among others. I thought it was the EA, but I now think that it's in MetaTrader (I'm using 223). This is the message I keep getting: Problem signature: Problem Event Name: APPCRASH Application Name: terminal...
hi all.. currently i made some ea that get int value from .dll file.. but i face some problem regarding this matter.. below is the c++ source code for dll file.. #include "stdafx.h"#define MT4_EXPFUNC __declspec(dllexport)#include "test.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char...
Hi, i am experiencing a problem with my EA. Since version 222 it doesn't work even in test mode.. Until version 220 was working correctly. Also, it works with some brokers and nor with others. Which could be the reason? Anyone could help me out? Thanks
I have been working with the iWPR indicator quite a bit, and havediscovered that it sometimes returns nonsense values not at all relatedto the position of the indicator line on the visual charts. This ofcourse upsets the program logic. My analysis so far is leading me tobelieve that it might be...
Hi, I have been using two or more indicators in the same chart window, but I have aproblem: the "Zero" of one indicator doesn't stays in the same levelof the "zero" of the other indicator. So I end up with two "zeros"in the same chart windows. Is there any way to put all "Zeros" of the different...
I download historical data from History Center and found error data between 02 jan 2009 to 20 mar 2009. They are shifted by one. historical data of eurusd historical data of usdchf
I am not talking about hardware or software BACKDOORS from anyone or anybody particularly. But, think about it seriously. What happens if there was unwanted guess with unwanted oversight?? What happens to the concept of personal trade secret, trade mark, or personal propietary ideas?? I simply don't...
I'm thinking of purchasing a new desktop computer with an AMD Phenom quad-core processor running 64-bit Vista. The sole purpose will be to run multiple instances of MT4 each running an EA against a separate account. Does anyone have any comments about any compatibility issues I may run into? I...
may you help me compile the follow code to mt4 indicator,used in chart window. BIAS1:=(MA(C,2)-MA(C,4))/MA(C,4)*100; BIAS2:=(MA(C,2)-MA(C,8))/MA(C,8)*100; line1:MA((BIAS1+2*BIAS2 )/3,5)*50; line2:MA(line1,2) ; thank you
I have written a EA. It back test just fine. I have a smilly face. Any ideals of what could be wrong? ---Tom
2009.04.21 20:03:18 Mail: not enough space for 'OrderTicket ' can any one tell me what this meen
Hi I am looking for an EA programmer to program a strategy I have. Please email me at tradertt123456 A T gmail D O T com and quote your price and I will send you the details of the strategy I need coded.
HELLO, THIS EA IS NOT PLACING THE RIGHT ORDER FOR ME PLEASE HELP ME MODIFY IT TO PLACE BUY STOP ADD 30 PIPS TO THE OPEN PRICE OF THE DAILY CANDLE STICK PLUS SPREAD SELL STOP SUBTRACT 30 PIPS FROM THE OPEN PRICE OF THE DAILY CANDLE STICK MINUS SPREAD. THIS IS ALL I WANT THE EA TO DO FOR ME ....
Hello there pls does any body know how to use this indicator CycleIdentifier.mq4, should please tell me.thanks
HELLO, PLEASE CAN SOME ONE HELP ME TO MODIFY MY EA I WANT THE EA TO PLACE BUY STOP 30 PIP TO OPEN PRICE PLUS SPREAD SELL STOP 30 PIPS FROM OPEN PRICE PLUS SPREAD THIS WORKS ON DAILY CHART AND SHOULD TAKE THE OPEN PRICE FOR A NEW DAILY CANDLE THANKS
Hi All, I have a problem in calling multi-currency / Symbol price values in my Expert Advisor. I use the iClose function for different symbols in my EA. When I start back tester, metatrader uses almost more than 1.5GB of RAM.It is only so when I call close for different symbols. I know that it loads...
pls anybody kindly explain how to ues circle CycleIdentifier.mq4
Okay so when I add a moving average indicator to my chart I can set the shift to -1 and it will give me a value for the MA, which is perfect for what I want, however when I try to program a -1 shift in the iMA function in my EA, the value comes back as zero. How can I overcome this?
To get a previous value(s) from indicators do you use shfit and (if so) how?
Hello, i'm looking for a freelancer that had experience build signal service system. Please post your bids here: http://www.getafreelancer.com/projects/C-C-NET/Trade-Signal-Management-for-MetaTrader.html
I'm having trouble attaching an indicator to the main chart that jumps to window 1. For example I amtrying to attach a Laguerre Indicator to my main chart. Any help is appreciated.
New article Effective Averaging Algorithms with Minimal Lag: Use in Indicators and Expert Advisors is published: The article describescustom averaging functions of higher quality developed by the author:JJMASeries(), JurXSeries(), JLiteSeries(), ParMASeries(), LRMASeries(),T3Series() and MASeries()....
1...101510161017101810191020102110221023102410251026102710281029...1245