MQL4 and MetaTrader 4 - page 645

Hello, I need to back test a strategy involving Range Bars. I already have the mq4 Range Bars code, for MetaTrader 4. Still, I'm having trouble to back test any strategy, since to use Range bars, i must use Offline graphics. Does anyone know how to back test strategies with offline charts, or...
Hey guys, I have a problem with deleting all the pending orders when there are opened orders in the order pool. I am checking if there are any opened orders with this function int CheckActive(){      int Active = 0;      for(int z = OrdersTotal()-1; z >0; z--)      {         OrderSelect(z,...
hi all, I know there is a way to view the "available" leverage of the account Is there a way to view the "set" margin call notification or warning level ? (can be 125% ) (the level at which new trades cannot be placed) also, is there a way to view the "set" margin call liquidation level ? (can...
  Belly Indicators  (17   1 2)
A strange thought, but maybe it has a value: A candle stick shows the Low, the Hight, the Open and the Close rate during a period (let's say: a day).If one single Weirdo trades way to high with with small volume, the High is set, but in fact means nothing.Another Fool can set the Low on a strange...
Hello Can someone help. Is there a code for enabling and disabling the expert advisor button on the trading platform via an expert advisor using MQL4 programming language, and if so, what is this? Raptor??
hi, I hope this is possible I just want to know if it is. I would like to add details about the ea I'm running on my computer to let me keep a track of what has happened on my terminal. I would like to add something in the OrderSend() Comment feature. More Details!!! I would like the EA name to be...
[Deleted]
  X pips sL/tp ea  (3)
i am looking for EA that close my trade with hitting xpips and hitting Ypips stop loss. if any one have such ea then please help me.
I have installed MT4 on my phone. For the first run, it requires me to do some connection settings: Host: Port: Password: I don;t know how to add these 3 items.
I've tested my EA on multiple currencies with spread current and all I can see is that I cannot use Spread Current in tester with the EA that I wrote. No errors occur if using a spread of 2 or 5, etc. I haven't seen this kind of problem come up on the web (or on google) so I'm worried my coding...
Are there any MT4 or MT5 programmers living on the Sunshine Coast, Queensland who are interested in collaborating on the development of a profitable EA?
As a Money Manager I am wondering where to post results on here, new to the site but certainly not MT4
Hi. Looks like this is more difficult to program than i thought. Can anybody help me out, I'm not a coder. Calculation formula: http://s7.directupload.net/images/120606/osbbr34k.png The result would look like that: http://s7.directupload.net/images/120608/vmvohgeo.png Thanks!!
Hi I know this was discussed before but I wanted to ask about the macd indicator included in mt4 I clearly see the indicator does not display the crosses at the same locations as the typical macd indicators in all other charts. I understand there have been truemacd replacements for this but wondered
If you use while in place of if or vice versa. Does it make difference?
Hi guys, I´m trying to backtest a manual trading system on 2013 year. As I have the date/hour/minute of every open and close trade, after lots of hour of work, I´ve succeeded in backtesting it on Excel in terms of profit only. As you know, I system can not be evaluated just buy its profit. I need to...
Hi Guys, when I stopped my MT4 application and lunched it on the next day it downloaded all history data till the moment. I noticed that my indicator showed only one value /in red ellipse /, so i had to re-run it in order to re-calculate all received history data. What have to be changed in the code...
To reference the currency pair within which you have found candles, trades, patterns etc. with specified conditions given in your program logic are occuring, what is the MQL4 term that you would reference? i.e. how do you reference the field 'eurusd', 'usdjpy', 'gbpusd' within an MQL4 program?
[Deleted]
Hi, I've just setup MT4 on Ubuntu. Now trying to activate my (purchased) EA's. When I right click and select attach to chart, nothing happens. Built in EAs work fine ie MACD sample. Has anyone else had issues / been successful with Ubuntu EAs
i want my ea open order in 5m and it can't open order again the same candle, if it was open an order in this candle. how can i do this ? and what can i write for this subject to the search button ??
  help with my code SMA  (11   1 2)
Hello, I have a problem with my code. I'm trying to use two sma (4.9), and when they reach the intersection of two open a position, the first candle goes well but in others no achievement to come out. I'm doing wrong? Another question is how when I have to make buy or sell, the theory says that when...
  back test  (3)
i use my meta trader back test but it start 15 march 2013. F2/ and i download eur/usd but it's not change. because my brokarage is so new. what can i do to back test example 2 or more years ??
Seasonal Greetings What is mq4 best way of predicting the next bars high and low?
Hi, all: I want to calculate the WPR value of a detrended price series. First, I use an indicator buffer to store the detrended price series. But to simplify the question, I directly transfer the raw prices to the buffer. Export the so called "detrended price series" into the chart, we can see it's...
[Deleted]
I'm using Metatrader 4 (Android) and have a Problem with my Candlesticks. I can't see any Candlestick shadows and I can't see this crosshair. It look's like the lines are white (on white background). I'm using a Sony Xperia Z at the moment. 
[Deleted]
Hi guys. consider the following line of code: iRSI(SymbolName, PERIOD_D1, 14, PRICE_TYPICAL, 0); if SymbolName is english text, then when I test it the function returns a number, but if it is a persian string it always returns zero. but if I use symbol() function on the same persian symbol chart,...
[Deleted]
Hello, this code is supposed to caclulate the realtive lenght of the whick versus the body of the candle - and after that calculate and visualize an average for a short and a longer period of that I am very new to coding (I suppose I couldn't hide it even if I wanted :)))))) ) - so please show me...
  pollan  (11   1 2)
pollan,what is wrong .?
[Deleted]
can anybody tell me how to create an arrow on a price chart when a particular conditionis met. for eg... if the ADX value isl less than +DI there should be an arrow on the pricechart at this particular price. I am tryin to use ObjectCreate("arrowi",OBJ_ARROW,0,timeofbar,0) but its of no use....
[Deleted]
See the evidence below, Trade #38414, resulted in a profit of  $481,700 trading 10 lots of EURUSD. This picture evidence attest to Meta Trader 4 backtesting quality (and this platformis downloaded from Meta Trader itself). A picture is worth a thousand word.
hi, i know how about mt5 but... i tried to test indicators on mt4, but i dont arrive when i try demo indicators, i see nothing about indi in my mt4... thx js