MQL4 and MetaTrader 4 - page 900

[Deleted]
Recently I'm having problems using the MT4 application for Android - I keep getting "Common error" when I try to open a position. What it can might be? I keep on re installing the app, cleaning cache but I get it over and over again.
[Deleted]
Good evening all. I built an EA which is used on an Offline chart. Cause it's an offline, i think the best way to force routine is use While operator. And my CPU show "terminal" = 99% used. Can i use some functions, other of "While" maybe, to reduce CPU used? Thanks :)
[Deleted]
how can i make sotoasthic crossover EA im using strategy tune
hello people, I am running my expert advisor, with a couple of indicators helping me develop my entry strategy, but when i backtest it it is running too slowly...is there a way that I can be able to still backtest my advisor but abit faster? thanks
[Deleted]
  "Not" question  (3)
Hi! I want to use GetLastError() on my closing functions and my question is this: If I specify it like that if(!OrderClose(OrderTicket(),LotSize,Bid,Slippage,Yellow))Print("Your order was not closed because...");Do I need to specify it cleanly before the if statement like so,>>...
[Deleted]
This code shows position's profit as pips, But when position is close, it's still shows the last profit! I want it to show "0" after close the position (or shows "SomeTex") . What should I do? When I change time frame, it change to "0". I want it change to "0" or some text when position was close....
  VPS for Forex  (1)
Hello everybody, yesterday I wrote a new thread (about the same topic) and I don't know why, it disappeared inexplicably. The thread was talking about VPS. I'm preparing to test some EAs to get a good basket and obtain results. For that reason, I need your help to get the best price/quality VPS...
[Deleted]
Dear Forum, I've spent the past week reading about MQL4 and trying to turn an excel model I've been working on for about 5 months now into an EA. The thing is, I was using tick data (from http://ratedata.gaincapital.com/2010/ ) and I've only just realised how difficult it is to work with tick data...
[Deleted]
MT4 Draw Symbol instead of Arrow , Draw n instead of square Trying to run MT4 at my Window Server 2008 R2 Standard. but seems to have some technical issue with setup.. How the chart look in my Window 7 Desktop PC How the chart look in my Window Server 2008 R2 Standard. Is there anything i need...
Hi i need help from a programmer, who can change little coding to improve the quality,and accuracy of indicators,and also new idea for EA, so please mail the details on appleasapple@gmail.com
  OrderOpenPrice()  (6)
Does OrderOpenPrice() return the original Ask price of a Buy order and the Bid price of a Sell order or does it just return the Bid price at the time the order was filled ?
I have an expert for send me notifications in email when my strategy happend i ask my expert to send email I want to open the order so i just send an email the problem is that it send me the email 100 times because the strategy is happened and the expert run 24/7 can i ask to send only one...
[Deleted]
I need: if PipValue<0 then Show PipValue color = Red, else color = InfoColor What shall I do? {   string Pip = "PIP";   string PipValue = DoubleToStr(pipVal, 0);   ObjectCreate(Pip, OBJ_LABEL, 0 , 0, 0);   ObjectSet(Pip, OBJPROP_CORNER, 1);   ObjectSet(Pip, OBJPROP_XDISTANCE, 10);   ObjectSet(Pip,...
  choppy trend  (1)
hi, may i know what is the best indicator(s) to evaluate choppy(sideways) trends from up/down trend? thanks
[Deleted]
Hi! This question is for Ichimoku coders.. When I want to specify the Senkao A and Senkao B values of 1 candle back, do I refer to it as candle 1 or as candle 27 like so:   SenkouA1 = iIchimoku(NULL,0,9,26,52,MODE_SENKOUSPANA,1);  SenkouB1 = iIchimoku(NULL,0,9,26,52,MODE_SENKOUSPANB,1); SenkouA1 =...
Hi. I am creating EA that is built on strategy that requires information from other charts. I wanted to ask what is best solution to start with, because I am pretty new at this. Example 1. Create external database and store information there, it means that I have to build 2 EA s. One that...
Hi, I coded ea to run from particular time. eg:1.00am-3.00am at 3am i find high/low of previous 2 bars using iHighest()/iLowest and store in double dhigh/double dlow. EA works fine. problom is when system retstarts or internet connection fails, the value of dhigh/dlow becomes "0". Is there any MT4...
Good day. Is it possible for a certain EA or script to know certain levels(pips) on StopLoss or TakeProfit on a certain server? Thanks...
[Deleted]
OrderSend(Symbol(),OP_SELLSTOP,LotSize,Close[1]-BrStopLevel,Slippage,ssl,0,NULL,MagicNumber,Red);Is it legit or i must specify price creteria in Ask or Bid?
[Deleted]
  A basic EA  (1)
Hi all, I don't have knowledge in MQL4 programation but I need a basic EA to backtest my strategy. My strategy is very simple : On the DAX, I buy or sell the breakout of the undred lines. For example, DAX is 8240pts, I buy 8300 target 8315 SL 3285 and I sell 8200, target 8185 SL 8215. If the price...
[Deleted]
Hi! Gives me "unbalanced left parenthesis..." cant find the problem..please advice. void KijunCrossExit(){  for(int i=OrdersTotal()-1;i>=0;i--)  {    if(OrderSelect(i,SELECT_BY_POS...
  Help Please!  (10)
Please I need help on this for my EA: double RSI_Prev = iRSI(NULL,0,6,PRICE_CLOSE,2); double RSI_Curr = iRSI(NULL,0,6,PRICE_CLOSE,1); double MA_RSI2 = iMAOnArray(RSI_Prev,0,6,MODE_LWMA,RSI_Prev,2); double MA_RSI1 = iMAOnArray(RSI_Curr,0,6,MODE_LWMA,RSI_Curr,1); the comments on tester says:...
I've searched and this issue has been addressed many times. but I have been unable to find the solution. I feel that there may be a glaringly obvious mistake in my code that I just can't see. This is part of the code NormalizeDouble(SL,5);    NormalizeDouble(OSL,5);     if(SL<OSL)// && SL !=0 &&...
I can found high/low of no.of candles. here: High[iHighest(NULL,0,MODE_HIGH,4,1)];Low[iLowest(NULL,0,MODE_LOW,4,1)]; I want to find average high/low values for speciafied candles.is there any mt4 functions availble? or i use now:...
How to set digit for Double variables ? Thanks
Hi, there, I am using Forex.com MT4 platform. When I used the strategy tester to run a backtest. I added the Ask price to show on the chart. I noticed the big gap between the Bid and Ask price - the spread is about 6 pips for EURUSD and AUDUSD (1 min and 5 min charts). I have not looked at...
[Deleted]
Hi, I cant find Projection Oscillator indicator for MT4. I found this description::::: (im not a programmer so i cant figure this out, maybe someone could create this indicator for MT4 users?) i think many ppl would find it useful to use. Thank you....
[Deleted]
Hello I need help. Im trying to draw fibonacci with my custom levels (0.0, 50.0, 100, 150.0, 200.0) and it does draw only the first (zero level) line. I tried many things. Could anyone help? Here's the extract from the code: void FiboCreate(color clr, datetime t1, double p1, datetime t2, double...
When my EA closes my trades on live trading mode, I get FIFO violation messages because my older orders are not being closed first. Is there a way to close all open orders in one trade instead of one at a time? It seems time consuming when only one order is closed at a time. I would like to be able...