Explanation from the developer : Program works by tracking a chart in external program and sending a signal through txt document . Expert in meta trader reads said file from common terminal folder and saves its content in a string variable . That part of the
I cant login to my account on both MT4 and MT5 market on one of my VPS
Hello, Im getting these errors on all of my purchases. Im unable to install. I tried differnt accounts, brokers, and computers. Any ideas? Thank you!! 2024.03.10 10:31:49.701 MQL4 Market: failed to get of info purchase [403] 2024.03.10 21:40:30.032 MQL4 Market: failed parsing info about purchasing a
Hi my broker still on mql4 and it doesn't have a math function for Normal Distribution (like the norm.dist function in excel). Does anyone have the code for this function or know where can get copy it for mql4? Thanks
Even with maximum zoom in, MT4 still displays days in the bottom axle on a daily chart. (see image). How can I get this to show hours instead? Thanks
Hello, I am dev app to read the Journal tab on MT4 by reading the log, which is going pretty well. However, there is one issue I don't understand why, in the case of Order take-profit or stop-loss, it is not written to the log immediately. It requires other actions first or restarting MT4 for it to
Hello Support and all, I've found problem of no any alert sounds from MT4 after update as build 1408. I've confirmed all setting for sounds are Enable (Option-->Events-->Enable for all). I've confirmed MT4 teminal for 2 brokers with 1408 update have the same problem, while MT4 teminal for other 2
Hello I am currently new to MQL4 and I need help understanding how to send data together with the post command using webrequest: https://docs.mql4.com/common/webrequest How do I attach a json string as raw data using web request since data is an array of characters. I tried creating a simple json...
I see EA's that have a nice rectangle as the information text background, works nicely for them. However, I can't do that with MQL4 scripting. It just doesn't work, I have tried everything that I thought of, googled around as well. My rectangle always comes white, no matter what color I give it
Hello, I need to know How dose the EA calculate the TP price by using Martingale strategy for each trade... If can some one share the formula with us in Exel sheet to use it .. Thank you for ur time
hello, i have migrate all the EA but i don`t see the expert tap. on vps. i see only (details,journals)
Is there a way to write code that will close your trade with the highest drawdown only once there are ten trades open and the profits from other trades equal the trade with the highest drawdown? Example: I have ten sell trades open (all in drawdown). The Code/EA should only act once this happens
Hello, I am getting Error 130 and Error 136 when i am trying to add new SL using order Modify. Code : void StopLoss_NewsTrading( int StopLoss_NewsTrading_magic) { int gNewsTrading_SL = MarketInfo( Symbol (), MODE_STOPLEVEL) + 10 ; // Loop through all orders for ( int i = OrdersTotal () - 1 ; i
I've written an indicator that draws rectangles with 9 bars for me by clicking on a button and writes some information about the new box's ceiling and floor compared to the previous box. I was wondering if there is a way to change some of the boxes that have been drawn consecutively, which are 9
Hello; I wish to autosave a preset file (yourea.set) in the Presets directory of MT4 I know there is a command to do that for template files (ChartSaveTemplate()) but I can't seem to find a similar command for presets. Does anyone know? Thanks
[Deleted]
This is a very stupid question. I coudn't find where my EA code saved. I created "closeTrade" EA program, and saved at metaTrader ->experts folder. It should generate one ex4 file and one mq4 file. I opened up the folder, nothing is there. first image is a screen shot of expert folder. if you...
I wrote a custom indicator and it works fine. I want to implement automatic placing of orders through EA calls, but I always cannot get the correct indicator value. void OnTick () { //--- //printf("0.time: "+time); //printf("0.Time[0]: "+Time[0]); if ( TimeCurrent ()==Time[ 0 ])
Please give me indicator heiken ashi rsi oscillator mql4. Thank All
Hello people, I am trying to solve the current problem. In mql4 there is no command which would add an indicator to a chart like in mql5 ChartIndicatorAdd() . It is really sad. I want my ea to initiate an indicator. Scrolling forums i came across with such solution but it isn't working properly
Hello, I am adding a Object to the chart which calculate Time remaining for the candle. Code void Object_Time() { int Object_Time_16 = Time[ 0 ] + 60 * Period () - TimeCurrent (); double Object_Time_8 = Object_Time_16 / 60.0 ; int Object_Time_20 = Object_Time_16 % 60 ; Object_Time_16 =
The system gives me 5 errors but I don't know why. Someone hepls me pleeaaseee?!?! extern int period = 200; extern int applied_price = 0; extern int barshift = 1; extern double TakeProfit=120; extern double StopLoss=150; extern double Lots=1; double currentprice= Open[0] double
Hello all, I want to draw trendline as forecast line so I want the line start from price Close[0]. The problem is, I want to draw the object automatically everytime new bar appear, any idea so I can update my object everytime new bar appear
Hi, I purchased a subscription to VPS for my platform MT4 brokerage account. My problem is I cannot connect to the VPS server from my platform, any help out there, thanks
[Deleted]
Hi all, A year ago or so I started with coding mql4 expert advisors. I have no programming background so I had to learn everything from the start. Currently I am at the stage where I can code most common strategies. In order to improve my coding skills and gain experience, I am offering to code...
Quick question: Why, despite telling it display the price in accordance to the appropriate number of decimal places of the chart, does it constantly fail to include the "0" when the price ends with a zero. I have the following: double CurrentBarOpenPrice = NormalizeDouble (Open[ 0 ], Digits );
I could literally scream I'm sorry but in what universe is MQL4 seeing the following : "+DoubleToString(0.56 * 100,0)+"%"+ as "56.00" and not "56%". The words "sick" and "tired" do not cut it, especially when this only happens with one currency pair, and no other. Just why
Predefined functions are not working. They are not turning into Pink color and so I get an error that it is an undeclared identifier. Any ideas?? //+------------------------------------------------------------------+ //| Predefined Variables.mq5 | //|
Hi all, I am programming an indicator and I wonder if it is possible to use non-standard timeframes in MQL4. Basically, I am thinking of using M10, H2, H6, H8 and H12 which are all available in MT5. Is this somehow possible to use them in MQL4? Currently, I was trying something like iHigh(_Symbol
Hello, How OnTimer work with Oninit. Every 60 seconds all four Print will be executed? bool assignVal=True; int OnInit () { Print ( "Checking Print 1 with Timer" ); if (MarketInfo( Symbol (), MODE_STOPLEVEL) > 0 ) { Print ( "Checking Print 2 with Timer" ); //--- set timer
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.