MQL4 and MetaTrader 4 - page 180

[Deleted]
Hi guys, Sorry if this had been address before, but I couldn't find it here or anywhere else. How do I Invoke the Only Long & Only Short positions in EA Properties using EA? Thanks in advance Saifx
  Optimal Lot Size  (1)
For the most part, my OptimalLotSize function is working well but on certain currency pairs lie CADJPY it does not work. Can't seem to figure out why double GetPipValue() { if ( _Digits >= 4 ) { return 0.0001 ; } else { return 0.01 ; } }
does anyone can duplicate any open order from same account/ same MT4 terminal ? i had tried but there is open order that is not copied. Activity from manual order is OK Activity from mobile OK Activity (open position) from EA in another server is not copied. Does anybody have some problems or any
Hi, need a little help. I have tried so many options, but just can't seem to get this working properly. I created a hidden trailing stop, which works fine if I only have one chart open, but when I have two charts open, it only seems to produce the TS on one chart. I'm hoping that other eyes can see
  EA problems  (1)
Hi, I have made an EA and successfully enabled it. It says under the experts pane that strategy was loaded successfully and strategy initialized. However, it didn't make any trades today... Not sure why though? I am trading indices DOW, DE40, etc. I have set my volume to 0,005, meaning that each
hi everybody! i'm trying to draw multiple objects in the indicator without using buffers. in the example code below, there is only 2 objects created. please help to understand how to create multiple objects. thank you. //+------------------------------------------------------------------+ //|
hi, all. is it possible to draw objects in indicator by not using the buffers, like in the sample code below? please help and thank you. #property version "1.0" #property strict #property indicator_chart_window //+------------------------------------------------------------------+ //|
Hi and thanks in advance for your thoughts on this, I'm building an EA using EA Builder. The goal is to Close Long Position when price achieves a multiple of the range of the entry candle. For example, if the range of the entry candle is 20 pips the close position could be set to 60 pips from entry
Dear All , I'm facing my daily struggling with MQL4. I need to update a counter variable ONCE every time a condition is met. I have created a 2D array which list all lot sizes and I'm trying to select those sizes according to OrderProfit <> 0. For example : Size[count1][count2]; if(OrderProfit() >
I can't open meta, pls help me
Hello, i have the same problem of some other Traders, and as far as i can see there are many other traders with the same problem. My broker doesn't help me because, the broker says, the problem is due to the last release but they are not the owner of MT4 so the broker suggest to ask Metaquote
Just a common question; I'm sure most gurus would find is child's play. If I wanted to find 50% of 1000 (Which I know outside of coding is 500), how would I employ coding to process this answer
I am developing highs and lows in Japanese candlestick values. However I already got the results in the indicator I made. There is a doubt here that now is how I will be able to manipulate all the signals of the genre: I want the last 3 highs and the last 3 lows of these HH HL LL LH .... Can
I have the following code #include<Controls/Button.mqh>CButton ObjDAL;ObjDAL.Create(0, "objdal", 1, 20,20, 170, 45);ObjDAL.Text("Alert Dist: " + IntegerToString(DBMA));ObjDAL.Color(colbt);ObjDAL.ColorBackground(colbf); At present the Button defaults to the Upper Left Corner. Objective 1: To position...
I need to use PERIOD_M3 in my mql4 EA. Is there any way to do that ? Many Thanks
hi everyone Why does my VPS appear: authorization on failed (invalid one-time password) Then the EA I purchased will automatically exit: -initizlizing of EA failed with code 0 (symbol synchronization timeout) -expert EA removed Is there any solution to this problem
Hello All! I've been watching a lot of tutorials on how to make scripts and EA's and I'm having an issue trying to get my EA to place a buy order on the market as a test. I get the following error. I do have it in the EA folder and I have allowed live trading when the inputs screen comes up. 2019.03...
when i try to connect to metaeditor journal entry says metaeditor not found. can anyone tell me how to get it back? my broker sent a link to download it and it's now in my downloads but i can't access it through any of the platform links
Hi, I have developed an algorithm (MQL4) in expert advisors. I can attach the expert advisor to a graph, but it doesn't do any trades... Is there something in the settings I should change or
Hi everyone, I had a test with SAR indicator. Currently I want to test about SAR position on the chart. This is my code: //+------------------------------------------------------------------+ //| Test.mq4 | //| Copyright
I have developed a custom dll on my home PC (Win Xp Pro). The EA with the importeddll runs perfectly. When I try to run it on my server (Win Server 2003), it gives error 126. The settingsin the platforms are identical, I assume there is something different, somethingmay be missing in OS environment...
void OnTick() { datetime TA=Time[0]; double PH=High[0]; double PL=Low[0]; ObjectCreate("Low",OBJ_TEXT,0,0,0); //ObjectSetText("Low",DoubleToStr(Low[0],Digits)+" Low"); ObjectSetString(0,"LoW",OBJPROP_TEXT,DoubleToStr(Low[0],Digits)+" Low"); ObjectMove("Low",0,TA,PH);
hello everyone can anyone tell me why am i unable to download any indicator in the mt5 platform ple do help why is this happening
Hello MQL5 Forum Members! Does anyone know how to FIleRead a specific cell from an Excel CSV file? I have seen a lot of discussion about simply reading data from a csv file, but nothing about reading from a specific cell (unless I'm missing something). Here is the function I wrote to read a csv
I made an EA with a logic that its entries only opens on new candles. I've also set a limit on how many orders should be only be open at the same time. See this example portion of my code: bool CheckForNewBar() { static int LastNumberOfBars; bool NewBarAppeared = false ; if ( Bars
Hello, I am facing an issue lately with opening or installing MetaTrader 4 from any broker to my laptop with the latest windows update. any suggestions? when installing message appear <<Sorry, something went wrong: try again later! >> and when trying to open a message pops up saying that the...
Hi, I think most of you know that script below. You can drag it into a chart, select a timeframe and all opened chart windows will be set to this timeframe. //+------------------------------------------------------------------+//|                                                    ChgTF-All.mq4...
Each object has a description that can be added text to that, how to change the color of the object description by coding
How hard/easy it is for people to decompile an EA if I were to provide a copy to someone? (Not in MQL5 Market) The only security I've thought is to make the EA only run specifically to their broker account number - or else the EA would remove itself from the chart. This would make it difficult if a
This is dedicated to all devotees of Gunn's theory. The largest forum on the subject http://open-forex.org/index.php/board,30.0.html Gann Methods Literature http://www.gann.su/book_rus.html http://trade-magic.taba.ru/blog/Moi_stati http://forex-markets.ru/gann/ferrera-s9-ru.pdf - Work on Squared 9