Forum

invalid pointer access error

I wanted to play with the example from MQL5 Wizard: How to Create a Module of Trading Signals https://www.mql5.com/en/articles/226 and wanted to implement it in my own EA; unfortunately I get the invalid pointer access in 'SampleSignal.mqh' (151,20) in the file samplesignal.mqh the code from my EA

how to calculate the lots volume?

for a given account with 100 US$ balance, leverage 10:1 what is the size of the lot for opening a position without getting a not enough moeny error

max lots size to trade with

I have the following question: how can I calculate the Lots I can use to enter a trade?(say the max lots size) for an account of say 100 $( the deposit ) and leverage 10:1 then following the logic I would have: max_lot_size= leverage * balance /1e5 = 0.01? I receive an error - not enough moeny

Trade Functions vs. Trade Classes

both provide more or less the same functionality but what is better to use while coding the EA

strategy tester on a demo account

is it possible to test an EA while on demo account ? I receive the annoying error: 4756 Trade request sending failed

expert testing in MT5 with demo account

is it possible to test an EA while on Demo account ? when the EA sends an order. I receive always the annoyiong runtime error: 4756 Trade request sending failed The advisor compiles without errors

mql5 documentation insufficient

the available documentation for the language is not that detailed - more functions and classes lack examples which are vital for implementing ideas and creating own strategies; isn't it possible to create a comments page after each entry in the documentation where people can post examples? A very

accessing indicator values without indicator handle

I am trying to circumvent the step of getting a handle for a particular indicator and stright forward accessing the values for decission in an EA; is this possible? Cheers