Forum

Changing time and date format in mql4

Hi Can we change the time format in mql4 from 2013.09.09 13:15 to 30130909 1315 Any help is appreciated and thnx in advance

after metrader update my code didn't work

hi i need some help because after metrader update 5.00 build 966 my code didn't work the code used to sum the volumes of all candles in a specific range int V=V+ Volume[i]; ObjectCreate ( "Volume" , OBJ_LABEL , 0 , 0 , 0 ); ObjectSetText( "Volume" ,DoubleToStr(V, 0 ) , 14 , "Arial"

deleting buffer line and redraw it

hi how can we delete buffer line and redraw it using mql4 code ? we can delete object using: ObjectDelete ( string name) to start draw it again , what about buffer line? any help is appreciated

show price for zigzag tops and bottoms

hi any idea of how can we show the price on zigzag tops and bottoms? which functions could be used

number of bars inside rectangle

hi how can i get the number of bars inside rectangel (how many bars inside the retangle) using mql4 using second time point - first time point sometimes give wrong count because of holidays any idea

the sum of bars length

hi how can i find the sum of bars length between tow dates using mql4 if i had a startdate {S} and enddate{E} and want the indicator to deduct the high from low of each bar between S and E and sum the result.....which function can do that........ only i need the name of the function and then i will

Pythagorean Theorem

hi i want to know how to code for Pythagorean Theorem in mql4 if my equation is =sqrt((a^2)+(b^2)) and a=b can we do that by using : double MathPow( double base , double exponent) any help is appreciated

points counter between high to low or low to high

hi am traying to make an indicator that help me to find how many points between high to low / low to high attached is my code but it need some modification because am not good in mql4 any one can help me to finish it? and thanks //+------------------------------------------------------------------+

automatic rename vertical line

hi i have a code for indicator that do some calculation starting from a date(pointtme) that i enter, the setting window for the indicator is #property indicator_chart_window extern string VLineName = " " ; extern datetime PointTime = D'2009.09.07 00:00' ; extern int Multiplyer = 00.2220 ; extern

chart for USDEUR........JPYUSD....... and so on

hi any one know how to get the chart of opposite tickers in metatrader ? instead of EURUSD to show USDEUR instead of USDJPY to show JPYUSD and so on (i need it to be real time updated as the original tickers) any one can help