hey can someone assist me with buffer call for this indicator if (Signal ==INDIBPRO) { double b1 = INDIBPRO( 0 , x), s1 = INDIBPRO( 1 , x); //the buffer for sell is not working find attached indicator <ex4 file deleted>
Hello everyone, First thank you for your time and effort to just simply having a look to my problem. To try to make it short I just want to parse some data from a webpage to integrate it in my EA further down the line but I can't manage to parse it for any reason. I just simply follow the
Hi I have made this ea which works fine on the strategy tester but when I put it on my vps for live trading it doesn't open any trades and I can't seem to figure out why. Hope someone can help! //+------------------------------------------------------------------+ //|
class Abc { public: Abc(string def) { if (def != "") { // parse def } else { error... how do we report an error? can I just make the constructor return something? e.g. bool Abc(string def) ? } } }
I’ve only been doing trades using .02. But for some reason when I check the last month, there’s 3 trades that I clearly didn’t make. Also shoes it from 2019? Any idea why
double tickValue=MarketInfo( _Symbol ,MODE_TICKVALUE); string symbol = "EURUSD" ; double ask = SymbolInfoDouble (symbol, SYMBOL_ASK ); string name, length; bool DoAlert = false ; int index = 0 ; if (WaitForClose) index = 1 ; int counted_bars = IndicatorCounted(); if (counted_bars >
[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
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
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...

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.