MQL4 and MetaTrader 4 - page 1193

To post a new topic, please log in or register
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()....
Can somebody help me to get only crosshair instead of pointer. The crosshair getsdeleted when you click on the window. Is there something we can do that it stays all the time.
I have one general topic. As I said in title: Do you comment your code? Do you think it's good if someone comments his code or if you are working for someone, you make documentation, or you are doing both?
Looking for a trailing stop function of sorts-when price hits a certain value above or below order open price, i want to move stoploss to even or better. Any help would be greatly appreciated!!! Thank you Dan extern int Trailing_Stop=3; extern int TP=5; int start() { int totalO =...
Hi guys, I want you to look at my code,i just finished working on it,the code is attached to this mail, ignore the stochastics and ema indicators, my new strategy is based on macd on bar 1,and cci 50 on current forming bar(bar 0) i want it to open buy if cci 50 is greater than 0,on the current bar,...
When I use setindexlabel, does it automatically post the current value of that label to the indicator window? So if one of my indicators was the MACD, would it auto post the value of the macd to the indicator window?
Hi, I'm new to programming MQL4, or even programming at all; I've been working on the trailing stop part of the EA. I use a regular very basic SMA cross to generate the BUY and SELL signals and it is irrelevant at this time. The issue is : I'm satisfied with the trailing of BUY trades, but somehow...
Hi guys I have been using all your great suggestions to make this Grid EA idea I had, work properly...for the most part it works in how it places the grid and replaces triggered orders but I am having a small problem... I want to make sure that if an order closes in loss then the EA will cycle...
Sleep(5000000); //Does not Work with the Backtester! TimeKeeper[0] = TimeCurrent(); for(int t = 1; time >= 3; t++){ t++; TimeKeeper[1] = TimeCurrent(); m = TimeKeeper[1] - TimeKeeper[0]; if(m > 1500){ break; } t--;t--; } //This example does not either! // How can I include a Time Delay that can be...
Is it even possible to write an Expert Adviser that dose this? EUR/USD TF – 30m Short - after the 20th bar closes lower than the close ofthe previous day if the 20th bar is 35 pips below the close of previousday. Long - after the 20th bar closes higher than the close ofthe previous day if the 20th...