MQL4 and MetaTrader 4 - page 1505

It should be the time to at least make a statement...
hi, when publishing my statement via FTP it's really not that detailed(it doesn't evenshow the Comment on each trade which is shown in account history!). I saw someonewho had a REALLY detailed statement on his FTPserver (included detailed stats oneach currency pair etc.). I searched for s acript...
  expiry date  (1)
how can i code my indicator to expire after a period of time or after a certain date?
8 differents EA based on Custom Indicators.
[Deleted]
Does anyone have a piece of code representing a Pips to USD Conversion Formula? What I'm trying to do is let my EA determine lot size dynamically. My EA already knows where to set the Take Profit and Stop Loss levels. What I'd like to do is have it change the lot size so that the Stop Loss level...
How do I code EA to only trade from "StartTime" to "StopTime" on next day? int StartTime = 19; //19:00 to start trading int StopTime = 4; // 04:00 to stop trading next day. Thanking you in advance.
Hi, I have the following code:    int ticketBuy=OrderSend(pair,OP_BUYSTOP,lot,longEntryPrice,100,longStopLossPrice,0,"BUY",0,0,Green);   if (ticketBuy == -1) {      ticketBuy=OrderSend(pair,OP_BUYSTOP,lot,longEntryPrice,100,longStopLossPrice,0,"BUY",0,0,Green);   }   int ticketSell=OrderSend(pair...
how to clean that vertical line when i used shift? MA[i] = iMA(NULL, 0, 12, -3, MODE_EMA, PRICE_CLOSE, i);
[Deleted]
Hi, I cannot download or even find EUR/USD data before april 2008. Is there a way to obtain it. the best would be from 2000 I need it to check the reliability of my last EA Thanks to all. Lionel lionel.houba(at)wanadoo.fr
i want to count how many bars went green on the last 5 bars, how do i do it ?
I have been wondering if it is possible to have a code where two opposites pending order can be deleted by one if the order becomes a market order.If possible can you help me write the codes.
[Deleted]
Dear all, I am new to forex, new to metatrader, mql4 and currently exploring everything! :) A have a questions in mind and hope someone could give me an answer whether it's possible. Assuming I am trading 1:1 ratio (i.e., no leverage at all) and using expert advisor to do all the trading: Is it...
[Deleted]
As I am very new to fx, I would like to open an account and trade with real money. Is it possible to start with as little as one hundred dollar? If so do I use the open new account feature on the trader to get started? Thanks for any advice. WGRW
[Deleted]
Hi, First, i'm sorry for my poor english, and i'm a newbie in MQL4. I'm making an EA, and I want to change the lot when an order is closed, depending of the order type, and the result (win or loss).I change the variable when closing, but the next order doesn't take the changed value, it takes the...
Hi, Has anyone a snippet of code that will achieve this? Thanks ergys1@yahoo.com
What for is testing mode for Expert Advisors and what for is the function IsTesting() ? How to switch Meta Trader into TESTING MODE ???
hi please how can i type that,, if the price now is higher than the high of he last candle
I wrote a simple Ea to send order when certain crirteria are fulfilled.In my codes are while operators used within another while operator and also some user defined function.The program compiled without any error,but the EA will not run,it will even hang the terminal.I tried run it on strategy...
[Deleted]
Can somebody recommend a forex broker that uses MT4 and tolerates scalping? I am looking for a broker with a spread 3 or less even during low-liquidity times such as night hours. My preference is a broker based in US, UK or Switzerland. I am scared to deal with unregulated PO boxes on small islands...
Hi, If there is somebody here interested in a strategy that looks very promising to me, I would be glad if you could create an EA of it. The Strategy needs much input, so I didnt test it manually, but would leave it to the EA program, to do the testing. Thank you.
[Deleted]
Hi All, How I can determine the last Close[0] of the current candle. When the current candle is closed completely. In my programm, i use the following code: Start_Time = Time[0]+Period()*60 - TimeCurrent(); if (Start_Time == 0) { Last_Close = Close[0]; } if (Last_Close < Close[1]){...
... for all here, and a new year with healt and luck, and lot of good trading-strategies :-)
[Deleted]
Hi everyone, I made my EA and I would like to test it on 5M data . I have 5 min for period of few years. But when I start testing for all 2008 it uses mainly data form 01.oct.2008. That period from JAN to OCT are almost missed besides few days. This is some kind of scalping EA and he starts from...
[Deleted]
now when i try to open a buy or sell order, I get a pop up saying Off Quotes" What am I doing? How can I fix this?
Post entry EA to be automatically added to open positions of 3 lots. At a preset profit ( 25-30 pips), take 1 of 3 lots profit and move stop to break even + 1. At next preset profit (60-75 pips) take 2nd lot profit. The final lot to be closed manually. Ability to run multiple trades on any and all...
[Deleted]
HI, can some one please tell me how to get my EA to close my open position when the hourly bar closes... I want the open position to close when the hourly bar closes no matter how long it has been open. i have tried many things ... eg. if(Volume[0]==1) { OrderClose(......) return(0); } and I...
[Deleted]
need the best adjustment to moving average for GBP/JPY for 1H time fr am e
[Deleted]
Hi I am a fxpro metatrader platform users. I changed my pc and when I reinstalled my fxpro metatrder 4 platform and I opened a new account (obviusly I didn't remember my old pw) I didn't find under file- new graphics - between forex, CFD, Indexes, etc... the sub menu Futures that was the one I was...
Hello all.. im not a programmer, but i can understand some of the commands. The file attached is my EMA Indicator using new window. When i added my indicator to the MT4. It only shows one line, i need two lines so i can see the crosses. I'd really appreciate if anyone could help. :D
[Deleted]
Hi Everyone: Recently I started to learn MQL4 language but I am experiencing many problems inexpertly. One of them is as following: I tried to copy simpleopen.mq4 in Opening market order, Practical Programming in MQL$ of MQL4 tutorial. And I get 0 mistake and 0 warning when compiling the programming...