I hope someone can help me codding this. For my ea, i only trade when the price is outside of the level -1000/1000 of the Moving Average 1000. double Buy1 = iMA(NULL, 0, 1000, 0, MODE_SMA, PRICE_CLOSE, Current + 0); ====>>>> maybe i have to join something????!!!! sorry for my english. thanks for...
Does anyone know of any EA that works with all indicators by calling icustom?
[Deleted]
Greetings, This post is for everyone who knows mql4 and mt4 api. I have a requirement of a metatrader script to perform the following tasks. The purpose is basically to make available any stock on MT4 in real time. 1) create new symbols/hst files for offline charts from CVS/TXT files. 2) sync and...
I would like to calculate the bearish and the bullish candlesticks base on the close of the five candles. pls. is this the formular for it and not really sure. For bullish= Close[5]<Close[4] and for bearish=Close[5]>Close[4]. Please am i correct? and if not tell me. Thanks
Does anyone know if its possible to change the default colour of trendlines and horizontal lines. For that matter is it possible to do the same for other objects such as the bos and fib retracement levels. Can a trendline or horizontal be deleted from the chart by another means other than the...
I discovered that different meta trader4 have different daily pivot points. I plotted daily pivots indicator on USDJPY on meta traders4 from Alpari UK(www.alpari.co.uk), FxPro(www.fxpro.com) and PFG BEST(www.pfgbest.com), I discovered to my suprise that they have different pivot points up to 15...
[Deleted]
Hi There I would like to create an array where I stock the following information for each tick 1 bid 2 ask 3 Spread 4 Time 5 Volume MarketArray[0,0]=MarketInfo(Symbol(),MODE_BID); MarketArray[0,1]=MarketInfo(Symbol(),MODE_ASK); MarketArray[0,2]=MarketInfo(Symbol(),MODE_SPREAD);...
[Deleted]
Hello all I'm looking for files to upload on my metatrader4 from the following demark indicators: -TDSequential - TDCombo (preferably TDAggressive Combo) -TD D-Wave Would really appreciate it if someone could help me on getting those files. Ronny
[Deleted]
Which broker you are using? What leverage do you use? Is that right people always choose the highest possible leverage margin account? For high leveraged account, even if people who rather trade with a lower risk, they can always control their risk by using lesser margin to buy/sell, and if a user
i dont really know why this attached EA is not placing order the all the time even if the condition is fulfilled. Pls. did i make mistake or is there anything i can do to retify this problem. Thanks
[Deleted]
hi, I have a simple EA I want built, for awhile now..... Would appreciate any local who's familiar with the mql4 language to contact me, it's probably a 2 - 3 hour worth of coding if you were to sit and finish it straight... Local because, its easier to make payments within Germany for me :) msg me...
[Deleted]
Hello to everyone! I try to make a EA witch get Signal from 2 Supertrend timeframes. The fast_Supertrend is only allowed to open positions when its in the same direction like the slow_Supertrend. I found some EA´s in the forum but they are all to much complicated for me as an beginner! So i would be...
[Deleted]
I have an Idea about maximizing profit, but i have some trouble to coded it... Here is the Idea : If we have open position (even martiangle), and already reach 50 pips profit, then we loop the max profit. Close the position if the profit is fall 50% from its max profit. Here is the code I've tried...
Who can give me a hand! I want a MT5 indicator coding : a period indicator coding that 4 hour MA in 30 minute chart! Look at this picture
[Deleted]
I hope all the experts here will help me figure out why my EA does notwork. This EA drove men nut. I have rechecked it so many time but stillcould not figure out the error!!! The rule is very simple based on Gann Hi-Lo Price crosses above Gann -> buy Price crosses below Gann -> sell Standard: Open...
[Deleted]
I have a time string like either : "22:30" "01:30" "00:45" And I want to turn it into an integer 2230 130 45 Is there an easy way to do this ??
Hi Guys, how are you doing? Well, like you I'm looking for solutions to be rich and I found and bought this EA very very impressive (www.fxnitro.com) You can see the statement LIVE at: http://fxnitro.mt4stats.com The EA is working in Tadawul account. I was worried because we know the problems with
[Deleted]
This is current time : datetime dt=TimeCurrent(); How do I get time, but exactly 24 hours ago ?? datetime dtprev =TimeCurrent()- ?????;
[Deleted]
I have find the follow bugs one meta4 i want to delete the order when the trailingstop pass cross the entry of limit order this work with Buy limit but not with Sell limit, when appear the entry signal and is triggered, the EA delete all the sell limit also when the condition stoplosshort <...
[Deleted]
Hi, I would like to create a function where I use some arrays, and Integer as imputs and the output is the average. How to define the function ? int ArrayAverage( double array[][], int toto) { } or int ArrayAverage( double array, int toto) { } Thanks you guys for your help UKALGO
[Deleted]
Hello, I want to make a script to place vertical lines at the opening times of the major world markets. I have quite a bit of programming experience, but am only now using MQL4, mostly with the aim of drawing things on my charts. Well, the script below compiles without errors, but when used on a...
LOL its possible Total net profit 42,552,708 Euro with a Initial deposit of 100.00 Euro since 2003
(2)
hello at all i started programing EAs 4 weeks ago and have a lot of versions, this one is one of the winners sadly the EA nearly had no trades at the end (august 2008) it doesnt trade in 2009 after march .... i am now working on a EA that trades in such hard times (financial crises) LOL Strategy...
I am back testing using MB trading demo. Th standard trailing stop codewill not take into consideration of the commission and order swap. Anyone had tried successful to have the trailing stop not take losses with negative profit? typical trailing stop code: void ShortTrailingStop() { int scnt;...
[Deleted]
Is that a BUG in MT4 or I am the BUG?? Assume I have 100,000USD in my DEMO ACCOUNT account in MT4, I have some calculation problem in placing order. Assume my margin is 1:1 ( I am using 1:1 because it makes the question easier to follow) GBP/USD = 1.63020 Then I...
Hello Does anyone have a code for calculation the Standard Deviation between the Open and High and the Open and Low Cheers Kiwi
[Deleted]
//+------------------------------------------------------------------+ //| GlennKing.mq4 | //| Copyright ?2009, MetaQuotes Software Corp. | //| http://www.metaquotes.net |...
Hi, how do I use the value of 1 indicator as 1 of the inputs for another indicator? I have MathRound(iCustom(Symbol(),0,"second one",0,i)) and would like to place this value in my code. Should I use global variables?
Long time ago I wrote linear regression indicators in MQL3, started rewriting them in 4, they don't work. Specialists please help me to write or correct a mistake. //+------------------------------------------------------------------+ //| KVNLinearRegression.mq4 | //| Copyright © 2008, MetaQuotes
Morning to all, Just as the subject states, I have an EA that will work with many other pairs, but not others? I have not tried every pair, but what am I missing? Cheers Huckleberry

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.