Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1180

To post a new topic, please log in or register
Hello All, Please contact me if you would like to make some fast cash adding these elementsto an existing EA: * Set an initial stop loss; * Move the stop loss upwards as profit increases; * Bail out of any trade with a loss of X% of total equity (i.e. simple money managementusing an 'X' risk factor)...
i am trying to do a monthly pivot with shift. have to use 1 hr candles to do thecalculations. if i am doing an array of finding the close of a 1 hr candle on adaily chart. is it possible?
Hi, if you place two indicators on top of each other in 1 seperate chart window (onthe bottom of the chart), they always apear as if they move in the same range:they behave as if they have been normalized (their probability distribution functionsare equalized to each other: they move more or less...
I DON'T UNDERSTAND WHY MY LINE ISN'T WORKING. WHEN IT IS ACTUALLY HAPPENING NOTHING IS GOING ON. FOR E.G. WHEN IN REAL TIME BID IS 1.1265 NOTHING IS HAPENING!!! I NOTICED THAT BID IS IN RED COLOR IN METAEDITOR. PLEASE HELP!! int init() { //---- if(Symbol()!="USDCHFm,h1") if(Bid > 1.1264)...
have demo account fxdd but have not found out how to load the nzd/jpy chart or maybethe pair is not available in the demo any info would be appreciated thanks
I don't know it is a bug or not for MT4 because my script will automatically removed by MT4 when I do an instruction torun for a single launch with my .INI file so before my account is loaded my script already removed by MT4 (in journal), verystrange... the correct is after the account loaded then...
How to make a script can still run continuously like EA ? so when the MT4 is loaded then it will automatically runs my script (BUT NOT SINGLELAUNCH), so I want the script still runs until I stop the script manually because my script is a trading script that have a looping procedure (I didn't useEA...
Hi I am trying to make my program modular a bit, so I detached a routine and placedit in a file in the include diretory. As below //extremas.mqh************************************************************ int alosh() { int man[2]; man[0] = 10; man[1] = 11; return (man); }...
Hi Is there any way to get info on the current chart? I need to have a generic EA that can run on any chart but has specific values ifit is running on the GBPUSD symbol chart and different values for the rest of thesymbols. In order to do this I must be able to query the current chart and have it...
Hi, maybe i'm already a bit stressful about bridging mt4 to an ecn.Terefore, is there any possibilities to trade MT4 demo acc to another MT4 real account, for example in my case, i used to use alpari as a chart an running the EA but i want to trade in another us mt4 broker.is it possible? really...
Can someone please help to get the MAX lot size? Lets say i have 4 opened orders Lots Size 1 Lots Size 2 Lots Size 3 Lots Size 6 I am trying if some how my script can return "MAX lot Size" and put intoa variable. ..
Hi, I notice that some indicator shows the level/value of the indicator at the far rightside of the chart. Some time the level/value is displayed with different backgroundcolor. How can I do it? Thanks a lot,
when ea is running, but ea want some history data, and that time terminal hasn'tdownload it. is there a way to make ea waiting for that history download ? example, the ea need 2007 aug 's data to do some analyzie, but firsting run ea,terminal doesn't has that history data , how to make sure that...
  Error 129 (4)
Why would I get error code 129 invalid price when sending a market order ? thanks in advance david
I want to draw a line using an indicator, between two points at a given time, andextend the line but only to a third time. This is all in the chart window. Justdrawing the line would be simple, but to get it to extend, and only to a thirdclock time is the trick. I'll gladly code it myself, just...
Hello. When I call a Custom Indicator from an EA using iCustom() in Strategy Tester usingVisual mode, I need to see the Custom Indicator graphics paint on the chart asthey do when the Custom Indicator runs in real time with streaming data. The bestI can achieve is to have the Custom Indicator paint...
I am writing an EA that opens and closes trades at a specific time, but if thereis no tick data for a few minutes then the trade time comes and goes and I missthe trade? Is besides writing a trade time window, is there a way around this? Perhaps someoneelse has already written an EA like this I can...
I like very match DS_Stoch , bud can someone to make some sign on chart when thistwo line crossing , this must be very helpfull ...... thanks
Hi guys, Can I exchange variables between my MT4 programs? Between different Indicators andeven between EA and Indicators? If I can (which would be very much useful, of curse), how can I do it? Thanks a lot,
hi, does someone knows how to delete indicators from the chart via an EA in mql4 I use alternatevely many indicators but I want show only a few at time. .. so Iwant to delete the ones tha t I dont' want to show .. any help? David
Hi guys, I was wondering, if any of you have ever used strategy testing / optimizing forexperts written in mql4, using some sort of parallel computation grid solution? I was thinking about using the free CPU time of my servers to aid me in strategytesting, and therefore I would build a computation...
Hi everyone, My name is Aras, and 24 years old. I'm sorry if my english is worst 'coz I'm asian. I have just know about Expert Advisors from several seminars and also from websiteexplaining how to gain profit as soon as possible using Meta Trader. Actually, I used Meta Trader when I was work at...
Hello Everybody, I am not a computer programmer, and I shouldn't need to be one to trade, shouldI? 1)I've been scouring the forums for MA crossover audible alert with time shift.I've seen numerous requests for something similar, however there seems to be noneout there. I found this one but it has no...
Hello, I am looking for assistance using the API. How can one switch logins in a script?Allowing to run a script for multiple logins... please help.. Thanks, JJ
Hello, I've been trying to use another smtp and I have been getting this message: Mail: 553 sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1) I think that that is some problem correlated with time out. Any help is must appreciated,
Hi, I want to develop an indicator like the one in the attached image. I want to havesome text, a couple boxes and some arrows to show market direction. Does anyonehave any sample code on how to do this? Thanks in advance, Y
hi I'm searchig an example of code, or an Expert Advisor made with the ZUP, doeascan some one can send it to me. David
hi all, first, happy holidays to all and may the new year bring a lot of pips for us! I'm looking for an simple EA for the attached ASCTrend1sig.mq4 indicator which shoulddo the following: - ASC shows the signal (arrow) and with the next starting timeframe a position shouldbe opend - so when using i...
Hello, I am not able to change timeframes in the strategy tester. Is there anyway thiscan be done? I would like to use the strategy tester in visualization mode andwould like to draw S/R lines on higher timeframes and simulate my trades on thelower timeframe. Thanks for any help!!
  Arrow codes (2)
Hi, where I can find a full list of all arrows code? thanks a lot,