MQL4 and MetaTrader 4 - page 426

To post a new topic, please log in or register
http://gyazo.com/072bdf956466352aacf6478805a4389c Hi, I have a paid signals and I can not copy them to my metetrader 4. How do I have to do?
Dear All, here is a suggestion how one can call a MetaTraderScript from Excel VBA. Unfortunately the code doesnot compile any more with the Build 600. Is there a possibility to call the MTScript (build higher than 600) from Excel VBA? Thank you very much!
Hi everybody, I am looking for a script to enter a limit order in opposite directions right after I open a position or ea to reverse position right after the sl has been reached. Basically what I want it to do is: long x/y pair at 1.0000 with a sl at 0.9970 and tp at 1.0030. If the sl is triggered...
string Section="Trading";  string Key = "Slippage";  string DefaultValue="NotFound!";  string FileName = "c:\\Temp\\Trading\\settings.ini";  ushort buffer[4096];  uint read = GetPrivateProfileStringW(Section, Key, DefaultValue, buffer, ArraySize(buffer), FileName);  string str_res =...
Hi,Can somebody help me in prinitng the lines on last 50 bar??
It seems DRAW_COLORCANDLE available in build 600,but it is does not work in fact. When creates an indicator in Build600 as below: It looks like MT5 wizard including many Color XXX types. There are only Line,Histogram,Arror,Section in Build 610 as below: Will these Color XXX types be added in...
This may be a stupid question, but is there a way to get a list of all open charts and their timeframes. Want to have a script that will list all objects (which I do know how to do) on all charts that are currently open. Thanks in advance for your response
I have always installed MT4 509 and below in ( C:/ MetaTrader-Broker ) to avoid issues with UAC in windows 7, Does the MT4600++ cause UAC issues if it is installed in Program files ? Thanks
Hello would anyone be willing to code an acceleration option to the ADX indicator where either of the three lines (adx,di+,di-) would turn a certain color after a closed candle- if line increases by x(%) based on (y) so many previous bars i think it would be a great addition for trading thanks
This example not works... https://docs.mql4.com/en/constants/environment_state/accountinformation#enum_account_info_integer
here is a sample indicator. you can see that ++ does not work. the buffer should rise one integer for every bar over time.
Hi, I'm wondering if somebody could share to me how can I put sell stop or buy stop orders just one click. Using the mt4 standard menu is time consuming. The program would be nice to include the parameters to set the stop lost, take profit, and which market you want to trade. Appreciate for your...
I have been trying a Logic to work. After starting, at the first Tick, the EA will execute 'One Set of Logic'. Then from the 'Second' Tick, it'll keep executing another 'Set of Logic'. To do so I tried something like this: int main(){int Choose_Logic;Choose_Logic=TRUE;if(Choose_Logic==TRUE){Execute...
help me please i want to calculate all profit in order and if all position totalprofit all posotion >= 10 close; bool   result;   double price,OrderProfitCash,OrderProfitPoint,RealProfit;   int    cmd,error;   int    TradeTick;   double TimeOut;   for(TradeTick=OrdersTotal()-1; TradeTick > 0;...
example; Color getcol = White; ???? getPeriod = OBJ_PERIOD_M5; Thank you
I had read that multi-currency back-testing was not possible on MT4 so I tried to translate my currency to mql5, it was an interesting process however, mid way I found out that hedging was not allowed due to some sort of NFA change in regulations, I'm in the UK so this doesn't really apply to me and...
Hi,my EA stops after 2014.03.25 12:04:50.800 Access violation read to 0x0ABB5000 in 'C:\Users\cas\Documents\MT4\mt1\MQL4\Experts\myEA.ex4' This EA is installed by a script 8 times. 7 time without any problem but the last crashes with the a.m. error (no line??) It reads it parameters from an...
Alert(SymbolInfoString("EURUSD", SYMBOL_PATH)); I expected this return "MajorFX" folder but it returns a blank string. Same for all symbols.
Dear Community, how can I get the value ofthe last line in the CSV file? I have tried to write this code, but it returnsme not the correct value. I have found some older post in the forum, but they don’thelp me. Thank you very much!    int file_handle2=FileOpen(InpDirectoryName+"//"+FileName...
I decided to test my EA against some indexes and I noticed the movements were quite strong when compared with currencies. One notably volatile index is Nikkei, the market itself was relentlessly choppy and each movement had a sizable effect on capital. Is this typical of the index are is this a data...
i need help for extract my archives logs from my iPhone 5 i dont know how to make it can you help me? thanks
Hello, Would like to know is it possible to make custom indicator based on these calculations: Buf_0[i]=(((iADX("EURUSD",PERIOD_M1,28,PRICE_CLOSE,MODE_PLUSDI,(i-5)))-(iADX("EURUSD",PERIOD_M1,28,PRICE_CLOSE,MODE_MINUSDI,(i-5))))-((iADX("EURUSD",PERIOD_M1,28,PRICE_CLOSE,MODE_PLUSDI,i))-(iADX("EURUSD"...
I've read several threads re: OrderCloseBy and I'm sorry to be thick about this but I still don't get it. And I have found the documentation to be no help beyond syntax. - forex.com at least, does not allow "hedging", opposite positions for the same pair in the same account. If they see both, they...
Hi, Today i opened my MT4 platforms and i'm getting this pop up alert that says "Unable to open log file" How do i fix this? Thanks!
Hi to all. I am a newbie to this forum. But have been stumbling through trading since 2007. I have had a few ea's programmed for me in the past and have made a few simple ones myself. I've had a go at combining elements and the ea's have worked in the past. I have been trading my strategy on 4...
HI,Can some solve my problem please find the attach .Actaully what i m trying to do is to print the horizontal line and if you see the image it does print the line but i want to print the line on the same point when cross occur and another thing and also i don't want lines when there is no cross if...
Is it possible to have my EA change the Lot Size (automatically) in the small Quick Trade Panel in the upper left corner of the chart? And if so: how? Thanks
i want to make EA i want to ask if commenct can make a variable like bool... so if open position i buy and if i put coment == true then it will close position....
  Cant print (1)
Hi, Something strange happen to me: I cant make any print from my Expert, and this just happen now. I have na Indicator, and that one runs normally. Any help ? Thanks
Buenos días, acabo de realizar una actualización de MetaTrader 4 solicitada por Metaquotes y luego de realizar esta actualización, las plantillas que tenía grabadas nio me apaarecen cuando solicito cargar una plantilla, e incluso cuando grabo una nueva plantilla, tampoco me aparece cuando solicito...