Forum

EX5 write error

I get the above code at compile time and all I have is this line (the zero's are line and column i.e. no help) EX5 write error 0 0 This is an EA I have compiled several times with small changes and no problem previously. Have tried twice and still occurs. Tried to close the IDE and

Error or NO Error

I have my reporting logs and I sometimes see something like Sell ticket = 2303414370 request.price = 1.07751 request.volume = 0.16 type = 1 iRes = 1 price = 1.07747 volume = 0.16 is TRUE MyComment = EURUSD_40117263422_S My_error: 4756 Trade request sending failed The command 'Sell' appears to have

Chart TABS not showing

I just created a new installation of an MT5 platform with a new broker. If I open 2 charts (say) then if I adjust one to full screen then the TAB for the other screen is not visible (or present). If I minimise the current tab than I see both tabs. Previously all TABS sow at the bottom of the chart

Finding - The selected position is still open.

how to 'track' error CHistoryPositionInfo::HistoryPositionCheck > Error: the selected position is still open. Just don't know how to figure out where this is occurring and how to fix the problem. Should I be 'closing' something, somewhere Any pointers appreciated

What does question mark mean in mt5 code

I have seen this code in the source of an indicator and just wondering what does the question mark ? accomplish and conjunction with the colon : . val[i] = (absValue > 0 ) ? workTrend[i][_TDF]/absValue : 0 ; levup[i] = TriggerUp; levdn[i] = TriggerDown; valc[i] = (val[i] >

Can I supress Alerts and Sounds

I am using an indicator (free) called "buy-sell-signals-arrows-indicator". I don't have the source code. Comments are in Russian but I have tried changing the 3 variables with True or False options and I still get the pop-ups and sound signals. Is there any means of over riding the these actions

My Mistake getting TYPE

TicketType = myposition.Type(); //A TicketType = myposition.PositionType(); //B I used option //A above to get the ticket type using the standard libraries #include <Trade\Trade.mqh> #include <Trade\OrderInfo.mqh> / #include <Trade\PositionInfo.mqh> #include

Why have my positions Closed?

I feel weird asking this question.. but somehow I have an EA (Mt5) which seems to 'lose' trades. I've been trying to find a problem for the last few days and not getting any nearer. It's almost as if there is an EA deleting trades! I created the small routine below which just checks the positions I

Name of Implemented CLASS

Hi, Not sure how accurate my description is but just trying to find out how to find the name from within a class Example: I create a class called DisplayTable I then declare two occurrences of the class Trades & Summary so I can call Trades.Test(optional variables) & Summary.Test(optional variables)

I get an Error from a Library CHistoryPositionInfo

I keep getting the following error CHistoryPositionInfo::HistoryPositionCheck > Error: the selected position is still open . I presume it generated in the library module code but not quite sure what I should do to avoid the error (or do nothing as I do now) Do I somehow need to DESELECT