Forum

ArrayBsearch doesn't search as it should be

HI, I have opened some positions with one magic number, and then on the same currency pair, have opened some more positions with different magic number Now trying to store only magic numbers in an array, results are not right Could someone kindly point out where is the mistake void

Problem in NormalizeDouble

I need 5th digit after decimal from price quote, it will display when using DoubleToStr function. I want to store a vlue get from object and use it for further calcullation i.e "price2" could anyone please help me to solve this problem

Strategy Tester Objects

Hello Traders / Coders I just wonder is there any script which remove the Graphics Lines and circle represet trade history, during visual test Or is there any option just disable in strategy tester that will not show trade history graphics during visual test pice of code will be helpful, since i

Accumulate Orders By Magic Number and Time

Hello coders ! I am trying to code for accumulating orders in 2D array and unable to get correct results can anyone help me plz the detail is in attached file please take a look Thanks

Modify Magic Number

If some order is opened with some specific magic number, later you can't change / modify magic number of already open order. you can only assign magic number at the time of opening order. for example: I have 10 orders open with my EA and with different SL/PT and magic number after a while 5 orders

Help need MQL4 code

Hi I am looking for an indicator which draw lines with user input x Interval around current price For example shown in picture current price is 1.3414 and intervel is 10 pips so upper line should @ 1.3420 & 1.3430, and downline should be @ 1.3410 & 1.3400 and if we input 20 pips the line should be @

iTime help needed

here is code to get Bar's begin time working on MTF GetTime =( iTime (Symbol(),60,i)); its OK how we get Bar's end time ? Thanks

ZigZag.mq4 code

code from standard ZigZag Hi this code is from standard "ZigZag.mq4" "if (counted_bars==0 && downloadhistory) // history was downloaded" counted_bars==0 : checking if the value is equal to zero........ its ok. downloadhistory : there is no condition check why ??? please clear this Thanks