MQL4 and MetaTrader 4 - page 364

To post a new topic, please log in or register
hi all I run MT4 with some custom indicators in my PC. And now, I want my friends can monitor this live chart from their PC (without using my custom indicator) . Is there anyway to do that ? Help me, please ? thanks a lot .
void init(){.....  IndicatorShortName("AH5");.....} if(OrdersTotal()>0) { OrderSelect(0,SELECT_BY_POS,MODE_TRADES); ObjectCreate( ChartWindowFind(0,"AH5"),"LINE1",OBJ_HLINE,0,Time[0],OrderOpenPrice());ObjectSet   ("LINE1", OBJPROP_PRICE1,OrderOpenPrice() );ObjectSet   ("LINE1",OBJPROP_COLOR...
I have a problem: my broker has more than one server and therefore in the lower right corner of metatrader4 where you can click and choose a server from available servers I have more than one option to choose, and because my vps is in UK I need to select a server which has the lowest latency to my...
Be warned Forex Factory is a corrupted website. They supposedly provide FREE services; however, they will make money from unsuspecting visitors that click on their 3rd party banner advertisement and etc... But that is not the real problem. The real issue is that the site has no real integrity. I...
Guys, i give up. I've been trying to code EA placing orders depending on price peak and certain RSI value. Thing is, my EA works bad like hell but what concerns me more is that RSI values it put on price chart are different than RSI indicator values. Why? Picture attached shows my problem: robot...
Awhile back I used BUY and SELL stops to place my trades, because they areeasier to program and handle. After a while I found out that my broker (marketmaker) was hunting these stops, so I switched to market orders. NowI have an account at another broker, who market themselves more as an...
Hi   I have an EA that I have paid a few developers (spelling) to work on.  I  have also added some "stuff" myself.  Now I would like to put the EA in the jobs section to see if someone can add a trend line drawing feature.  Perhaps looking for divergence between the RSI and price.  My two...
Hello everyone. This has come up to me where I had sudden blackout and when I managed to get my PC up and running again, I opened the terminal (latest build) and it seems that the GV is gone for good. This has lead me to rebuild the GV from scratch. I had 2 blackouts and same thing happens to the...
Hi guys,  I have just started learning the mql language. Hopefully I should pick up in couple of months. I want to know if I can get my custom indicator values shown in Data Window in the Excel Sheet. Thanks. 
Hi, When I run " tw4setup.exe" file  I see window "Metatrader 4 setup( 32 bit)" But in that window it not down load files. Why? I have window 7 ultimate updated to date on PC. Nitin 
Dear Guys, is there any function in MQL to know what GMT Shirt use Broker in MT4. or is there any function to EA know auto what is the GMT using broker?   Thanks in Advanced 
Hello Friends,                      I am using a scalping strategy to trade it has been working for me pretty well. I am looking for a EA that closes the trades if at the close of the candle it is profitable(including the spread i have a swap free broker). If not profitable at the close of first...
Hi Guys   I have a problem, in Metatrader i would like to place an order such that i can place the SL to Entry point (Break Even- BE) when a trade hits the first TP (TP1) and At TP1 close 60% of lot, at TP2 close another 20% and at final TP close remaining 20%. I would also like the order to be...
Can I average the bid and ask price on Metatrader 4 and have it show up on the tick chart or a separate chart?  
this code produces the file shown: int start()  {   int handle = FileOpen(Symbol()+"_logfile.csv",FILE_CSV|FILE_READ|FILE_WRITE,','); if(handle>0)  {   //write file header   FileSeek(handle,0,SEEK_SET);   FileWrite(handle,"Symbol","idiot","idiot1","idiot2","idiot3");   for(int i = 1;i<10;i++)   {...
Good evening,  I haven't coding for a while and I started again a few weeks ago. I've noticed that my EA wasn't working as he was before build 600. I investigate and I found that the function iMAOnArray didn't give me the same result before the build 509 and after 600+. I've tried the same "code...
Hi I have the mt4excel.dll which i use in conjunction with another EA that bringsdata into excel. The problem Ihave beentold is that this dll brings the data format into excel as only the first char of a string. so for 20 August 2014 it will only bring in the number 2.   Can anyone help resolve...
For me, it's a long opportunity. Opinions?   
  MT4 "toolbar" (1)
hello everybody,  I have a question concerning the MT4 platform. In the toolbar I have the possibility to draw lines, an equidistant channel and the fibonacci retracement (see picture)    Now there are many more possibilities in the menu tab "insert" like Andrews Pitchfork, Fibonacci expansion, ......
  Price Bid Ask (1)
Тестирую торговуюсистему на демо. Обнаружил, чтоцена равна Bid, что вноситсущественные перекосы, поскольку система генерирует сигналы по цене.  Что лучшепересчитывать цену (Bid + Aks)/2 или генерировать сигналы отдельно для Bid и Ask.
Hi,   I made an EA wich should display a THUMB_UP for each tick at the following coordinates : Time[0] and Kijun_value. Here it is : double Tenkan_value = iIchimoku(NULL, 0,9,26,52, MODE_TENKANSEN, 1);double Kijun_value = iIchimoku(NULL,0,9,26,52, MODE_KIJUNSEN, 1);double Chinkou_value...
Hello forum would someone mind pointing me to the appropriate reference that explains what  happens to the data set when new bars are formed. If a finite amount of information is stored by the platform,does data just get overwritten with each new tick or bar. i am trying to work out if it is...
Hi, i've a problem with ObjectCreate instruction; i must anchor a text object at every histogram in my customer indicator, but when i use this instruction : ObjectCreate(Nome,OBJ_TEXT,windowIndex,Time[i],Buffer[i]) i've correct compiling, but i've effect only for time current like It doesn't...
  Double values (17   1 2)
Hello guys, I have a demo in FXPro and got situation there. I want to receive a quote with 5 digits. Normally this code should work: Print(NormalizeDouble(iClose("GBPUSD",1,1),Digits)); the result was 1.6879 I decided to check Print(MarketInfo("GBPUSD",MODE_DIGITS)); The result was 5 Finally I...
  Custom indicator color (16   1 2)
Hi all, i need to capture with code a custom indicator color after it has been changed manually from interface (see attached image) Is it possible ? Thanks.
Hi all, I am new to metatrader programming and I would really appreciate if you could give me your opinion. I am trying to write a program that captures the tick by tick prices and writes them to a file. I am using the expert configuration and a file checking process (which is located in the init())...
I have a server at a remote location and my laptop.  I can install a new copy of MT4 on the server fine, but on my laptop today I am asked for a proxy.  In both cases I am installing from the same brokerage.  My regular web access is fine on the laptop.  I don't know what to look at next--maybe it...
I am able to find the candle / period over 288 periods with the highest volume. " iHighest(NULL,0,MODE_VOLUME,288,0); "  But when I try to find the volume of that candle " int HighVolC = iVolume(NULL,PERIOD_M5,mz); "  I don't get the correct volume of that candle / period.  Is there something that...
Hi, Could you please help me to find RenkoChart indicator 600+ that makes boxes in the following way?   Thanks in advance.   
Hey everyone. :) I hope everyone is all good. I am sorta new to this whole MQL5 language and I am experiencing an issue with an alert that will not go away - it is driving me up the wall!  I am not sure what is sending it out, if I find that, I am sure I will be able to make it go away. Anyone know...