MQL4 and MetaTrader 4 - page 893

  charles 2.1.8  (41   1 2 3 4 5)
could someone explain me how the charles 2.1.8a expert advisor works? please
Please let me know how can I open real meta trader4 account Thank you
Heyy guys, I've been trading for a few years now. I am currently using an indicator named fisher. The main problem I am having now is, I need to get an alert (Normal Alert and Text/SMS/Phone alert). Please do help me out here. The code has been provided below: #property indicator_separate_window...
Hi, I like to close all opened orders at end of the day. i know there is close position one by one.but i like to know is there any function available to close all positions?
See screenshot How do you get the full value of a moving average in double form?
Hi, I am experiencing some strange problems with my expert advisor. bool hasbought = false;bool hassold = false;//+------------------------------------------------------------------+//| Custom indicator initialization function...
New article MQL5 Cookbook: Developing a Multi-Currency Expert Advisor with Unlimited Number of Parameters is published: The multi-currency Expert Advisor considered in the previous article "MQL5 Cookbook: Multi-Currency Expert Advisor - Simple, Neat and Quick Approach", can be very useful if the...
[Deleted]
I have an idea for an EA that is simple and elegant, and it uses NO indicators whatsoever. It simply follows the market and lets you take as much profit as you want. I need this done for free or cheap, and if it works, I'll give it away for free, to make everybody rich. Here's the idea: It opens a...
Here is my code. I want that every times I change the property "line", the old horizontal line will be deleted and the new one will be created. How to change my code to make that happen? One more thing: Sometime I start my code with value in property "line" it wont draw a line, and sometime does....
Dear all,   I used the following code in my EA to create a text object at a position higher than the current bar's High. #property copyright "Copyright 2013, MetaQuotes Software Corp."#property link      "http://www.metaquotes...
[Deleted]
I am coding an Expert Advisor and I need a good way to detect stop loss. I have written this function but I'm not sure whether it would work correctly. Can someone help me with this? The function returns and integer to specify whether the order is BUY or SELL and whether stop loss is TRUE or FALSE....
[Deleted]
I'm having trouble optimizing a strategy that triggers trades from a trendline object. Zero trades are being made when optimizing, however several trades are made when backtesting it. iTime(NULL,PERIOD_H1,2), iLow(NULL,PERIOD_H1,2), iTime(NULL,PERIOD_H1,1), iLow(NULL,PERIOD_H1,1), 0, 0); Even when...
[Deleted]
Hi everyone ! I use a custom indcator, which in a 2 important level 0 & 20. I would like to when a news candle appears if s he crossed 1 my bool set true, but if she crossed 15 IN THE SAME CANDLE ! She set an another bool true. I try this : bool StopTrading= false ; bool SignalBuy= false ; bool
Hello, They are many financials symbols given by my borker(more than hundred) I want to sort them all in a mql4 program for detecting a particular candles configurations The simple way is to put them down one by one in a array ,eg smb[]={"NZDCAD","EURUSD",....} but its boring How to import them
[Deleted]
Sorry, I'm a newbie trying to learn how to code my own EA. I'm trying to simply push the string, "Top" or "Bottom" to my variable, "SAR_DIRECTION" when the dot is on the top or bottom of the candle on the 1hr chart. It now says top...even though it's not on the top. It usually is correct only the...
Any tutorial recommendations on getting started setting up and basic platform use? Thank You Joseph
Hi, How to assign the value of first 4hr candle high[],Low[],which i will validate for remaining candles. int whigh=0; int wlow=0; whigh=High[1]; wlow=Low[1]; when i display the value of whigh,wlow using Comment(whigh,wlow), shows o or 1 Can you help me,whether i did wrong,if yes support me to fix....
Please help me, How to validate one order per candle?
[Deleted]
Hello All, My question is the following:  Suppose a script calls a built-in indicator for multiple symbols on a given time frame. The charts for these symbol-time frame pairs were not opened or otherwise refreshed recently. So at first call to the indicator the corresponding historical data are out...
[Deleted]
Ea I'm working on will back test fine however will not enter a trade when placed on a demo chart and also will not take a trade during optimization testing. The ea is suppose draw trendlines on a chart and then trade accordingly and will only trade in set time ranges of the day. ~ The ea when...
Hi,   does someone have a ready lotsize calc function or indicator which is able to manage non USD base currency please?   regards taskin 
I am trying to get an EA to activate buys and sells to the following conditions: if stoch crosses 90 then condition A if condition A + stoch crosses 50 then sell order plus delete condition A if stoch crosses 10 then condition B if condition B + stoch crosses 50 then buy order plus delete condition...
  Using Arrays  (2)
Hi guys,    I know this may seem like a really easy question but I've been struggling with using Arrays. I've write some code with variables which work but now I want to learn to use Arrays as my next code requires me to use an unknown number of variables (expected to be large). I'm hoping Arrays...
What is the probability that in the course of working with Meta Trader 4 and running robot, the source code of that robot (full source of expert advisor) will go into the hands of a broker or in the hands of the creators of the Meta Trader program, living in the Russian Federation? I kindly request
  Spread?  (1)
so yea, when im in the strategy tester, is spread 2 a spread of 2.0 or 0.2 on for example eurusd ?
[Deleted]
Hello gurus, I am a newbie and would like to solicit your expertise in using icustom.  I was wondering how can I write the crossover of 2 lines, such as MACD, ADX, or customized indicator from icustom.  The reason being is that I would like to have a confirmation signal from a customized indicator...
Hi all,  I need to trail price once it passes a MinProfit and then when it bounces back and hit Trail value we have a close. I've already gained a lot of support from WHRoeder,but still to do not understand how to deal with this issue and am afraid to get more of WHRoeder precious time. Follow is...
in the picture above , there is 4 server , i want to use the .ru server , but after a while it change to another , so is there anyway i can remove the other 3 and keep only .ru server to use ?
Please note that forextrada.com has escroqued  various of his clients by  making  hemselves illégal negative trades   to put them account at 0 ! The clients who has still a little amount and who  begin to cleam they just blokked them  netatrader 4 account so they can not put orders anymore.......
  please help  (2)
how can i code this ? what kind a loop or if type ? i want there is an orders and i want these orders tp will be different, for example this ea open that orders.  1. order buy 1.3000 2. order buy 1.2990  3. order buy 1.2980 4. order buy 1.2970.       i want 1. and 2. orders tp will be 1.2996 , 3....