holocast / Profile
holocast
Added topic File opening fails with error 5004 but succeeds in all other instances
Hi, I have an issue with file opening during optimization, if the test is ran on visual mode or EA is attached to a chart, the file opening always succeeds, if the file is less than 1.3MB out of 100 passes, the file opening may fail less than 7 times
holocast
Added topic MarketInfo and SymbolInfoDouble return 0 on strategy tester
Hi all am running this code on strategy tester AUDJPY, to confirm if the symbol is valid, the code tries to make a request Using marketinfo and if the return value is > 0, then the symbol is correct. It works properly on live but it doesn't work
holocast
Added topic Creating fake ticks for MT5
#include <WinUser32.mqh> #import "user32.dll" int RegisterWindowMessageW( string lpString); #import //+------------------------------------------------------------------+ //| script program start function |
holocast
Added topic Cannot load resource error 4802, How to fix issue?
I've been using resources for a long time in mql4/5 programs, but lately I've realized I keep getting the 4802 error for all new programs, surprisingly old programs still work correctly. At a point I had to copy paste the code from an old program to
holocast
Added topic Editing inputs in the order window with dll
Hello everyone, I'm trying to create a library that can open trades the same way a trader sitting in front of MT4 will open trades. So far, I've been able to bring up the order window and simulate a keystroke on it. However I've been unable to edit
holocast
Added topic How to fix “Unresolved import call: Cannot find Add in TestMe.dll” in MQL4
I'm trying to run a function written in C# on MT4 by means of a dll. The dll compiles correctly, however when I try to run it on MT4 i get an unresolved import call cannot find Add in TestMe.dll Am following a guide on this link
holocast
Added topic Draw Colour Lines on MT4
Hi everyone, am creating an indicator for MT4 and I need to be able to dynamically change the line colors when certain conditions are met. Unfortunately, once I specify property indicator_type1 DRAW_COLORLINE the lines disappears entirely and
holocast
Added topic Strikethrough profile names on MQL5
What does it mean to have a profile name with the strikethrough on this site? I've seen a number of profiles with that, but I haven't been able to deduce what it means, at first I thought they've been deleted but I started doubting this when I
holocast
Added topic Help me understand bitwise operation "Complement to one"
Could anyone please help me understand what these guys mean by this definition Bitwise Operations Complement to One Complement of the variable value up to one. The value of the expression contains 1 in all digits where the variable value contains 0
holocast
Added topic Need Help calculating angle between two lines on MT4
Hello everyone, Am trying to calculate the angle between two lines placed on the MT4 chart and so far I've been getting a value very close to zero. My approach is this, get the slope of the two lines then use this formular to get the angle
holocast
Added topic Unable to register as a seller
Hi everyone, Am having issues registering as a seller because I can't seem to verify my mobile number, when I attempt to verify it, I get a prompt saying that the "code has been sent successfully" but the code never arrives. I've been trying for
holocast
Added topic Does mql5 support accounts for companies or corporations
Am forming a new partnership with certain individuals, and we'll like to market our products on mql5 site. However, there's an issue as to who should own the account used in selling, can we create an account that each member of the partnership will
holocast
Added topic I keep getting error 4116 mt5
Hello, I have an EA written in mql5, everything works properly in both live trading and strategy tester . However some times when trying to update local buffers of the indicators the ea is dependent on, it turns an error 4116. This is totally
holocast
Added topic Copy Indicator buffer error 4116
I have an EA written in MQL5 the EA depends on data from four indicators, sometimes it copies the data correctly most times I get an error 4116, as a result of this error trades that depend on the value of the indicator are closed because of the
holocast
Added topic OrderGetTicket() function returns zero whereas the are open orders in the account
void OnStart () { Alert ( "Total buy order is " ,GetOrderCount( ORDER_TYPE_BUY )); } int GetOrderCount( long type) { ulong order_ticket; int total= 0 ; //--- go through all pending orders for ( int
holocast
Added topic Editing zig zag indicator
Hello all, Am trying to put an edit into the standard zig zag indicator. I want to change the depth calculation from bar based to percentage based. That is new highs or lows won't be drawn until price has moved a certain percentage from the last high
holocast
Added topic Converting Rads to degrees
Hello, please I want to know if there's a standard function that converts the rad value returned by acos() to degrees. Many thanks in advance
holocast
Added topic Can I run scripts/Expert Advisers on the web terminal?
Hello everyone, I want to know if I can run scripts on MQL5 web terminal? I am currently working on a project that would require a web server login to an account and collect the history on each account. My idea is to have the web portal login to each
holocast
Added topic Unresolved Import function call
I am trying to use the import function on mt4 and I keep getting the error unresolved import function call, what could be the problem #import "tlib.ex4" double Min( double a, double b, double c, double d, double e); #import
: