MQL4 and MetaTrader 4 - page 1335

[Deleted]
dear traders, I was wondering if any of you have done this: rolls paid 1700 est, at 1659 opening a positive roll position, then being paid the rolls at 1700 est, and then closing position immediatly when paid the rolls. do you think this would be a profitable stratergy? how...
[Deleted]
  MACD colors  (2)
I want to MACD having four different colors: one is above histogram zero price increase, one is above zero price decrease, the other two are both below histogram zero but one is price increase and one is price decrease. Anyone can help? Thank you very much
[Deleted]
Hi Is there any user of Elwave sofware with MT4 ? What's your experience ? Thanks http://www.prognosis.nl/elwave/features/elwave92release.html This release of ELWAVE 9.1 contains the following new features and enhancements: Support for MetaTrader 4 (requires UDS ServerFeed) It is now possible to...
[Deleted]
Attached is an indicator I developed with the help of the many ideas on this site. It identifies decent buy and sell setups. They are shown by arrows and the comment line on the chart into which it is loaded. You should save the file into your /experts/indicators/ folder. When I trade manually
Hi folks, I wonder if someone can explain something for me please? The correct calculation for RSI is - RSI = 100-(100/(1+U/D)), where U is the average number of positive price changes; and D is the average number of negative price changes. But, on my MB Trading MT4 platform, the RSI(14) values I...
[Deleted]
Folks 1) I am an EA developer and FX trader 2) I want keep every opened orderscreen shot for review (Trainng) 3) I use the following code to check the file which is existing, but something wrong, becuase the file will be open then some error. ticket=OrderTicket(); filename = ticket...
can any one help me add alert signal on this indicator please
[Deleted]
Hi, I am a mql4 newbie. I would like to understand the Heiken Ashi code. More precisely, I would like to understand how the DRAW HISTOGRAM works and how can we build a candle stick. The code is the following : #property copyright "Copyright ゥ 2004, MetaQuotes Software Corp." #property link...
[Deleted]
Hello all, Sony has a new cellphone with Windows Mobile 6.1 which has 800 x 600 resolution and is sold for a low price here where I live. I would only be buying this in order to run MT4, so I would like to know if it has been tested by anyone.. has it? Alternatively, the HTC Touch HD looks nice too...
I have created a ExpertAdvisor to trade all currency. I have attached to nearly 10 charts. I would like my EA to trade all currency at a same time, simultaneously. But my EA open only one currency at one time. For other currency it shows error "06:21:57 SuperTrader1 USDJPY,H1: Error opening BUY...
[Deleted]
Hi all! I've created a dll in C with a function that returns an array. How can I call this function from MQL4? Here is a brief excerpt: dll: MT4_EXPFUNC double* __stdcall GetRegression(const double* y, int size, double tolerance) { double* result = new double[size]; ... return result; }...
[Deleted]
I've tried asking on other forums but I decided to take this problem to the best. I have downloaded two order scripts (one for buying and one for selling) There's a Money Management feature that changes your lot size depending on how much you wish to risk and it's expressed in percentage form. Buy
Hi guys, I've made a breakout indicator, recorded the highest and lowest valuea, let's say x and y, of the box, is it possible to use a EA to obtain those values? could anyone please show me the script? Thanks very much lmyyyks
Is there a way to hide the indicator name of a custom indicator appearing on the indicator window?
[Deleted]
I am new to MQL. Please help. Just trying to draw 5 horizontal rectangles stuck to left side of the chart windoiw. However everytime I get an error saying Object already exists (Err 4200). Can you please send me a sample source code that works or point me to somewhere where I can find working code?...
[Deleted]
dear traders, does any of you know which type of charts are provided by metaquotes?? Im thinking that with the different type of brokers out there eg. enc, dealing desk, no dealing desk, stp ect those different types of brokers might show different price action compared with each...
[Deleted]
Hi I would like to draw Horizontal line on M5 based on H4 Open High Low Close of the last bar. Which mean is . Once the H4 bar formed I want to draw a 4 lines on 5m chart ( Open / High / Low / Close ) Problem is I know how to draw a line but i don't know how to get H4 last bar Information in the...
hello, i am currently developing a entry strategy based on bollingerbands. for trend direction i use the BB-main line as signal line and a iMaOnArray(14) of the BB-main. for better explanation here is a pic: Blue line is the BB-band 31 Red line is iMaOnArray(14) of BB-band31 as you can see in the...
Hello, Does anyone know of a way to draw the same graphical objects that are displayed in the strategy tester chart window i.e. the buy and sell circular flag symbols and the dotted line that connects them, in the live trading chart window? Is there code available to do this? Thanks. Wilbur.
I don't understand how this template example(Osc_test) controls howmany orders to opens and where close order functions( formula) shouldbe placed ?! https://www.mql5.com/en/articles/1514 Can you explain please?! 1. I want to open one market order at beginning of a bar, if there is asignal( BUY or...
Hi, I have developed a EAs and after testing with the Tester that provides MetaTrader 4, I'm starting testing it with a demo on line account. The problem that I'm facing right now is that MetaTrader has many problems connecting to servers during time. i.e.: during the first hours everything seems...
  Active 9 Hours  (5)
Hi all, Any ideas to go about finding which 9 hours range got the highest high and the lowest low of the day for consecutive x number of days example i need to find the 9 hour range of the day with the max high and min low and collect and compare over a few days data for a normalize value like...
Hello, I need a small help. I have written a simple weekly open, high low indicator that is working properly. Here is the code. However when i try to access this indicator from an expert advisor, it does not display the correct weekly open values. Appreciate if someone can help. the code for the...
Hi, Anyone can share info on this? To explain, what i mean is, like: - running multiple robots in one mt4 - running multiple mt4s with at least one robot on each - running few or one robot, but uses many currency-pairs, e.g. has to have many charts open , like frwc's fusion, or its LMD like, need
[Deleted]
Hi! I have to add to my MACD indicator its linear regression, I just fooud howto add the linear regression to a graph. Does anybody know or (has a mq4 code) how to add the linear regression to a MACD? Thanks
  Theorem on the intersection of two MAs  (62   1 2 3 4 5 6 7)
1. For any time interval it is possible to choose such parameters (optimization) that the Expert Advisor will give profit on their basis. In other words, there is no interval, on which the optimization will not give results. 2) Any timeframe can be divided into a finite number of parts, so that
[Deleted]
Hi can anyone help? I downloaded a bunch of *.HST files for MetaTrader from FXDD and tried to load it following these instructions: http://www.earnforex.com/blog/2008/01/quality-metatrader-historical-data/ However it's not working, anyone know how to load it?The chart keeps saying waiting for update...
[Deleted]
I trade equities. I'm looking for a substitute platform. Charting, backtesting, auto trade strategy scripting etc. Thanx for your referal.
[Deleted]
I have done quite a bit of mql4 programming, and use several of my own EA on my own live accounts. But in the interest of wanting to sell these EAs to the public, how do you code in the EA the requirement for a monthly fee?
[Deleted]
  help needed  (2)
ANY IDEA WHY THIS WON'T WORK FOR ME???? I HAVE THIS IN TWO EA'S: ONE IS JUST THIS PIECE OF CODE AND IT WORKS FINE-THE OTHER EA HAS THIS IN IT AND IT IS NOT WORKING! I THINK IT MAY BE IN HOW THE OTHER EA IS STRUCTURED WITH RESPECT TO LOOPING OR SOMETHING? WEIRD THING IS THAT IT WORKED AT ONE POINT...