Hi, I wrote a little M1-indicatior (here simplified): int start() { int limit,i, n=0, b=-1; static datetime lstQts=0; //---- last counted bar will be recounted int counted_bars=IndicatorCounted(); if (counted_bars>0) counted_bars--; if (TimeCurrent() - lstQts > 60) { // more than 60 sec...
[Deleted]
hello everyone, I face another problem with Fractals , I want to draw support and resistance lines on fractals lower and upper levels, however.. it draws only when candle opens up.. and then price changes. Any chance to figure out how to draw on high and low prices of a fractal candle? Thanks
[Deleted]
MODIFIED AND MADE SOME CORRECTION, MAY BE YOU LIKE IT AND CAN HELP YOU, ALSO YOU NEED TO USE MA, BOILINGER BAND, ETC
Hi, I'm beginning to focus EA .. If I run my EA, you run the code in the function start ()? how often the program runs?
[Deleted]
//execute alerts/trades on breakdouble tlprice=ObjectGetValueByShift("name", 0);double pricebreak = High[0];double pricelow = Low[1];if(pricebreak > tlprice && pricelow < tlprice){//Alert(Symbol(), " Long Breakout");OrderSend(Symbol(),OP_BUY,.10,Ask,30,Ask-250*Point,Ask+500*Point,"My order #2",777,0...
Hi, Does anyone have a Heiken Ashi (Not smoothed) EA they are willing to share? If anyone does, many - many - thanks. DaveFx
Hello there, I have another weird issue with MT4 b432. I have allowed dll calls but the platform keeps on telling me that "Dll calls are not allowed". Has anyone experienced the same problem? Any clues? Is there any "security mode" that disallows Dll calls no matter what? Thanks in advance.
[Deleted]
Gentlemen, good afternoon. A question for experts in the field of neural networks. The bottom line is this. Installed statisctica and started my research with automatic neural networks. Multilayer perspetron. Set a goal to understand how intelligent neural networks are in finding patterns. What did
Hello I need to know 'Are there Forex companies Allow hard and fast scalping with takeprofit 1 pip and spread 1 pip? Can someone earn money with EA open and close trades in just 2 or 3 seconds? Thanks
for(int i = 0 ; i < MACDLevel ; i ++) { if(iMACD(Symbol(), MathPow( 2, i) , 2, 4, 1, PRICE_CLOSE, MODE_MAIN, 0) < iMACD(Symbol(), MathPow( 2, i), 2, 4, 1, PRICE_CLOSE, MODE_MAIN, 1) ) { SellIndex += iMACD(Symbol(), MathPow( 2, i), 2, 4, 1, PRICE_CLOSE,...
[Deleted]
//+------------------------------------------------------------------+ //| VoulumEa.mq4 | //| | //| http://www.metaquotes.net | //+------------------------------------------------------------------+ #property copyright "" #property link "http://www.metaquotes.net"...
[Deleted]
I've an ea using "buy and sell stop method" I think it's interesting. It works well to enter buy and sell order. but it does not take profits. i need a help to fix it by someone. I hope everybody to be happy in advance. I attach this ea as a text.
[Deleted]
Hi all, In my EA I would to calculate fıbo levels automatıcly. I wrote the code below and altough I search a lot I coundn't fınd out how to determıne if it is a down trend or up trend. I appriciate if someone can help me regarding this. Thanks in advance. (I wrote "low bar is earlier" refers to the...
Is there a way so that the specific set file name is displayed as a comment on charts that were optimised?
Hi, I want to import some functions from a dll. Therefore I had to include some *.h files. Is this possible, or do I have to write *.mqh instead of *.h? The dll if for a c-programming language. And there are functions with pointers and structs as datatyps. Is it possible to use that with mql4??
I am using a template with a large number of indicators. I notice that the indicators at the end of the list do not have their values shown in the data window in MT4. I have to delete indicators from the template in order to show the values for all indicators in the data window! Is there some
[Deleted]
Hello, It's a question about this forum. It seems that I am not aware when there are new answers on topics I have subscribe. Is my mistake ? Regards, Pierre8r
Hi, I’m new to mql4and new to programming. I was hopping, someone could help me with this littleproblem I encountered. I need an EA to determine bar shift since the last closed order. This is what I came up with … int BarsSinceLastOrder() { if(OrdersHistoryTotal()<1) { int...
[Deleted]
Hi, I am trying to devveop a back test that trades at a specifictime of the day. I have downloaded and created tick data as per previous posts(many thanks) and am getting totally confusing results. I can only conclude it is my lack ofunderstanding of how time functions operate. Can someone point...
[Deleted]
Hi, I am currently rewriting one of EAs, and I do lot of backtesting using internal MT4 tester. The problem is that I am using time functions to limit trading time to periods that I feel are good for trading, but while testing it seems that MT4 is using current time, and not time in past data? Any...
I'm new to this and I don't see what I'm doing wrong, When I run it it just keeps making trades. I want it to work just at the close of the bar, but its making a trade every tick. My code is double FastMA = iMA(NULL,0,5,0,MODE_SMA,PRICE_MEDIAN,0); double PrevFastMA = iMA(NULL,0,5,0,MODE_SMA...
[Deleted]
Hello all. With VWAP reversion mentioned in more and more financial blogs/publications I was curious if anyone has made/knows of an EA that trades based off of a VWAP indicator. I did a search and came up with very little. I know that the guys at Dailyfx made one for marketscope.. It paints 3...
[Deleted]
Hi all, I have download Meta trader 4 demo but in the items I can't found Ibex35 simbols. Please, Can you help me to can use spanish items?¿ Best regards
[Deleted]
Say from the history data to excel ranging from one date to current period - basically a range of data showing opening, high, low, closing, volume of the currency selected. - to update excel every 5 mins a new set of data comes, considering I am looking AUDUSD 5min chart. There was an earlier...
[Deleted]
I want to record spread,and input them to mysql,so I can do some statistics.The following is my code,but my problem is every time the new content will remove old content.So can someone tell me how to write new content without remove old content? Thank you very much! int start() { int handle;
[Deleted]
Help!! When I pull up my EUR/USD chart no candles on 5m 15m 1h. I tried downloading new history in history center and it is still the same
Hello guys. I wanted to understand why I get different results using a multi timeframe indicator code to develop an EA. Basically I have written a quite simple code to check the Parabolic Sar over three different timeframes. The indicator seems to work fine in accordance with the logic, instead when...
[Deleted]
Hi, all. Firstly, I am sorry with my poor English. I have created an EA that open many orders on many currency pairs. When the total profit of all orders (in $) have reached the defined profit, the EA will closing all orders one by one. But this execution sequence takes more times and sometime...
Hi, I want to check open orders (market) orders for special number in OrderComment. If order with same comment exsist do not open another order. Problem is that somethimes it duplicate order. Can you check for errors, please? int countbuy = 0 ; for ( int i= OrdersTotal ()- 1 ; i >= 0 ; i--)
Hi there (personally, to those who still remember me ;-) ), haven't been here in a while). I've read a couple of threads about probability, randomness and theory, but it's a shambles. So I'll just throw my twisted thoughts at you in case anyone understands. ;-) here we go. Probability Theory(!) is

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.