MQL4 and MetaTrader 4 - page 118

[Deleted]
Is there any function in mql4 that allows me to read current price range from metatrader 4 vertical scale? In the image below the actual price range is 15 points, I need a function that returns the current value of this range
Can a file that exists outside of the MetaTrader folders be opened? e.g. "A:\abc.txt"
I installed a fresh copy of windows 10, with IE 11 and suddenly the market tab gone empty. I looked for solutions in this forum,, I logged in using my username and password through terminal I tried 2 other brokers I tried deleting .dat files in community folder nothing fixed the issue. in the
void xmlOperation() { //---define the xml Tags, Vars string sTags[ 7 ] = { "<title>" , "<country>" , "<date><![CDATA[" , "<time><![CDATA[" , "<impact><![CDATA[" , "<forecast><![CDATA[" , "<previous><![CDATA[" }; string eTags[ 7 ] = { "</title>" , "</country>" , "]]></date>" , "]]></time>"
string message = "SELL"+"%0A"+"identifier: "+indentifier+"%0A"+symbol+"%0A"+"SL (Pips): "+sl+"%0A"+"TP (Pips); could someone asssist here why the line break wont work on mt4 i need the message to appear like this EURUSD ; SELL ; ETC as it is it puts message in a single line
Is it possible to hide all the trade's related lines in 1 chart only? the show trade levels options impacts all charts. thanks.
[Deleted]
Hi can I hide or show the horizontal ask- (red) and bid- (grey) lines within the chart window? thanks
Hi I have read in this thread that the mt4 macd is actually not the same MACD as for example tradingview and other sources, the 12, 26, 9 period is ema(12), ema(26) and sma(9). How can I change the signal line to a 9 ema, the bar lags compared to the ema MACD. Also I have looked at the default MACD
double cde=Open[1]-Close[2]; result is 0? why
Dear I am a developer both MT4 and MT5. My old mt4setup.exe not working. I download new file from https://www.metatrader4.com/en/download but when i try to install it it show Metatrader 5. Please anyone help me show can i downlaod MetaTrader 4
[Deleted]
Hi I am a beginner to learn mql4 programming . I meet a very simple problem but I don't know how to solve it. I wrote these codes already: void SetLable( string LableName, string LableDoc, int LableX, int LableY, int DocSize, string DocStyle, color DocColor) { ObjectCreate (LableName, OBJ_LABEL , 0
Will ea programs attached to mt4 software be stolen by foreign exchange dealers
Hi guys, I'm learning mql4. I was able to print the last weeks high and low. Now I like to go a bit further but I guess I need help. Here's what I want to achieve with an EA; If bar closed aboved last week high, then if price close below last week high: BUY when price hits last week high again
Hi, I have Internet Explorer 11 and I have trusted site and I have tried a lot of options, also with remove community folder still I have empty Market. How can I resolve this? Regards
Hi, I want to be able to close a trade on a specific symbol. All the scripts I try close positions on all open positions, irrespective of symbol. I tried to force the script to work on only a specific symbol by changing OrderSymbol() to " EURUSD " for example. But no joy! Still closes everything
I made an indicator an indicator to plot vlines on every candle but when closing the MT4 and opening it again after some time, there is also gap where there is no plotted vlines. See image below: I closed the MT4 then open it again after 3 minutes. Here is the code: #property copyright "Copyright
Hi everyone! I'm fine tuning my EA (code attached) focusing just on placing SELL orders. When I run it on backtesting it executes EXACTLY has coded but when I run it on my demo account then it performs in a very weird way. To highlight this wrong behavior I'm also attaching a file to clarify
  Break Even Mql4  (3)
Function to bring the stop loss to the opening price or just above the entry void break_even( int MAGIGMA_n, int break_points, int positive_points, int stop) { bool Return; for ( int i = 0 ; i < OrdersTotal (); i++) { if ( OrderSelect (i,SELECT_BY_POS,MODE_TRADES)) {
hi, my indicator is gonna mark ichimoku cross and i decide to showing those marks with arrows but in chart they not showing properly(in screenshot below) this is part of my code : string ArrowName= "Arrow-down" ; StringAdd (ArrowName,( string )i); ObjectCreate (ArrowName, OBJ_ARROW , 0 , time[i- 1
Hi, Any one knows why the pending order stays in order window even after the expiry time in MT4? I know the expiry time should be current time + 10 min. I followed the same but the order is not getting deleted after the time I entered. Is there any other settings I need to do
Hello! I'm sad to admit it, but I've hit a wall with my EA. I've been studying and pulling apart EA's for days to try and get mine to work but nothing is meshing. I would be so so grateful for any input from a more experienced mind, if you have time of course 🙏 Very happy to learn and I hate asking
#property copyright "Created by William Miranda" #property link " https://www.mypage.com " #property version "1.00" #property description "" #property tester_indicator "PM" #include <stdlib.mqh> #include <stderror.mqh> //--- indicator settings #property indicator_chart_window #property
Hello, learning to work with MT4, wanted to download some free indicator, but when I click on download link, it shows pop up to install MT4 (image attached) Yes, I have MT4 installed, when I click on Open MetaTrader 4, it opens the app, but I cannot get the download link for indicator. Please help
string fxsymbols[3];double pipschange[3];fxsymbols[0]="AUDUSD";fxsymbols[1]="EURUSD";fxsymbols[2]="USDJPY";pipschange[0]=10;pipschange[1]=-8;pipschange[2]=3; Hey everyone, I have to arrays that are related to another. That means AUDUSD changed 10 pips, EURUSD changed -8 pips and USDJPY changed 3...
Hello pals, Hope you are happy today. I wanted to calculate and comment Maximal Drawdown and Relative DD for each tick. But the commented Maximal DD and Relative DD results are different from what is presented in backtest report. It would be greatly appreciated to point me where my mistake is. P.S
hi i have multiple EA that comes with indicators and i put the indicators ex4 files in the MQL4/Indicators and refresh the folders but the problem is when i want to test them it continuously shows empty i attached screen shots to see i don't know what else should i do i think my EA getting signal
Hi guys, I would like assistance with an indicator I am planning to use for a trading bot, this indicator is sort of like a support and resistance indicator. It draws support and resistance blocks on the chart. So my issue is, when I open up the Data Window (Ctrl + D), this indicator only has 1
EA can use a magic number to distinguish its own trades from others. What if I manually open a trade, which magic number does MT4 platform use? The reason I'm asking is, I'd like to hide my EA generated trades from brokers, so they cannot tell if it's a manual trade or automated trade. I know I have
Hi, I am trying to get the lowest and highest price of the candle but am getting it wrong it seems please assist if you can? //Price is higher than lowest price D1: if ( iLowest (pairs[i], toTF(PCS_TimeFrame1), 0 ) < symbols[i].ask) //Price is lower than highest price D1: else if ( iHighest
My forex broker doesn't have a multi terminal mt4 platform, and the metaquotes site only has mt4 multi terminal for demo server (https://www.metatrader4.com/en/company/178). Can someone please share the link to where I can find mt4 multiterminal for live servers. Thankyou