GrumpyDuckMan
GrumpyDuckMan
GrumpyDuckMan
Added topic Class, or Interface
Hello Everyone, From the best of my knowledge, both  of these are used within mql4. Question: Why would you choose one over the other and why
GrumpyDuckMan
Added topic Please help me test this code
Hello friends, I am testing this EA at the moment. This will only allow one trade at anytime and will close the current order if you switch to a different chart. The EX4 file shouldn't allow you to use it on a real account , if it is attached to
GrumpyDuckMan
Added topic Indicator keeps updating already counted data.
Hello everyone, Here is the code below. Where I have I allowed this to occur. #property copyright "Copyright 2018, MetaQuotes Software Corp." #property link        "https://www.mql5.com" #property version   
GrumpyDuckMan
Added topic Strategy tester isn't supporting real trade outcomes.
Hello friends, I rarely use  Strategy tester on my programs. It was suggested to me by a friend that strategy tester is a fabulous tool to carry out long term and short term testing for expert adviser's and indicators. Currently, I am still not
GrumpyDuckMan
Added topic nested "do while"
Hello friends, I am a little confused at the moment. I'm not sure if a nested do while loop will corrupt data input after conditions change. This post isn't really a question, but more advise weather or not a nested do while loop is ever effective
GrumpyDuckMan
Added topic Mail: 'Test message' failed
Hello everyone, I would like to setup Email alerts. I feel a little bit stupid asking this, but what does that mean
GrumpyDuckMan
Added topic How to give objects the affect of spinning.
Hello Everyone, I been trying to find an OBJ_ which will spin around if the mouse is clicked and the mouse moves position. what object would you use to accomplish this
GrumpyDuckMan
Added topic Issue with change button colors
Hello everyone, I was asked by a friend of mine to attempt a code to show similarities with matching pairs. I found a code online which sort of did it, but after I modified the code isn't working correctly. I tried to track it down again
GrumpyDuckMan
Added topic improper enumerator cannot be used
Hello everyone, I'm not really understanding this error message atm.        string LOW= DoubleToStr ( MarketInfo (symbol, MODE_LOW ),digits);        string HIGH= DoubleToStr ( MarketInfo
GrumpyDuckMan
Added topic Copy Close/Open/High/Low()
Hello everyone, I don't don't understand the error I get. The error always points to this area Close_Array [limit]); #property strict double High_Array[ 12 ],        Low_Array[ 12 ],       
GrumpyDuckMan
Added topic Unexpected result while testing isConnected()
Hello everyone, To start with I disconnected my internet connection from my computer, then started the test. After I got the result below I went back to the reference manual to see if I had interrupted something in the explanation. "
GrumpyDuckMan
Added topic No error returned, but the result is unknown
Hello everyone, I have had this problem before and I still do not understand its meaning. The code below causes it sometimes, I still am clueless as why this happening again. To me the statement is double dutch.. there isn't an error, so how can a
GrumpyDuckMan
Added topic Scroll open orders in full screen.
Hello everyone, I have recently made a multi currency trading code. I have limited it 8 pairs, currently I use "alt+r" to show all the charts with opened positions. How could I make the program scroll through the open positions with a full
GrumpyDuckMan
Added topic Forced system restart stopped program running.
Hello everyone, Its been a long time since my OS forced a shutdown/restarted.  After I realized the problem, I ran a part of the code I never run. void CheckUp()   {    Alert ( "Start" );    Total_Orders=
GrumpyDuckMan
Added topic Pause debugging button, no response
Hello everyone, I have been trying to pause my EA while testing to see what part of the code is running at the time. The pause button isn't responding, why would this happen? what would make this possible
GrumpyDuckMan
Added topic Alert only on change
Hello everyone, I have this statement in  OnTick(). I'm trying to work out a way to only alert if result changes. atm it triggers an alert everytime even if there isn't a change to result. How is it possible to make it trigger the alert only if
GrumpyDuckMan
Added topic icustom iOBV returns no values
Hello everyone, I am a little confused why iOBV doesn't return any data with icustom at the moment. When I don't use icustom the iOBV works fine. I am not sure if this #define is correct ( #define OBV_ "OBV.ex4" ) Please advise void statistics()
GrumpyDuckMan
Added topic seperate negative values from positive values
Hello everyone, I am trying get negative numbers stored separately from positive numbers over a 15 minute timeframe . Question: How do I do this? Is there an in built function for this?  void statistics()   {    shift= 0
GrumpyDuckMan
Added topic Testing new OrderSend()
Hello Everyone, I not really sure if this code would be more effective than having two functions for Ask and Bid orders. I am wondering if anyone has tried everything even remotely resembling this
GrumpyDuckMan
Added topic Moving Averages crossing
Hello Everyone, How can I remove this part of my code and still have it working double IMA()   {    iMA_Close= iMA (Security,Timeframe,ma_period,MA_Shift, MODE_SMMA , PRICE_CLOSE ,SHIFT);    iMA_Open = iMA