fx_maddin
fx_maddin
Friends

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

fx_maddin
Added topic Calculation of Pips
Hi, i am a little bit confused... MyFXBook calculate pips in trade history: I want to calculate this "pips" in my EA oder Indicator. MyFXBook deleted my forum post, so I try to ask one of you how this value is calculated? Thanks in Advance Best
fx_maddin
Added topic Problems with ObjectCreate
Hi Guys, i've the following code sample: void OnTick()   { //---    /* Check for Open Orders */     for (int cnt = 0; cnt < OrdersTotal(); cnt++) {             if
fx_maddin
Registered at MQL5.community
fx_maddin
Added topic ExpertAdvisor sometimes freeze...
Hi, i have an EA which runs in 6 charts with different symbols. Sometimes (after Error 136 (Off quotes)) the EA stop working. This means, that the EA don't receive ticks. From there it is also ot possible to go to the EA settings window (click smily
fx_maddin
Added topic AccountFreeMarginCheck returns -1.#INF
Hi, yesterday, I got a strange error. After lot calculation, I normalize and make a AccountFreeMarginCheck.      double LotStep = MarketInfo( Symbol (),MODE_LOTSTEP);      double Lot = 2.13138833 ; // I get
fx_maddin
Added topic Warning 'sign mismatch'
Hi, I have an EA and installed MetaTrader 4 Client Terminal build 610, it seems everything is fine, EA is working as expected, but there is a warning in the toolbox, which I cannot understand: sign mismatch I use a function taken from
fx_maddin
Added topic Value of predefined variable "Bars"
my EA has written the value of "Bars" to the MetaTrader log file. Since yesterday afternoon there is an unusual phenomenon. Nearly every two hours, the value is reducing by 128 points. example given: time     value
fx_maddin
Added topic Problems with string in DLL and WinHttpClient
Hi, i try to send a string from mql to dll and work with them...  Code in MQL: #import "myDLL.dll"      bool SetString( string foo); #import //+-------------------------------------------------------+ int start() {
fx_maddin
Added topic Work with Array from DLL
Hi, hopefully it is possible and I am on the right way. Lets say I have a function within a DLL: double ReturnArray() {      double aReturn[ 2 ];      aReturn[ 0 ] = 1.34567 ;      aReturn[
fx_maddin
Added topic Lotsize Calculation
Lets assume the following (simplified) Code: extern double Lots = 0.1 ; extern double LotMultiplier = 1.4 ; /* First Order */ myLot = 0.1 ; /* Second Order */ myLot = 0.1 * LotMultiplier; // = 0.14 /* Third Order */ myLot = 0.14 * LotMultiplier; // =
fx_maddin
Added topic Calculation of SL and TP for several Broker (4-digit vs. 5-digit)
I try to make my EAs fit for 4-digit AND 5-digit Broker. Currently I use 5 Digit Broker Lets Assume I have StopLoss 20 and TakeProfit = 60. This is my current Calculation: int StopLoss = 20 ; int TakeProfit = 60 ; double tp = Ask +
fx_maddin
Added topic Problems reading DT-ZigZag-Lauer with iCustom
Hi, i try to write an EA and get the values from DT-ZigZag-Lauer indicator with following code: int depth = 5 ; int GrossPeriod = 240 ;       double Lauer_BUY = iCustom ( NULL , 0 , "DT-ZigZag-Lauer" ,depth,GrossPeriod