MQL4 and MetaTrader 4 - page 1510

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...
[Deleted]
Since 12/24, after an order was closed the system stopped making orders: MetaForex says it is FXDD issue. FXDD says it is not them, they hasve not changed anything, inclusing the spread. I cant find any reason why it wont trade, if anyone else had this issue and solved it, please advise as to...
Hello: I´ve  developed  an EA thats its  profitable,  but I think it  can be vastly improved. So,  I´ll apreciate If someone would like to work with me and improve it. please be  honest. thnxs Please contact me  at :  csbueno@gmail.com Strategy Tester Report Simple Profit EA MIG-Demo (Build 220)...
Hello: I´ve  developed  an EA thats its  profitable,  but I think it  can be vastly improved. So,  I´ll apreciate If someone would like to work with me and improve it. please be  honest. thnxs Please contact me  at :  csbueno@gmail.com Strategy Tester Report Simple Profit EA MIG-Demo (Build 220)...
[Deleted]
I am new to using auto pilot but its mainly does losing trades i have asked for my money back but they just ignore my request Can anyone advise how i can get it working as it should regards rick thanks
[Deleted]
Hello, I have a system I trade using the Simple Moving Average (SMA), I know nothing about how to program it and am only new to metatrader. Through my own trading it can make around 1000 pips per month. If automated, thru my backtesting could make close to 2000 pips per month as you would...
i am a newbie to mt4 but i willing to learn, i read some books online and learn this function crossed(), like iscrossed = crossed(shortma, longma); etc. but i want to get to know deeper about this function where does it locate at, I just cant find it anywhere in the documentation, when i type that...
[Deleted]
Hey guys, Here's a part of my code. Can someone check to see if there's a mistakes? void ManageClose ( ) { if ( MaximumRiskPercentage > 1000.0 ) MaximumRiskPercentage = 1000 ; if ( gi_304 > = gi_136 & & AccountProfit ( ) > = 0.0 ) CloseAllTrades ( ) ; if ( gi_216 & & ! gi_380 ) gd_unused_280 =
[Deleted]
I have the FAP Turbo EA MetaTrader installer and Scalper Strategy set to false for the EURUSD M1 EA and experiencing large losses on the demo acct. Any ideas of what else I ought to be setting ? I've copied the history on the account and you can see the losses experienced on 12/12/2008 EURUSD and...
[Deleted]
Hello, I'm a newbie in mql coding, though I can recognize some codes. Here's what I was unable to code and I need help. Example: An EA can't be used during volatile time. [Price that skyrocket or drop more than 50 points in 5 minutes.] When enabling an EA, you need to analyze the chart and make sure...
[Deleted]
How can I get the minimum spread of trading points of each trade sever at the terminal of MetaTrader? And the scalp method is forbidden by some trade servers. How can I know? I wonder how the traders judge the scalp method. I am not familiar with computer programming and can anyone give me a net
Hi Everyone. I am developing an EA that is to accept encrypted strings and then decrypt whilst running. Is there a library or dll out there that is freely available that I can call to perform the decryption? Thanks in advance. C
Hello I look for an expert capable of crossing(spending) several orders (pyramiding) manually in the tester of strategy I have it a who does not allow to cross(spend) several orders has the time ( EA trade simulator ) Thank you The trade simulator goes to the expert, the rest in the script ps...
[Deleted]
I don't mean the one that comes by default with MT 4. I need one where I can actually visually see the 'crossover' happen between the SLOW MA and FAST MA. Its frustrating that MT4 does not come with this basic indicator in there software. Appreciate the help. ~ Amran
[Deleted]
I have written a custom indicator, and referenced it in an EA using iCustom.  The indicator gives out a reading of either +1,-1, or 0, depending on market conditions.  A new reading is given on every tick.  I'd simply like to tally up the +1 readings and tally up the -1 readings and see what the...
I need these indicators to HenryFX, because I have the EA, but doesn't work without this two indicators. HenryFx_Indicator1.mq4 or ex4 HenryFx_Indicator2.mq4 or ex4 Thanx
See picture. Is it possible to have an indicator draw truly vertical (zero rise time) from buffer data, as indicated by the red overlay? Note the chart is fully zoomed so there is one bar pr. V-division. I'm not sure about this as it would kinda imply BOTH 0 and 1 for the bar in question... Have...
Run the following simple "expert advisor": int start() { Print("Weekly iMA = ",iMA("EURUSD",PERIOD_W1,2,0,MODE_LWMA,PRICE_WEIGHTED,0)); Print("Monthly iMA = ",iMA("EURUSD",PERIOD_MN1,2,0,MODE_LWMA,PRICE_WEIGHTED,0)); } You will get an output file like this: 20:12:57 Test EURUSD,M1: loaded...