[Deleted]
Apologies if this has been answered before but the search function keeps coming up with error messages. I would like the chart lines for buy/sell, TP ans SL to remain on the chart once the trade is finished (stop loss hit..) to quickly assess what happened. But they disappear as soon as they trade...
Hi, I followed the tutorial at: http://eareview.net/tick-data and can now get 99% modelling quality, but the bar is red meaning that only data from the timeframe I was running the EA was used. Is this a bad thing?! Does it mean the results are not accurate? Perhaps I need to generate FXT files for
Hi guys, I am fairly new to the forum and still learning MQ4 (thanks for the support with that too ;) ) I couldn't resist writing a post for something completely different, please forgive me if it is too cheesy!!! (It can slip down the list unanswered or moderators are welcome to delete if nobody...
[Deleted]
Hi, I'm quite new to EA and bots and have been quite confused as to how they work. What i don't seem to grasp is how does the EA/robot automatically enter Buy and Sell signals? For instance, say, i have a US$ 2,000 Forex trading account. The brokerage gives a 50:1 or 100:1 leverage (Note that I...
[Deleted]
what happen to my mt4?my internet connection is ok but cant connect with server? n i have open position..ive tried to refresh n many thing but still failed to connect.. is the server have problem or not? anyone facing the same problem?
[Deleted]
Hi all, I'm pretty new to MQL4 and I'm starting to build a new EA that I want to stop trading if I hit a certain number of pips (either profit or loss) for the day and the week (ie. 20/day and 50/week). The way I wanted to go about it was to look at the account balance on Monday and just do the math...
CAN ANY ONE HELP ME I AM TRYING TO BACK UP MY PROFILES ON MT4 BUT CAN NOT SEEM TO FIND THEM IN THE PROFILES FOLDER USING WINDOWS 7. THE PROFILES STILL EXIST AS I USE THEM ON MT4
[Deleted]
Hi, I downloaded and installed this EA. Did not change a thing in the code. When I backtested this EA on some historical AUDUSD data from Alpari I got some unexpected results. The most puzzling is that I have zero long transactions. Only shorts. I don't think my data historical data is faulty...
and Win32_DiskDrive (WMI class) HDD ID Is it possible and how to ?
extern int UPPER_LIMIT_ON_COUNTLOWHIGH=5,TOTAL_ORDERS=3; extern double SL=200,VOLUME_LOT=0.01; extern int SLIPPAGE=3,TP=2; int countlowhigh=0; double prevprice=0.0; //+------------------------------------------------------------------+ //| expert initialization function...
Hello, Is somehow possible to have multiple Market Watch windows ? Let's imagine grid 4 x 4 or 4 x 3. Thanks for answer. Neufurth
Hi guys, I need help. I have created a simple custom indicator for using functions such as iRSI, iADX,...in some EAs. I noted if I use for the custom indicator the same or smaller ( for exemple 60 min, 30 min) timeframe than the one of the chart (for exemple 240 min) where I use it, there isn't...
Hi, I have a SIMPLE PROBLEM: There is opened BUY LIMIT order 30 pips lower than current Ask price. If the Ask price increases over 30 pips I would like to modify OpenPrice() of this order (set the OpenPrice() 30 pips lower from current Ask price AGAIN) and do it every 30 pips (not every pip but...
How to check the total number of open orders? Is there any function can do that? I still don't get the meaning of OrdersTotal(), does it include all current open orders and stop loss/take profit orders? or it only include open orders, if so my problem is solved. hope someone can answer this, sorry...
Ok guys, I need another set of eyes to help me with this one. //~~~~~~~~~~Basket-Stablize:if(Order_Manage(iMagic,"Abs_Last_Order_xSymbol_wMagic")==true){ if(StringSubstr(iSym_,0,3)=="USD" && iType== 1){ if(Base_=="USD" && Signal== 1){Signal=0;} if(Base_!="USD" &&...
[Deleted]
hello I have been searching high and low to get a glimpse of it and i landed on a pic. It tells a 1000 stories. Only thing missing is its name. I attach its photo and i request anyone out there who might know its name to help me out. Please post its name. Thanks in advance
[Deleted]
If you open the prebuilt indicator Alligator.mq4 and add the one Print statement to the code as seen in the attached jpg. When this is compiled and added to a chart, I would expect to see in the Experts window the first Print executed would show, I = 0.....but it shows 208 for the chart I am adding...
[Deleted]
Hello all, I have bought into the "Hector Trader" system, but I can;t seem to get the provided templates and indicators onto MT 4....I click on the "here" button (on Hector's website) but then I don;t have the choice to import into the MT 4 platform...any help please
//+------------------------------------------------------------------+//| GBPUSD trader.mq4 |//| Copyright © 2011, MetaQuotes Software Corp. |//| http://www.metaquotes.net...
[Deleted]
Earlier I forgot to put in the code that I want to have this work on. It is attached here now. This is like a Semi-Auto EA. Enters trades well, then keeps adding more lots and won't close the trades. Need to get this fixed. I am a newbie coder and this one has got me. Hope someone can help me with...
mladen This is an indicator so I'm not sure OrderType works in an indicator. I can't seem to get OrderType() to work. In the last line of code the BasketType always shows 1 for both op_BUY & OP_SELL. the OrderType always shows 0. Thanks for your help, I hope. Ray Line 231 if((OrderType())== OP_BUY)...
[Deleted]
Hi all, I was playing around with an EA(kind of) to show me the total number of objects in a window. I used an Point and figure indicatos that uses boxes. Wnen I let the tester run at "normal speed" (slider at about 30), I get all the objects counted. However, if I hit "skip to" buttom, it stop...
Open the six instruments in the sequence below and position them on the screen like this: NZDUSD USDCAD EURUSD USDCHF GBPUSD USDJPY ------------------------------------------------------ Then in any usual indicator/advisor insert this simple code at the beginning after start(): string Shift =
IF you see in MT5 you could find this indicator. I have attached it here. There are similar ones in MT4. My problem is that I want to apply it to "Low" or "High" not only to close. You could do this in MT5, But because my broker is using MT4 I need to do it in this platform. Can Anybody help? I...
I have a problem with the times on this chart. It works with the one hour chart highlighting a box for the daily range but on the Daily chart, I am trying to highlight a box for the last week and it doesn't highlight the correct number of days. double AlertsOn = 1; int periodmltp = 0; int h =...
[Deleted]
#property indicator_chart_window#property indicator_buffers 2#property indicator_color1 Red#property indicator_color2 LimeGreen//----extern bool Show_Alert = true;//---- buffersdouble upArrow[];double downArrow[];string...
I would like to make an program that can open orders when every new bar presents conditions are 1. new bar present 2. current price higher or lower than the previous bar's high or low 3. does not exceed order limit // how many times it can open order in one direction. e.x. for uptrend, int...
[Deleted]
I'm new to MetaTrader. I'm wondering about one thing - DDE Servers. As far as I know data feeds are expensive things and from the other side if I can export data from MetaTrader using those DDE Servers stuff. 1) Is this legal? 2) Am I able to obtain tick data with OHLC from MetaTrader using DDE
[Deleted]
Hi, I am struggling with my first EA and I am getting error=1 when calling function (take profit/modify SL/scale out) Attached is the code for taking profit/scale out the Alert shows funny digits for SL, and I cannot understand why it fails It appear to be some major issues I need to learn with my...
Hi, would someone be generous to help me and attach a simple traing hours function to this ea i have tried to add the function iTime but with no success

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.