MQL4 and MetaTrader 4 - page 73

Is there a chance that MetaQuotes will include the IndicatorCreate() function in MQL4? It is very necessary function that is used in MQL5 for dynamic loading of external indicators and reading their buffer signals via MqlParam and IND_CUSTOM
Hello guys, So it's my first post here, glad to join officially this beautiful community ! :D I would like to know if it was possible to see the maximum daily drawdown on backtest results and more generally on generated reports ? I mean maybe than by generating one report by trading day and finding
[Deleted]
hi, is anyone know how to create a dll file and use in MT4? what is the programming tools need to use in order to create a dll? VB.net? C? C#? C++? Please help. Thanks
double LowestEMA = iMA ( Symbol (), 0 , 10 , 0 , MODE_EMA , PRICE_CLOSE , 0 ); for ( int i = 1 ; i < 30 ; i++) { double MovingAverage = iMA ( Symbol (), 0 , 10 , 0 , MODE_EMA , PRICE_CLOSE ,i); { if (MovingAverage < LowestEMA) {
Hello everyone, how do i get the lowest margin level reached per trading day and the lowest account drawdown per trading day? I have been trying to do so but the values remains the same since they both are getting the data from the same function: AccountInfoDouble(ACCOUNT_MARGIN_LEVEL) and
//-------------------------------------------------------------------- // simple.mq4 // To be used as an example in MQL4 book. //-------------------------------------------------------------------- input int Sl = 100 ; input int TP = 200 ; input int slip = 6 ; // Global variable
Yesterday, I hired a freelancer to develop an expert that moves the SL or TP a few points and set it back to the original price at a certain time. I had a very long argument with the developer because he was very rude. Today I opened the source code, and I saw the following: if(TimeCurrent() >
Hi all, I’m trying to better understand the mechanics of the tickvalue property and the role it plays with EAs in calculating a trade’s lot size. MT4 literature says that a this property gives the "Tick value in the deposit currency". But my understanding is that a tick is simply an update to the
Hi I am a newbie into mql4 coding and i am trying do my first ever code for mt4. In my strategy I might have hedged positions, which I close all of them when it reaches break-even point. But unfortunately orderclose doesn't execute at all. In the backtesting orders are being opened but orders aren't
Hi, I have problem with autotrade like in topic. Can I make autotrade when I am not in front of computer
newbie trying to learn mql4 here. I want to write an EA that will take the high low of the first bar of the day in a 5 min chart to draw a fibo retractment, and then trade based on those lines. Have been struggling with finding the first bar of the day. Any guidance will be greatly appreciated
I bought an EA and am trying to run it on the Xbtfx4 Metatrader terminal on my MT4 account. I have attached it to the chart and it loaded and seemed to be running (as seen from the Alerts it generated) but when I logged off the terminal and came back again, the EA got removed immediately. From then
  An MQL4 function  (6)
Hello Developers I'm stuck here, Can anyone help me with a function that works this Way? "I want it to open just one position. If that position hits TP, then EA must open another trade in the same direction. But if trade hits SL, EA must open a trade in the other direction"
Hallo everybody, I have issue related get difference between 2 devs over different timeframes during looping on the current chart bars, When the current bar of the current currect changed it effected on the pervious bar not the current bar of the histogram I know that happened the becouse the
Hello everyone! I am trying to make an indicator that allows me to draw a rectangle with two clicks and later with this rectangle perform other functions with buttons; My problem is that when I use the CHARTEVENT_CLICK it only does the CHARTEVENT_CLICK thing and cancels the rest. In this code I have
Hello, dear friends, I have 2 codes for reading and writing a text file in meta4 but I have a problem, my file cant close and still is open and I can't read/write by another application. Please help me resolve this error ,(before this i just reading text file and i havent problem,after i writing in
Is it possible to have a MT4 EA with +700% of gain in 1 year on a live real account and when I made a backtest for the same period I obtain -3% (with the same settings)? The seller of this EA tells me: ​not all backtests are accurate. What is your opinion
Hi, is the margin requirement by 1:100 leverage account (10k USD) different between brokers? I see on fxcm 1600$ / lot and on fxdd is 540$ / lot (1 lot = 100.000 ). Can i somehow calculate margin requirement for 1 lot per broker?
Hello everyone, I just learned about iBarShift which returns a candle ID by date, I would like the same by price. The docs mentions ArrayBsearch would only work on sorted arrays, Im trying to sort a copy of &high[] on the code below. Im a bit lost, as im getting the same result no matter if i sort
When I click on the US30 history download button in ICMarkets broker, I encounter this error
Hello everyone, hope you are all doing great! I would love to know if theres a method to deal with multiple buffers. My thought is to use iMA() function to pull data from any symbol and any timeframe. To produce something like the image bellow: The problem becomes managing these buffers, from
Morning all, I currently have a formula which calculates the SL and the TP. It calculates the TP/SL as a percentage of the current account balance The formula is as follows: int OnInit (){ int percent = 2; //The amount to risk as a percentage of the account balance. double convert = percent /
double Lowest = 500000 ; double MovingAverage = iMA ( Symbol (), 0 , 10 , 0 , MODE_EMA , PRICE_CLOSE , 10 ); for ( int i = 0 ; i < 10 ; i++) { if (Lowest < MovingAverage) { MovingAverage = Lowest; } } Hi all
[Deleted]
Hello MQL Gurus and Investors, I need some pointers in filtering out false signals. Are there preferred indicators or methods that would do the job? Thanks
Please tell me how to install MT4 on iphne 13 pro
  MODE_MARGINREQUIRED  (14   1 2)
Hello, can I use MarketInfo (Symbol(), MODE_MARGINREQUIRED) to calculate the amount in account currency spend for the invested lots in the trade? Are there any restrictions or why some coders do complex calculations based on conversions from base currency to the account currency
  Is Fullscreen?  (7)
Hello together, when I press F11 I get a FullScreen of my Chart and if I press F11 the Chart gets small again. Is it possible to see in mql4 whether I have Fullscreen or not. Regards Falte
So I have been making an AI with button labels the first button opens bye and the second one opens a sell I want to add another two buttons one that opens a sell limit and one that opens a buy limit far from the last trade opened accordingly and I want to be able to edit the space between them in
Does anyone know if it's possible to program my EA to pull in data from the terminal journal (not the experts log)? I want to do this live if possible, so check the text in the journal every tick, minute or ideally when a new journal entry appears and scan the text for certain values. I'm not sure...
I want to keep saving a value for Zigzag indicator and save it as a buffer