Hi all, Say that the value of AccountProfit() is 2 and on the next tick is 3, then a variable called AP is on is track minus 0.5 (just example) when next tick comes AccountProfit() comes down to 2. How could I get a way to fix the value of AP. What I mean is get the same behavior of a Trailing...
[Deleted]
Hello, I would like to ask if someone would be so kind as to give me programmed into the indicator Var Mov Avg function to send a signal when exchanged paint balls. The signal must be sent each time when new paint ball in the first row and the other signal comes only when the color changes. Not on...
[Deleted]
Cold: The USD is the world's currency. This means that almost any commodity can be bought with USD directly. Currency is also a commodity. Therefore all currencies have an exchange rate against the USD - this is a characteristic of the value of the currency. Earlier the world currency was gold
Hi i m building a custom indicator and got problems with the 4066 Error. As i m building an indicator i ve got the following While loop to check if data have arrived dt=iTime(Symbol(),PERIOD_M1,0); Error=GetLastError(); while (Error==4066) { _time_waiting =...
I've been struggling for 4 days now, and I can't seem to implement a seemingly simple thing. I have done similar things before with different indicators and candlesticks. I can't do it with a wristwatch. The essence is primitive! As soon as the price approaches the mask of a certain period at a
[Deleted]
Are there any plans in releasing a WP8 mobile app? Could really need one. T
Hi all, Say that I want to get information regarding profit that has been take with an ea to another place or mail address. Is this possible ? Thanks in advance for any help on this matter. Luis
so, if I have a max 2 order. I open 1 order, and like 5 pending limit order. How can I make sure that there is only 2 open order at a time? What is the code of EA look like to stop those extra pending order to be executed?
do you have a good history file I can use in my back testing? For some reason what I have keeps getting corrupted. I try to download new history but it always says it up to date, but then I get screwed up results. I just need a history file I can dump when needed. My email
I'm looking for a programmer that can make me a Expert using the Heiken Ashi, Rainbow and Renko indicators. If so contact me for more info. Thanks!!!
Hello all, I need some help here - I am a beginner on MT4, but i have trading ideas. I need to create a new indicator that picks up tick by tick data and buffer them for a short period of time so they can be used at a later stage as part of a strategy that I am developing. To be more clear, like a
[Deleted]
HI ... How Can I Find Daily Open Cabdel? I want use this for an Expert that set Orders some Pips above OR Below this candle. Please help Me. thanks.
Hi all I'm trying to find out how I can import information from indicators to my EA. I can see in the examples that comes with the MT4 environment that I've downloaded how I can access data from the standard MACD indicator, but I'm currently looking at two other indicators that I'd like to use. One
I am a "Newby" and would like to use sample code in Kovalyov's book, but all comments in the code in the appendix seem to be in, I presume, Russian. Is there a solution to this? MeraAlpha
[Deleted]
Hello, sorry if I make mistakes, English is not my language. Could you help me put this indicator in EA? Buy when the price above the fence higher and sell when the price closing at its lowest? If someone would help me it would be nice...
[Deleted]
Hey everyone: I'm wrote a function that evaluates Pearson Coefficient. I tested the formula and it's 100% correct with results. I'm trying to calculate the coefficient on Close and the % changes from one candle to the other. I'm trying to show coefficient in a separate window with red and white...
Hello MQL4 community, All statements below are regarding EAs only. Special functions including- init(),deinit() /*and*/ start() are integer data-type. Each special function has a concluding function, return(0). Why does return() function return zero by default (obviously it must return an integer...
I have time over weekend, so I would like to do some coding. But the market is offline. and there is no tick, so the start() is not running. How can I write code and test it on the current available data when it is not getting any new tick? I just want to draw something on the current chart....
I have two broker accounts in one MT4 installation. Can I use prices from Broker B when I am logged in at Broker A to create a custom indicator? I have previously explained how I have been able to modify custom indicator(s) to utilize prices of any user selected security instead of default (current...
I have 4 MetaTraders on my VPS Server, every MetaTrader i have save in a folder and the folder is on my Destop. Sometime i see that a chart does not reload itself or that a EA does not run and i want to ask people here if they have find simular little problems when they use some MetaTraders on a VPS...
Hi all, my first message here... in strategy tester trades appear before the signal and bars be in the chart. Regards.
I have been using strategy tester for a long time with no problems. Just yesterday I had to do a system restore (windows 7) and now I get this message when I try to run strategy tester with a 5M time frame. " 2013.02.08 12:46:37 TestGenerator: internal error because the file not opened ". I have...
so, for every tick data, the start() function will activate again. What if the start() function have not finished running and the new tick coming? Will the start() function keep running until the return() reach and run the new tick after it? Or the start() function stop and run the new tick?
[Deleted]
My account in mql5.com got banned and i suspect its due to some links i put on my profile. Phi.nuts assured me it was totally fine to place links on your profile link and nowhere else. So come explain this because i have made no violation of TOS. :-( . Below is the proof where phi.nuts said its ok...
Hello Forum, I have the following question which has shown up a BIG gap in my base understanding of how and when indicators update. Why is comparing indicator values for bars 0 to 1, different to comparing indicator values bars i to (i+1), in the context below? Context: I put together an indicator...
[Deleted]
Andrews W Salim from India Purchased a robot and now guide me to add it into my GCI Account on a VPS
Hi specialists, I have a question for display some account informations in MT4. IK found a standard script in my MT5 installation which show me actually account informations in my chart. The information field for the "margin call in%" and the "margin stop out in %" is very important for me. So I...
New article Fast Testing of Trading Ideas on the Chart is published at mql5.com: The article describes the method of fast visual testing of trading ideas. The method is based on the combination of a price chart, a signal indicator and a balance calculation indicator. I would like to share my method...
hi all, my platform connection has been so unstable in these days. I always got disconnection and wasn't able to get reconnected until a long while later. And even if I am connected, sometime i couldn't even trade or close an existing position. After I checked the Journal of the platform, I see the
[Deleted]
Why is it that hiding take profit and stop loss using OrderClose() gives different results, when compared to using OrderModify() ?

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.