MQL4 and MetaTrader 4 - page 845

  error in MT4  (1)
int SMMrd_131204130119() { double Ind_Wert=differenzErmitteln(BewegungsWert(2),100); if(-1.49 < Ind_Wert && Ind_Wert < -0.12) { Debugging(Ind_Wert); return(1); } Debugging("##_"+Ind_Wert+"_##"); return(0); } //++++++++++++++++++++++++++++++++++++ double...
Dear Community, where can I find a list of the lParam for the PostMessageA function? For Example PostMessageA(int hWnd,int Msg,int wParam,int lParam);PostMessageA( WindowHandle( Symbol(), Period()), WM_COMMAND, 33050, 0); This code removes the Expert Advisor from the Chart. Is there a list that...
Hi guys can somebody help a little? I have a EA - its working like that: ea is opening buy and sell pendings orders with sl and tp, and when sell or buy order is filled on SL is turning reversal pending order. Is really simple algoritm But... i dont no why my reversals dont open properly - can...
Is there any way to make a summary of what all the indicator values are on each sheet so that I can see everything in one place? Something like the pop up prices in MetaTrader but with indicator values along side the prices for each pair
Can someone please convert this indicator to expert adviser. I did every thing but couldn't able to convert it.
1. for the same EA, data of the same time section, for example, from 2013.5.1 to now; I test the EA on time frame H1 and M5 separately, I find 2020 bars have been tested in H1 and 5857 bars in M5; but I think tested bars in M5 should be 12 times of bars in H1 because of 60/5=12; but in the fact not,...
I have an EA that was working well before now but suddenly just stopped working . Below is the entire mqh programing of the EA. It is a News Trading EA. it enters 10 pending orders ( 5 Buy_Stop and 5 Sell_Stop) a minute before a News event and trails stop 10 pips from either highest or lowest...
I'm trying to use iBands to retrieve the Bollinger Bands lower and upper values but for some reason the data does not march the visual chart (created by the same iBands function call). Sometimes it's above, sometimes it's below... doesn't seams to follow a pattern. Any Advice? double upper =...
Hello For exemple I have a trend line and 2 point A and B A : x=Time[i] -------- y=Low[i] (Or High) B: x=Time[j] --------- y=Low[j] (Or High) How can i identify the price of the trend line in Time[0] C: x=Time[0] ---------- y = ? Thank you
[Deleted]
  MT4 PHP API  (21   1 2 3)
Hello there, I am Agon Xheladini web developer. My client is an forex trader/broker and i have developed an website for him. What he wants now is to display his MT4 results and history at his website. Since i am new with this problem it will be good if someone gives me infos on that how to...
I would like to check the number of operations for each symbol that work my EA. How can I detect the number of deals open for each symbol? I found the indicator iexposure the Deals column but I can not extract the code to insert it in the EA.
int start(){//PIYASADA EMIR YOK ISE İKİ ADET EMİR AÇ//MEVCUT BIDIN //20 PIPS ASAGISINDA SATIM EMRİ AÇ//20 PIPS YUKARISINDA ALIM EMRI AÇ//1000 PIPS TP //500 PIPS STOPLOSSRefreshRates();double XAL=MarketInfo(Symbol(),MODE_ASK);double XSAT=MarketInfo(Symbol(),MODE_BID);double AL=NormalizeDouble(XAL...
I have read the classical way to do so on the internet forum. But when I download the M1 data, I have a gap of maybe one week of missing data, (one month back maybe). Therefore my indicator don't work anymore, and my platform turn to be unusable. So can you explain the good way to download data ?...
[Deleted]
Hi Everyone, I have a list of condition say (A, B, C, D, E, F). I want to write a code that say: If 2 or more condition in the list are met, then return value=1. If I try to do the regular IF, it will be very long since there are many combination. I wonder if there is any other better approach. I...
[Deleted]
hi i have problem with running experts in the mt4, i run 4 experts in different charts with different symbols, one expert open positions but other not may somebody know the reason and how can i fix it thanks.
[Deleted]
I've got problem with indicator that is searching for candlestick pattern - shooting star. Everything goes correct until I change time interval on chart - arrows are in bad places. Can someone help me and tell where is the bug? #property indicator_chart_window #property indicator_buffers 1 #property
Good Day. I have tried to use DDE on the client to get quotes from mt4 to vb.net but the only problem with DDE is that, it only works for one client only because when i tried 2 terminals with different brokers, the result is not good. There is one article here that you can use named pipes. Is there...
this is correct, or not???????/--------------------------------------------------------------------------------------------------------------------------------------------------------//+------------------------------------------------------------------+//| expert start function...
[Deleted]
Hi everyone, I am running my EA on MT4 provided by 2 different broker (FXCC and AxiTrader). Both are non-ECN, 5-digits broker. I also set my slippage to very large values, ranging from 10 to 1000. On backtesting, the EA runs properly on both brokers, with trade opened and closed at the same time....
hi, all does anyone have a clue why i cant run metatrader as administrator. if i do. it doesnt want to connect to the server. no problem with my firewall...etc. so any ideas. gr, Tom
Hi I am trying to write in file but every time is only able to create but unable to write in the file... Please help I have attached the script.
The price acton set up The pin bar trade setup is the most effectiveprice action trade setup there is. It is an extremely powerful setup when usedcorrectly. Many trader only trade off of a pin bar formation and they are verysuccessful traders. In this lesson you will learn what a pin bar is,...
Hi Forum, I use many horizontal / trendlines in my chart and sometimes I like to change the colors of them. It is really much work when you have to do it with 15 charts. Therefore I wanted to know if it is possible to set a new color for all lines in the chart with a script. Maybe somebody already...
I mean some time I create an object, a text, and set it on a bar's open time and high price; some time later, I want to view this bar's information, open price, open time and so on,so shall I get this information when I just know an object 'xyz' was on it without any other information? if ok, how?
[Deleted]
Hello, can anyone explain the difference between the ma_shift and the shift parameters ? I assume the last parameter is the look back bars period based on the vague instructions explanation. I'd like to know what they both are for, in greater detail. Thanks
-
Hi I am running MT4 on my MAC for the first time. I have it installed in the Windows XP emulator - Parallels. All seems ok except I cannot right mouse click on anything. What the magic key combo to make a right mouse click. I am using an Apple mouse. Thanks
[Deleted]
Hello. Have you ever uncounter this error error in cpsendloginrequest200 undefined What is it all about and how do i fix it? Thanks
Hi, I would like to use iCustom function inside custom indicator but can not get the correct values from MACD indicator. I need the MACD values for H4 time frame but my custom indicator to be attached to M5 chart. The part of the code is below. In the example buffer1 is for Down arrows, buffer2 is...
[Deleted]
The Tester maxes out at 100 lots. Is there a practical reason for this?
[Deleted]
Could someone please step me though acquiring a year's one-minute back price history for the gbp/aud price pair? I am computer illiterate. Well, almost. Thanks.