Download MetaTrader 5

MQL4 and MetaTrader 4 - page 890

To post a new topic, please log in or register
Hey Folks, I have the following problem with this code: It is not showing the things I want it to show (obvious, otherwise I wouldn't be posting here). With the Maximum Potential Range Efficiency (I know, a pretty hyped up name, but couldn't think of anything better) I wanted to determine wether we...
dear traders, have any of you sucsessfully traded the gap? the weekend one? I notice on the big movers like GBP/JPY, sunday open, as soon as market opens, sudden volatile movement in one direction about 100-150 pips, very tight stops 10 or 20pips works. I'm thinking on friday...
Hi, i'am no Coder and looking for an EA which buy/sells the second fractal (in condition of Time or Candles) and reverse after Price crosses MA. Filter second MA. Is Anybody here sharing such an MA? Thanks for an Answer.
Any advice if it is possible to change the font size if i use the following function ObjectSetFiboDescription("Up",0,"(100.0%) - %$"); I need change the description portion to bigger font. Possible to do it? THanks
Dear moderators or other member who can help, I tried to run my EA in my computers (I have 2 computers with windows XP) and it worked WITHOUT any problem. When 2 of my friends tried with XP and Vista there was crash error. These is Vista error : There has been a critical error Time : 2008.09.30 11...
I have worked the new platform during 3 months (mt5) and I have two recomendations that hopefully will be taken into account. The first one, why dont consider another (one or two aditionals) new fibonacci (in the menu: insert/objects/Fibonacci/Fibonacci retracement) which work both independently and...
Anyone have an ea that can send my trades to another account? Thanks in advance
Suppose an EA begins the init process and realizes that the "ABC_abc" indicator is not available in the ..\experts\indicators folder. How would the EA "shut itself down" and remove itself from the chart?
I need a pivot indicator that will dispaly all the pivot levels just to monitor the activity in the past if any body have please give me or can design thank you
Hi... am a new learner of MQL4.I just wanted an alert on the number of bars in a chart. Please refer the code below.The problem is that after execution of the special function init, when start() starts, the global variable "count" shows a value of 0. What am I doing wrong here? int TF=1; int count;...
int start() { int limit; int fractal1=45; int fractal2=49; int fractal3=2; int counted_bars= IndicatorCounted(); //---- check for possible errors if(counted_bars<0) return(-1); //---- last counted bar will be recounted if(counted_bars>0) counted_bars--; limit=Bars-counted_bars; //----...
Hi all, Trying to have a deeper understanding of the ZigZag indicator I was investigating its code. My finding was that the parameter ExtDeviation is useless so I checked it on the charts. I attached two ZigZag indicators with ExtDeiavtion 0 and 1000. Independently of the timescale and zooming the...
  the MQL4 book (4)
dear traders, I am having troubles with the book on here. I have started reading through it, but know for a fact that I will not remember everything, theres so much to remember. is there another way that I can go about learning MQL4? I need to be able to relate what I am learning to something I know...
Hi If i have one account with deposit of 100$ and open one order with StopLoss of 25pip in EURUSD how i can calculate lotsize on the base of 2% from total deposit ? thanks
New article MQL5 for Newbies: Guide to Using Technical Indicators in Expert Advisors is published: In order to obtain values of a built-in or custom indicator in an Expert Advisor, first its handle should be created using the corresponding function. Examples in the article show how to use this or...
New article Event handling in MQL5: Changing MA period on-the-fly is published at mql5.com: Suppose that simple MA (Moving Average) indicator with period 13 is applied to a chart. And we want to change the period to 20, but we do not want to go to indicator properties dialog box and edit the number...
How can I find out what the longest bar has been over a specified time range & /or number of bars ?
Hi All. I am trying to use an Indicator in an EA, but the indicator is not showing on the Data Window, hence not exposing any value to the EA. I checked the indicator code but could not see what is missing kindly assist. Here is the code: #property indicator_separate_window #property...
Hello: I would like to ask for some help with a problem I have; I really can't figure out what is wrong with this code. I declare some variables, make a division with them and then, depending on the result, I want to perform some actions. When I run the code I can see by the Print() statement that...
The way the backend server works at my broker, after a pending order is filled, a new ticket is assigned to the filled order and the old one is deleted. Because they are an ECN, orders may even get split and from a single pending order I may get more than one filled order. I am using the following...
What is wrong with the following code? I'm not getting any values back. #property copyright "Copyright © 2010, Nondisclosure007"#property link      "http://no.link.yet"#property indicator_chart_window#property indicator_buffers 2double floor[];double ceiling[];int init()  {   IndicatorBuffers(2);...
Hello guys, I've made a printer ea to show the value of data of my indicator to see if they've got the correct number, however, it doesn't work at all(The top right corner of the chart screen there is a cross next to this printer EA's name). I don't know what's the problem.......... Can anyone help...
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...
  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
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...
Attached is an indicator I developed with the help of themany ideas on this site. It identifies decent buy and sell setups. They areshown 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 (EURUSD...
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...
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
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...
1...883884885886887888889890891892893894895896897...1245