MQL4 and MetaTrader 4 - page 1691

[Deleted]
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
Please add the REFRESH function to the list of available actions for the toolbarcustomization. I would like 1 click refresh (or function key)
[Deleted]
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.
[Deleted]
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 &&...
[Deleted]
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 LINE5
[Deleted]
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...
[Deleted]
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...
[Deleted]
  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...
[Deleted]
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; display
[Deleted]
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...
  Order ticket#  (1)
In my EA I have multiple lots. After a price is reached I scale out by taking onelot off. The ticket # is i closed and goes into Account History trades and a new ticket#is created which shows up in trades screen. If I attempt to modify the stop loss on the remaining lots, I get an unknown...
  Color to MA  (1)
how I can, in my EA testing, assign different colors to 2 moving average?
Hello, I would like to introduce few moments for current MetaTrader4 charting principes:In some theores which have support resistance on trendlines based on angle withtime in mind, most MT4 users encounter missing signals in general. I know, thisis already topic about many people discuss, but i want...
Which is the price that appears in the Chart, OPEN, LOW, HIGH or CLOSE ? I will be been thankful.
I have in my EA the following datetime array definition: datetime Chart_Times[]; when I access the array with: ArrayCopySeries(Chart_Times,MODE_TIME,Symbol(),PERIOD_M1); the array Chart_Times[] has the following information: 1149289080 1149288480 1149288540 ... can somebody say to me which is the...
  Trend Master H1 EA  (14   1 2)
Hi, I want to invite all who interested to test it in real time. I'm sorry i dont have any forwardtest result yet cuz i've just done it. Please give any responds. Hope it would run just like backtest. It's run on euro/usd H1 timeframe, i use interbankfx as default broker. Regard Harry
[Deleted]
What is the limit on maximum number of the charts opened simultaneously
This sounds like a server issue, but there's enough inconsistencies, I wonder ifanyone else has seen something like this. InterBank FX server. Demo account. Running several EAs, but only two of them (buttwo, not just one) had this happen: at 2006.25.06 0521-0524 server time, they each bought...
-
The article «How to Evaluate the Expert Testing Results» is published in the "Articles" section of the MQL4 Community website. The article gives formulasand the calculation order for data shown in the Tester report.
[Deleted]
Hi, I have written an EA which consists of several function. The structure looks like: ... init() {} deinit() {} start() { int x; double y; ... x=function1(); y=function2(); ... return(0); } int function1() { ... } double function2() { ... } when I try to compile it, an...
I've changed the period_converter script into basket2 in order to create a new chartwith a basket of two currencies. However, there is a problem in this script whichI'm not able to solve. When you attach script to a chart (allow DDL calls and don'tconfirm calls) in its default settings, and then...
[Deleted]
Hi, How can I get X ifX=N I know N in 2power ? thanks
[Deleted]
I'm trying to assign as follows (without using copyarray): array1[i]=array2[j]; or array1[i]=array2[j]+array2[k]; where i,j and k are integers, array1 and array2 are declared as double, and array2contains values different from 0. Somehow array1 remains 0 after the assignment. Where did I go...
Suppose you want to analyse the candles in shown on the attached image (e.g. totest a Japanese engulfing pattern). On the image the candle labeled 0 refers tothe current situation in the market and candles 1 and 2 refer to the last to periods. To avoid misinterpretation you want to make sure that...
[Deleted]
is this possible? If yes, how?
Hi, Kindly teach me how to set date & time to New York Time? Regards Tony