MQL4 and MetaTrader 4 - page 195

  New MetaTrader 4 build 1170  (79   1 2 3 4 5 ... 7 8)
New MetaTrader 4 build 1170 The MetaTrader 4 platform update will be released on December 20, 2018. The update fixes errors and improves the platform stability. We remind you that support for older versions of operating systems, including Windows XP/2003/Vista, has been discontinued. The minimum
So say I get to the point I make money from trading. How does the tax system work? Do you pay taxes to the country where the broker is from or to the country where you reside and trade from ?Or to both ? Is it okay to have a broker from Australia and trade from UK or Romania, or any other country ?
Hey Friends, So I got couple of margin calls a couple of days ago (account back to normal now) and all my EAs that I have downloaded from Community have stopped working: -when I drag and drop EA on the graph - nothing happens -MACD and other preloaded advisors are working OK though -I checked if i'm
I'm struggling to figure this problem out that i have.  I'm trying to make it so that the TF's M1 to M15 are locked at a set colour. But then when you switch to H1, H4 and Daily it changes to a different background colour. Weekly and Monthly would also be locked to a set colour. 
Tick Intensity might be useful for some who trade reversals especially EMA10 and EMA20 crossovers <ex4 file deleted >
I have written code the place a send order but I want to be able to calculate the lot size based on a few things. Given the entry price and stop loss, how can I calculate my lot size so that 2.5% of my current account balance would be risked on trades?  I know how to calculate the number of pips...
Hello everyone! Is there anyway to do forward testing in mt4 as in mt5? Or someway to make a forward testing "faster" and not going result per result? Thank you in advance!
extern int period=13; extern int ma_method=MODE_SMA; extern int applied_price=PRICE_CLOSE; extern int shift=0; extern double lot_size=0.1; extern int slippage=30; extern double SL=0; extern double TP=1000; //take profit at 1000 pips double DeMarkerIndex=iDeMarker(NULL,0...
  Renko Time  (13   1 2)
Hi all, I would like to create an histogram indicator to track the time for every Renko brick. I wrote this but I seem it doesn't work well, could you help me? Thank you! int start()  {   int limit;   int counted_bars=IndicatorCounted();   //---- last counted bar will be recounted...
Hi. i want to create an android signal providing app, where a user can click on a signal and automatically open mt4 or mt5 android order open window with the clicked signal parameters.
Hello All, Let me know how to show pip ranges of fibonacci levels automatically in metatrader4. Thank You
  Ordering a robot  (2)
Hey. I would like a programmer to make an EA for me according to my indicators. I don't know what to expect from the program. Can the EA for example run the indicators without having them on the chart. Can it make it to work at all times frames. I have the Idea just to let the program on a pair then...
why there is different ea result in strategy tester when switching to another account (eg. real to demo)..? is there any issue in mt4 code or charts.?
Excuse me guys, I need to include this indicator (Patter Recognition) into my EA (Adeline_Complete) so that it can buy with the bullish patterns and sell with the bearish patterns. can anybody help me please ? thanks in advance!
As the title, says, I'm looking for a free or cheap margin indicator/EA with email alerts for MT4 (bit stranded at the moment) I've looked far and deep here and there and have found some EAs/indicators, but so far I haven't found any that fill the whole description...
Hi all, i am new here, can anyone help me to write code for my simple strategy strategy  Heiken ashi open below moving average --- sell signal with order need to place  Heiken ashi open above moving average --buy signal with new order to place but square off old position before open new one. please...
hi im using mt4 desktop app not able to see nifty futures and banknifty futures on the symbols list can anyone help me out.
Hi, could somebody tell me how to print the diference in days/hours/... between OrderCloseTime() and OrderOpenTime()? Thanks
I've consulted the article on casting, https://www.mql5.com/en/docs/basis/types/casting and seen some other responses on this forum, but this particular instance seems different, possibly because it contains an array? The affected line is highlighted.  You can see that TradeList and ctTrade have...
ResetLastError (); int filehandle= FileOpen ("history_1.csv", FILE_READ | FILE_CSV ,';'); if (filehandle!= INVALID_HANDLE ) { Print (" FileOpen OK"); } else Print ("Operation FileOpen failed, error ", GetLastError ()); long GetValue = FileGetInteger
How do you convert your indicator to non repainting indicator?
Dear Coders, I am Newbie here, learning mql4 coding, today i have mixed some indicators and created a MTF CCI indicator, It's not showing any error or warnings, and also not loading in MT4 please rectify it....
Hi guys, need to get x and y coordinates of the chart in visual mode. Is there any way to do this? I use ChartXYToTimePrice() in real mode and I call this function in OnChartEvent to get X and Y coordinates by click on chart. But OnChartEvent() is not working in strategy tester - visual mode .
Olá,   How can i do to add friendly labels for enum options? See my code below, i used 2 external parameters with enum: AppliedPrice and TradeMode. The first uses a language native enum (ENUM_APLIED_PRICE)  e the second uses an enum that i created myself (ENUM_TRADE_MODE).  extern ENUM_APPLIED_PRICE...
Hi folks was hoping someone could please help me understand what could be going on with my EA. I wrote and EA that takes trades based on the rsi. If the rsi is below 30 it sells and if above 70 it buys. Now the EA works well on the tester for weeks and then suddenly without changing anything in the...
if( 6 && 7  >5) // WORKSPrint("NO PARENTHESIS Yes");if( (6 && 7)  >5) // DOESNT WORKPrint("PARENTHESIS Yes"); Why does first case work and second case doesn't?
Hi guys, I am working on an EA, that uses a break even function.  It uses a for loop to select the orders and make operations with them. void Breakeven()  {   for(int i=OrdersTotal()-1;i>=0;i--)     {      if(!OrderSelect(i,SELECT_BY_POS,MODE_TRADES))...
Comm= Comm +"StringToT"+ StringToTime(TimeCurrent() + 60*60,TIME_DATE|TIME_MINUTES)+"\n"; But  Comm= Comm +"TimeToSMath"+ TimeToString(TimeCurrent() + 60*60, TIME_DATE|TIME_MINUTES)+"\n"; Works.
Hi, I've searched the forum here and all articles I find are already several years old. I'm looking for a solution to publish MT4 and MT5 trades information (open, pending and closed) to a website (via MySQL database). Trade information published should follow the possibilities offered by MyFxBook...
Hi I'm new in MQL4 programming... I want to view "current time" in debug mode of MQL4 programming EA ...... is this possible? Maybe with object OBJ_VLINE? I'm try with: datetime LineTime=iTime(Symbol(), Period(),0);ObjectCreate(current_chart_id,obj_name,OBJ_VLINE,0,LineTime,0) but not see nothing......