Michael
Michael
Michael
Added topic Lines ahoy!
Take a look at the attached picture .  See how the lines go the next candle?  How can I get rid of that angle line?  Note: this is a Pivot Point indicator.  So, I just want sets of straight lines without the "slides" in between
Michael
Added topic Global variable limitations
No problem with code or anything.  Just wondering here before I set off on an adventure (that will probably end in a horrific crash.  :)   ) Is there any hard and fast limitations on how many global variables that can be set? 
Michael
Added topic Sub folders in Indicators folder
So, how can I call an indicator in a subfolder of the indicators folder through iCustom?  ie., Indicators\Projects\myProject\myIndicator.ex4
Michael
Added topic Lot calculation
Kind of taking a survey here.   I've been reading around various area's on lot calculation.  I'm wondering, how do you calculate lots? Here are some examples from a thread I posted on another forum: // a) Found this in a spreadsheet
Michael
Added topic Why does this always draw a flat trend angle
Put this on chart.  No matter how far apart the 2 prices are, it ALWAYS draws a flat trend line .  Why? #property strict #include <ChartObjects\ChartObjectsLines.mqh> CChartObjectTrendByAngle myAngle; #include
Michael
Added topic TradeToolsFX
Does anyone know how to send a binary options order through this plugin?  I doubt it uses OrderSend() . 
Michael
Added topic CChartObjectRectLabel question
Note: If this post is duplicated, sorry.  I'm pc crashed while I was doing it. Isn't an object of this type supposed to support text in it?  My code draws the box just fine.  But no text shows up inside.  I'm pretty sure I'm
Michael
Added topic Can't enable/disable rays on trendlines
So, this code will draw the trendlines using the coordinates correctly.  It doesn't matter what I set the RayLeft and RayRight values to, Left is always on (true) and Right is always off (false).  And what I want is the reverse
Michael
Added topic File Writing Question
Trying to create a csv file.  Now, I know this isn't useful; but in order to figure out a problem; you need to break it down into it's smaller components.  This is the component I'm trying to get work. The output should be: 1 , 2 , 3 1 , 2
Michael
Added topic File Writing Question
Trying to create a csv file.  Now, I know this isn't useful; but in order to figure out a problem; you need to break it down into it's smaller components.  This is the component I'm trying to get work. The output should be: 1 , 2 , 3 1 , 2
Michael
Added topic Request for next build of Metatrader 4
In Metatrader 5, you've included the following pre-defined classes:  CTrade (includes predefined structures of MqlTradeRequest, MqlTradeResult, MqlTradeCheckResult ; of which are not found in mql4);  CTerminalInfo; CSymbolInfo;
Michael
Added topic 64 bit MT4 version?
Will we ever see a 64bit Metatrader 4 version?  This running a 32 bit client on a 64 bit OS is ridiculous. And before anyone says " download MT5 , it's free"; I live in the U.S. and there aren't any brokers who currently support MT5 on LIVE
Michael
Added topic MetaTrader 5 Strategy Tester Agent
Has anyone tried running this on Windows Server 2012 r2?  The OS requirements stop @ Windows Server 2008 and Windows 7
Michael
Added topic Metatrader 4 installation directory
I've downloaded the MT4 setup (mt4setup.exe) from Metaquotes.  Unlike installers from brokers, this one won't let me install it to a custom directory.  Is it possible to change this so I can
Michael
Added topic modifying an object
I'm creating a kind of 'whack a mole' game here as a graphical board in MT4.  The purpose isn't to be anything useful than an exercise in using the built in libraries that come with MT4. The problem in my 'game' is that the last cell created is
Michael
Added topic Learning to draw lines... the new way
Ok.  I'm trying to learn how to draw lines using the classes provided by MQL4.  I put this in a script to attempt to just draw a simple line.  But when I drop it on the chart, I don't get an object created.  Can someone show me
Michael
Added topic Templates for Metaeditor
Ok.  So I probably haven't been paying much attention here, but I went to create an EA using a template I created for my EA's.  When I clicked File, New, One of the options I used to get was to use my own template.  Now, that option
Michael
Added topic Array out of range
Most of the time, I get this on array's I create.  And it's usually due to a size limitation I placed on myself. But this one has really got me stumped. How is it that I manage to get the Array out of range error on this? datetime LastTime;
Michael
Added topic MetaQuotes: ChartClose(chart_ID) is broken
First, here's the source code: void OnStart ()   {    int i= 1 ;    long chartID= ChartFirst ();    Print ( "First chart is:" , ChartSymbol (chartID), ". TF:" , ChartPeriod (chartID));    while
Michael
Added topic checking charts
I'm racking my brain about this and can't quite figure it out. How can I go about checking to see if a chart is open or not?  And if it's not open, open it?   Thanks.