Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1252

To post a new topic, please log in or register
Alexey
You have now a good opportunity on our website: If you liked a material, you cansend a link to your friend. When an article or a script in the Code Base are being viewed, the e-mail fieldappears in the left part of the window. A
As an alternative to Alpari and Interbank FX backdata, for systems developers that want very accurate FX data with no gaps, spikes or missing bars going back to 1998 on all currency pairs including the crosses go to: http://www.tiptopwebsite.com/fxtrader Backdata is available in 5 minutes...
  Terminator v1.0 (22   1 2 3)
This EA uses the i_Trend indicator. It simply opens trades long and short. The management and profitability of the trades is mainly done thru the settings of s/l and trailing stop and should be continually tested monthly on the most recent 1, 2, and 3 month periods as maintenance to keep up with...
Hello, Is there any program to integrate the various Jurik Indicators with Metaquotes? Thanks, Miguel
i cant used any expert on demo account it dosent working what's problem ?
I'm testing an EA on different pairs (the 4 majors) and different timeframes (5m,15m, 30m and 60m) and I want to know if there is a way to have all 4 of the instancesof MT4 running at the same time to use the one EA from one location on my PC. Rightnow I have to compile and save the EA in each EA...
i am trying to use the parabolic sar as an exit indicator. my code is if(Close[0] >iSAR(NULL,0,0.02,0.2,0)) CloseOrd=OrderClose(OrderTicket() .... etc etc it is reacting in testing s if the sar is 2.0,2.0 instead of 0.02, 0.2 what gives?
Hi, Can anyone help me with a little script that I got on my mind.. I"m newto MQL but I found something that can promise me constant profit of 4 pips perweek, and I really need to transfer it to code. I want the script to run on weekly period. When a new candlestick is created, the program checks...
Hey guys, I'm trying to write a custom expert, but it's been a long while sinceI've programmed in C or C++. I'm able to check an open and close of a previous bar, and if the condition thatI want is met, then I want it to wait to check new price data that is coming inand to execute my order when the...
Hi All I write expert advisor in meta trader version 4 (MQL4) How Can I use it in meta trader version 3.83 thank you
is there a way I can stop the printing of the Expert log messages, because evenif the whole script is stopped it stills prints out pending msg's. That's annoying!
Hello: I am new to MQL. I have some custom indicators. Only the ex4 files. I see in thereference that there are functions available to compute the values for a numberof indicators. Are these specially written functions, or is there any feature inan indicator that allows it to be called as a...
What could be "ERR_ZERO_DIVIDE 4013 Zero divide" - *Zerro devide* I amgetting when running the EA in test? It seems everithing ok, I've checked more than 20 times. Can someone tell me onwhat could point Zero Devide in errors? Calculating values I've put in comment to be displayed and were right....
In which directory are recorded Global Variables ? thanks
He is truly a genuis.. anyone happen to have this indicator? It was posted on his trendlaboratory site, but sadly it doesn't seem like he posts that much on Forex-Tsd. I would love to try out that indicator.. I don't want to post it in the main forums in case iGorad want's the indicator to be...
Good day every one I have an error when my expert is activated on a account. everytimea order is sent it gives a error  #130, is there any one who can assist mewith this error? and what to do.
Hi. How can I be sure no one get access to my script?, and how can I increase security? from: 1. the broker 2. random hacker 3. someone who knows I am using metatrader I am using metatrader 4. the script is in c:/program_files/broker directory/experts/scripts/myscript.mq4 the executable in c...
Please add the REFRESH function to the list of available actions for the toolbarcustomization. I would like 1 click refresh (or function key)
Alexey
We would like to apologize for any inconvenience caused by the partial reconstructionof the web site. The Articles and MQL4 Code Base catalogs on the web site have been restored to 13 June 2006 13:15.
hi, I have a problem with an EA, which instead of opening just only one position, keepsopening positions with each tick.... After evaluation of the code, I suspect, that the only part which might cause theproblem is Trailing Stop modification section, which looks like that: if(Selling==0 &&...
who can create the follows as a MQL4-indicator for me: N:=BARS for SINCE(Parameter); VARL:=LOWEST(LOW,N); VARH:=HIGHEST(HIGH,N); VK:=VARH-VARL; LINE1 K1:VARL+0.1*VK; display value LINE2 K2:VARL+0.2*VK; display value LINE3 K3:VARL+0.3*VK; display value LINE4 K4:VARL+0.4*VK; display value...
int start() { ...... for (i=Bars-1;i>0;i--) { if (Close[i]=a+b) m=i; } ......; } as new quotations received, new sticks appears,and the index 0,1,2.... are pointedto different sticks. for example, Close[5] of current time is equal to previousClose [4] after receiving a new quotation. now, i...
I understand that you can pass parameters with iCustom, but what if the custom indicator sets many objects on a chart?  Is therea way to get to them individually?  For example, the cammarilla indicator(see attached file) sets several lines (M1, M2, ect.) based on one set ofparameters.  How can I...
  help please (1)
I want to get input in some way from the user in my program in the metatrader. I don't really know how to do it, and for that I need your help :D If you know something about it, please answer me here or send me an email: pfp1989@gmail.com 10x :D
Hello, this week I'm begin a test with the following setup using only the winner EA for each pair. All EA's are left with defaults with only 0.1 lot on a demo account. EURUSD: Scalp_net M1 GBPUSD: Envelope 2.11 M15 USDJPY: GoldWarrior02b USDCHF: Brainwashing 1c AUDUSD: EasyLMA_v6 USDCAD: EasyLMA_v6...
ZigZag Indicator tracks and connects extreme points of the chart, the distance betweenthese points being equal or higher than the percentage specified for the pricescale. Depth is the minimal amount of bars where there will not be the second maximum (minimum)Deviation pips higher or lower than the...
please help who can create the follows as a MQL4-indicator for me: N:=BARS for SINCE(Parameter); VARL:=LOWEST(LOW,N); VARH:=HIGHEST(HIGH,N); VK:=VARH-VARL; LINE1 K1:VARL+0.1*VK; display value LINE2 K2:VARL+0.2*VK; display value LINE3 K3:VARL+0.3*VK; display value LINE4 K4:VARL+0.4*VK;...
1) When testing a strategy, what should the Model be? Is is "Every tick"or "Control points" or "Open prices"? 2) I tested a strategy and it's profitable when using "Control points",but it's a lost when using "Every tick". How come? What does this means? How can a strategy profitable with one...
Can we include our custom indicators in our Expert advisors? What would be the bestapproach to use a custom indicator in an EA?
hi, can I use this functions in Expert Advisor Script for counting symbols? int curencies() { int aa = 0, bb = 0, Sn = 0; if(!GBPUSD) aa=1;  if(!EURUSD) bb=1; Sn=aa+bb; return(Sn);} also different MagicNumber for different Periods..int number() { int id = Period(); return ( id ); } also to...