Tinashe Chipomho / Publications
Forum
Invalid pointer access (the object is not null)
Ok I have had it with the error coming up in my EA. I am getting ' invalid pointer access' here is the what happening.. 1. before i use any obbject is use if ( CheckPointer (obj)== POINTER_DYNAMIC )||( CheckPointer (obj)== POINTER_AUTOMATIC ) the conditions passes and then I proceed to get the
Stack overflow error - help?!
Hi I have an indicator that is stopping with a stack overflow error. I thought maybe because i am using a recursive function so i rewrote it removed the recursive function and i am still getting the overflow error. instead of just using an indicator i converted the code to be an EA added the
EA stacksize
So there is a preproccessor called stacksize, the documentation says: MQL4 program stack size. The stack of sufficient size is necessary when executing function recursive calls. When launching a script or an Expert Advisor on the chart, the stack of at least 8 MB is allocated. In case of indicators
MetaTrader - My Christmas wish!!!
Dear Santa I wish I could have one installation of the MetaTrader platform on my PC and VPS into folder c:\ForexTrading\MyBroker and run multiple instances for my multiple accounts like this: c:\ForexTrading\MyBroker\terminal.exe -data c:\ForexTrading\Accounts\AccountOne
Asynchronous Web Request
I would like to make some HTTP from an EA or even an indicator, the challenge is I want it to be asynchronous, the new WebRequest function is good but it is not asychronous and cannot be called from an indicator. Is there a way to do this even using the Windows API, i just want to send a request
Replace Chart frame with customised frame with custom components
I know there are classes that can be used to draw graphics on the chart, I am developing an indicator that will have lots of graphics and trying to run it becomes very slow, its not an option. So I need to know how I can use if possible the windows api to completely redraw the entire chart, put my
Fibonacci OBJPROP_RAY_RIGHT property
Hi I am currently looking for help on how to draw a Fibonacci object on the chart with levels drawn starting from a specific time on the chart to another specific time on the chart. I noticed I can use the OBJPROP_RAY_RIGHT property but this is not working exactly as I hoped, if I draw the object
Can someone help with this code, been driving me nuts
So this is what I have: a custom indicator displaying on a chart the values of two standard indicators ATR and MA. MA on the current chart time frame, no problems, but the ATR is supposed to be for the higher timeframe i got it this far: for ( int i=startIndex; i<rates_total && ! IsStopped ();
GetPrivateProfileStringW in MQL4 bytes read is just 1.
string Section= "Trading" ; string Key = "Slippage" ; string DefaultValue= "NotFound!" ; string FileName = "c:\\Temp\\Trading\\settings.ini" ; ushort buffer[ 4096 ]; uint read = GetPrivateProfileStringW(Section, Key, DefaultValue, buffer, ArraySize (buffer), FileName); string str_res =
Access violation write to 0x33000004 when calling the delete operation
Can someone help why I am getting the Access violation write to 0x33000004 in my program tthis is the code inside the OnTimer event. //create the signal pointer CSignalData *signal = new CSignalData(); //read and populate the values signalSource.Read( Symbol (), signal); //read values from signal