Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1220

To post a new topic, please log in or register
  Candle time (25   1 2 3)
High guys Hope you have had a good month last month, I certainly hope this volatility keeps up till Christamas, that way we can have a great New Year. I'm in search of an indicator that counts down the remaining time left for a candle. But more specifically one which I have the option of shifting...
Dear Everybody I want to cancel all of my orders on metatrader at once. and if there is an expertor program that does that at a certain profit the better. Can anybody help me inthis regard. Regards Mehdi
Can any body help me with the code needed to close out multiple trades using one account, one expert advisor and one trade at any one time per chart. I haveattached my ea so far the trouble is it will only close out trades when my takeprofit level or stop loss levels are reached.
I am trying to generate alerts for moving average crossovers. At the end of everybar, I am trying to print the moving average at the end of the current period andat the end of the previous period. However, the values are not consistent. Cansomeone help me what I am doing wrong. here is the code that...
Anyone interested to invest with me can contact me at liowkp@hotmail.com
This indicator plots days range, with a 10 day average. The code that misbehaves #property indicator_separate_window#property indicator_buffers 3#property indicator_color1 Lime#property indicator_color2 Magenta#property indicator_color3 Orange#property indicator_level1 75#property indicator_level2...
I have some code i built a while ago on metatrader3, the syntax is quite differentfrom mql4 which is what i'm now using. I want to know, is there a way of converting my old scripts into mql4 so i don'thave to write them from scratch? Thanks for you time, Ed
The idea is that from e.g. H5 I receive open/close position signal, but want toconfirmation from e.g. H1... Any tips how to use in 1 EA indicators from M5 and H1?
can i use a while loop like this in the championship: while(IsConnectetd() && !IsStopped) { sleep(500); refreshrates(); some code Ordersend... some code } the problem is all works fine in demoaccount and livetrading, but backwardtestingis impossible because of the while loop (impossible so...
On the website of the Automated Trading Championship 2007, an Interview with Eugeni Neumoin (nen) has been published. Eugeni Neumoin known as nen uses functions provided by MQL4 to develop his indicator named ZUP. In this indicator, he utilizes various methods.The indicator is based on many...
Hello, I'm working with an ea, and I need to know if the last trade closed for stop loss. How can I know it? Thanks.
Hi I want to write an indicator that returns the previous monlthy high and low relatingto each bar ... so the Time for bar n is Time[n] and to get the Monthly bar no relating to that time is m_bar_no = iBarShift(NULL,PERIOD_MN1,Time[n]) and to get the previous monthly high/low is iHigh(NULL...
hi all, i am using interbank FX demo account mostly for signals... i know how to put alert on some indicator,but what i don´t know (nee your help)is how to write code wich will alert me if for example three conditionsare met: for example: 1.price touches one m. average(or even better--price is near...
I haven't found an exact answer to this, but would I be correct in assuming thatthe execution speed of an EA is determined by the client computer? If so, is therea way to determine how long it takes the EA to process a new tick? Thanks Nick
Hi, Is there any way for an expert to get a notification call when an order closesdue to TP or SL, or do I have to just poll all my open orders at each tick if Iwant to act on the close? Many thanks, Kevin
Hi I would like to run testing and possibly use some of the winning entries from 2006Championship. Where can I find these programs? Also, will the winners of the 2007 Championship, and others be available to thepublic? For testing and possible using on live accounts. Thanks!
I created this thread to manage some of my projects. A lot of these are in beta stages but you're welcome to test and use them. I appreciate any feedback. -neta1o INDICATORS FXA0 - CCI Majoro ver1 IND.mq4 This indicator plots the CCI and the Weighted Moving Average of the CCI line. You can change...
I tried trading on the contest account and my account balance changed. I hope it'snot a problem isn't it? Hopefully the accounts will be reset when the championshipstarts. And can I use the contest account to test my EA on it? Thank you in advance
  Hedge trade (6)
Does anyone know how I can set up a hedge trade funtion that can query my currenttrades and if the trade is say -15 it will put in a hedge trade to close at thesame stop loss as the current negative trade? Example: Trade 1 -5 pips. Trade 2 -8 pips. Trade 3 -15 pips. Experts spots that trade three is...
  Very Profitable EA (18   1 2)
Hi, I am very new in this forum, this is my 2nd month in Elite section. I am currently forward testing TrendStrenthExpert V2 & trendenvelopeexpert V2.4 with encouraging results. My main reason in starting this thread is to get help of experience coders in this exclusive forum to look into the...
Practical Application of Cluster Indicators in FOREX Cluster indicators are sets of indicators that divide currency pairs into separatecurrencies. Indicators allow to trace the relative currency fluctuation, determinethe potential of forming new currency trends, receive trade signals and...
  help me (2)
I have read many books . and I am very interested in stochastic RSI oscillator.but unfortunately,I do not find this indicator in custom indicator in MT4. I hopesome body will help me to create this indicator and put the code in mql4. com ,in the section CODE BASE . i have the formula of this...
In my search for indicators i purchased "Easy indicator System MT4 TradingFOREX Profit per Day" from an eBay seller. It turns out it is the Meta Quotes own "Daily Pivot Points" indicator After discovering that he had ripped this script directly from the mql4.com codebase, i asked for a full refund...
Hi all, Can anyone tell me what is the meaning of the followings error. My EA can run onReal Time Trading and Strategy Tester in my machine, but error in the Championshiptesting? 2007.09.02 19:57 loading compilation 'indicators\macd_2line.mq4' compilation 'indicators\jma.mq4' myrhtc3ov2 on USDCHF...
When an order is placed with a stop order and a take profit order we are placinga stop loss order as an order type of 'ON STOP', and the take profit order is a'LIMIT' order. As LIMIT and STOP orders can been seen by the broker, the broker can push priceup to take out your orders for there own quick...
can any one help? i am using a Demo account . every time i place an order and buy, the message "TRADE IS DISABLED!"pop up and also the Market Watch seem to be offline. from rodee
Is there any Limition for TrailingStop ? ModifyOrder is used for TrailingStop. Does TrailingStop must large than 15 points ? or other value?
New MetaTrader 4 Client Terminal Build 208 has been published: Fixed error of terminal deadlock when drawing a large number of vertical lines.MQL4: fixed error of last_error variable formation when calling a non-existing globalvariable.MQL4: fixed error of MessageBox function, leading to crash in...
Dear all I have using 4H MACD Strategy; I Attached the files about it. could any one help me in creating an EA for this.. or an indicator that can display Buy at price and sell at price with SL and TP Ex. Trend (Up/Down) Sell/Buy at xxx.xxxx SL xxx.xxxx TP xxx.xxxx TS xx Thanks