General - page 355

Hello, I am creating a EA program and it is getting quite large. It has many files now. These files are created using the Meta Editor but I have made a copy inside my "documents folder" on my MAC. So...I now have two copies of the same program, which is not a good development practice. I really
  Close Condition  (12   1 2)
Hello i use grid system between 2 trade gap is randomly so i want close all condition on my first open trade price when above 1 trade are open Like 1 no trade profit 0 2 no trade profit 1 3 no trade profit 3 4 no trade profit 9 plz help me Example if 5 order open then
Hi, to clone CClass values to a CClass values_new? //+------------------------------------------------------------------+ //| Class | //+------------------------------------------------------------------+ class CTest { public
How do I get buy/sell prices from the depth of market in the following picture so I'll able to find like 5 or maybe 10 best buy/sell prices? I want like 10 of these. tl;dr I'm relatively new dont even know how to attach a picture so I attached it as a file
  iCustom giving unexpected values  (73   1 2 3 4 5 ... 7 8)
Hello all, I am trying to make an iCustom call to the REX indicator to retrieve the rex line and the signal line. I even looked at the REX source code to confirm that index 0 and 1 are the correct indices. I've followed all of my variables down through my code and printed them and everything seems
Hi, I purchased an EA by logging in to MQL5 using my gmail account instead of registering a new MQL5 account. I tried to activate the EA but I am not able to see the EA's I purchased from my MT4 platform. The login credentials I used is my gmail account credentials. Do I need to register a new MQL5
I have not been able to find and clear information on "#property strict" usage. If you can share a link where usage of #property strict is explained, I will greatly appreciate it. Thank you
[Deleted]
How is the criteria to be in range for my ports
I have looked everywhere - and cannot find the output location from using the PRINT (. . .) function in MQL4 I expected to find it in ./MQL4/Files but that folder is empty. Where else should I look? Thank you for the assist. ...Chuck...
If I'm not mistaken, you should be able to see bid/ask volume via market depth. But how do I get the bid volume and ask volume from MQL code
Hi Currently I use this style of formatting string Massage = "" ; string command = "BUY" ; string symbol = "XAUUSD" ; double BuyPrice = 1842 ; double SLPrice = 1830 ; double TPPrice = 1850 ; Massage = "INSTANT " + command + " " + symbol + " " + "ENTRY : " +
I have noticed that there is a 7- 15 second delay on the start of a new candle on MT5. I have spoken with some other trades and they are experiencing the same issue. Does anyone know why this is happening? Thanks
  MT5 crash  (8)
MT5 on window 11 not working properly getting closed after few minutes. Happening from past week. Nothing is there in Logs folder. Sometym log folder showing "shutdown with 0"
Can someone help me to activate my seller account, I don't understand why was deactivated
I belive MQL has the inline, __inline and __forceinline keywords but does not inline functions just yet. It is very much desirable that these keywords are actually implemented. Another desirable addition is constexpr
Hi everyone, After several failed attempts i'm asking it here. I want to install several indicators into MT5. I trade from a MacBook Air. There is no way I can install the indicators it seems. When I open the Data Folder and get into the MQL5 folder, I cant paste or drag the required files into the
Having periodic problems with my codes at times ,the code below doesnt work correctly, can someone help me out i am trying to detect if a candle is bearish or not Code: bool isBearish( int index) { if (tradingTimePrices[index].open<tradingTimePrices[index].close) return true ; return
  Strategy tester  (3)
I am not new to forex but I am into Expert advisors and have been testing them for a while now. I decided to change brokers and the one I picked has everything I am looking for in a broker. But when I back test my EA on a hourly chart for a weeks time I get the whole weeks worth of data. But when I
I can only see the project info on the website but cannot bid for the jobs
UPDATE: Clearly I was overthinking this. I just created a straight array of CStatuses, figured out how to avoid memory leaks, and I'm good. Still have a lot of reading up to do on CList usage and understanding proper use of pointers, but I've got what I need apparently working. Didn't realize global
I recently had someone build an EA I've been designing for quite a long time. the EA on small visualization test data worked properly and entered and exited trades as it was designed to. but my issue/problem now is, I'm currently trying to backtest/optimize my EA. My first issue I've come across is
Hello, this is my first post, my following function behaves as expected if i let it determine my position size, but when i choose that position size with another value, it gives me wrong result, for this problem i'm not using tick size yet. >>> def sltp_calculator(account, entry, position_size=None
My charts are resetting every week and i have to redo them its driving me nuts... using iphone app
double Buy() { double Dist[]; ArraySetAsSeries (Dist, true ); ArrayResize (Dist, 5 , 0 ); double Buy[ 5 ]={ 1 , 2 , 3 , 4 , 5 }; for ( int i= 0 ;i>= 5 ;i++) { Dist[i]=Buy[i]; //P.S i tried ArrayCopy,ArrayInsert, those can't work } double Test= 321 ; return (Test); } why i cannot assign
Hello How I Do BackTest For five Symbol In the Same Time Show Me On The Chart like live trader ? in MT5 Like This Video https://www.youtube.com/watch?time_continue=21&v=_uMETapOFfU Please Tell Me How Or What Code I write It Include Mq5 Until Can Do that or what i do ? thank you
This bug that will arrive on my MT5 has been confirmed, it was not delivering this error that the MT updated and I did some update on the code? //+------------------------------------------------------------------+ //| s_r_ind.mq5 | //|
Hello, I am very disappointed. I have downloaded MT5 for my MacBook and already came across MANY issues. The main problem I have right now is that I CANNOT change colours on my custom indicators. Can anyone help me? Why nobody has reported this issue to developers yet? MT5 on MacBook is a pain in
why did the platform for nas100 freeze today at 11526.when it went down to 11489.00 20:13 on 5.20.2022
I have an EA running on multiple USD pairs, but I want to limit the number of USD positions allowed open at a time. I am trying to count them by using StringFind to see if "USD" exists in the symbol name, if it does it adds +1 to the count which it compares to my externally set variable of USD. For
hi guys, i get this error message in testing my EA: not enough money [instant sell 0.08 ETHUSD_i at 1246.63] failed instant sell 0.08 ETHUSD_i at 1246.63 [No money] and also: failed instant buy 0.2 ETHUSD_i at 503.10 [Volume limit reached] how is it possible that when it want to sell it checks for