Mike Tanton
Mike Tanton
Friends

Add friends via their profile or user search and you will be able to see if they are online

Mike Tanton
Added topic Duplicate values in Dynamic Array after ArraySort()
Hi Guys - I'm struggling with something that should be really simple and I'm not sure what I am doing wrong here. I have 2 simple Dynamic Arrays.  The first one stores a list of all my "Winning" (positive) trades and works fine after I sort them
Mike Tanton
Added topic Arrays....
Hi guys... My EA has about 30 Arrays - all calculating specific values - which are stored in Global Variables that I use throughout my code. My Question is: - Will my code be faster if I consolidate all (or group) my Arrays and Global Variables in 1
Mike Tanton
Added topic Trading Server
Hi guys... I've just bought a Dell 2850 (2 x 3.6Ghz with 8GB RAM) server to help me optimize my EA. Can anyone give me an indication of how many instances of Mt4 I can run concurrently? Thanx Mike
Mike Tanton
Added topic How do I insert a"1/2" symbol into Text?
Hi guys... Can anyone tell me how to insert a small "1/2" symbol into my Text....  string HalfHourSymbol = "?" ; string NFP_HeadsUp = "NFP Starts in 1" +HalfHourSymbol+ " hours" ; ...I'm struggling to work this small thing out... Thanx
Mike Tanton
Added topic Can I quit MQL4 processing and run a Function imediately
Hi Guys... Was just wondering if there is a way to "run" a Function immediately....  ie. If I 'Click' on a Chart 'Button'.... can I tell Mql4 to 'Stop" processing what it is doing and run the Function that I want it to run....  ...if that
Mike Tanton
Added topic Unresponsive Buttons
Hi Guys... I'm just wondering if anyone has the same issue... my mql4 "Buttons" (OnChartEvent) on my MT4 charts are very delayed or un-responsive.... It's definitely got something to do with the Data Feed but I have no other way to explain this to
Mike Tanton
Added topic Chart_Height_In_Pixels data Error
Hi guys Could someone tell me why I get a " Possible Loss of Data due to Type Conversion" Error when getting the Chart Height in Pixels... It's not the end of the world, but it is driving me crazy as I have tried everything to get rid of this
Mike Tanton
Added topic Reducing RAM
Hi Guys... Can any of you give me a few pointers on how to reduce my EA's RAM... specifically Indicators that I use on my GUI ( Graphical Interface )... Most of my heavy "lifting" is done with Arrays and Global variables...but,... I have a GUI that
Mike Tanton
Added topic Proportional Chart Objects
Does anyone know if it is possible to create objects on the chart that are proportional to the chart screen size....? ie. If I have a rectangle eg. H=20 W=100 when my chart is "Full Screen"... those rectangle stats become H= 10 W=50 when the chart
Mike Tanton
Added topic Calling Buffer Values using iCustom
Maybe this can help someone out sometime.... because I have been losing hair and sleep for that last 5 days... When you are using iCustom(Symbol(),0,"AnyIndicator",BufferNumber,Shift) .... PLEASE don't take it for granted that the indicator in
Mike Tanton
Added topic Problem with "ZigZag" type indicator - retrieving latest high/Low buffer Values
Hi Guys I'm trying to create a Histogram based on the previous High/Low values of a :ZigZag" type of indicator called Swing_ZZ.mq4... But I'm just not getting it right.... If someone could point me in the right direction here I'd appreciate
Mike Tanton
Added topic Auto Fibo Ray_Right Issue
Hi guys.. I know that this might seem very simple but for the life of me I cannot work it out... I have an Auto Fibo custom indicator that automatically displays the Fibonacci levels as the market progresses. How can I get it offset from the
Mike Tanton
Added topic Can I check a variable value while working on my code
Hi Guys Is there any way that I can check the value of a variable while I am working on my code - like some kind of keystroke (Ctr+Alt+something) that will display the variables value...??? It would be quite handy... I usually simply display the
Mike Tanton
Added topic OrderModify() question....(NOT wanting to set TP's and SL's)
Hi Guys... I've tried to work this out searching the Forum but I can't seem to get a conclusive answer (and the markets are closed so I can't do any testing).... My question is:   If I Modify a position (not a TP or SL).... but the Price ie. I
Mike Tanton
Added topic Array or not to array
Hi Guys.... thanx for any input Could someone please point me in the right direction here.... I am trying to create a function (well 2 - Buy and Sell positions) that will provide me with the following information: For all open Buy positions that are
Mike Tanton
Added topic Cleaning Code
Hi Guys I've finally finished my EA/Bot but (even though I have been anal about keeping it clean) I'm wondering if anyone can point me in the right  direction as to how I can clean the code. ie. get rid of variables that are not used etc. It's
Mike Tanton
Added topic I suddenly cannot multiply
Hi Guys.... I suddenly cannot multiply....  '*' - illegal operation use I initially thought this was just a temperamental phase that my computer was going thru... BUT... it's now becoming serious....  Can anyone help me out here.... I
Mike Tanton
Added topic Someone should update the MQL4 Book
As a matter of interest to Newbies (myself included) There is a blatant  error in the MQL4 Book... where it comes to Loops... It's taken me almost 2 years to become semi-proficient in MQL coding... But, one thing that I have learnt in this game
Mike Tanton
Added topic How do I convert character to ANSI number
Hi guys Please can someone point me in the right direction here... I have created a simple indicator using Wingding Arrows which are nested under an OBJ_LABEL  and anchored in CORNER_1. Obviously, there are 3 different iterations of the arrow UP
Mike Tanton
Added topic How do I darken an Indi color
Hi Guys...(sorry if I am multi posting here but I couldn't find my last post) How do I darken my indi color...? My code is....(don't even know how to do a "code" block)....but anyway...    color    Bottom_Line_Color =
12