MQL4 and MetaTrader 4 - page 1387

[Deleted]
Hi folks, Is it possible to count how many bars after 2 MA's crossed and displayed in the main chart??.. Thanks
[Deleted]
How close is the backtesting to the reality? I backtested my EA on the strategy tester and found several entries shown in the report highly unlikely in real trading. My ea reentered the market as soon as it was closed, even in the same direction right after being closed by stop-loss. How can I...
Hello, I need some advice, I want to make an EA using this center of gravity indicator. I want to use it as a function so I could call it anywhere in my EA. I'm a newbiein programmer's world, and I find some difficulties in it. Please someone help me, thank you....
Hello My ea has the problem does the OrderModify turns multible for (int i=0;i<OrdersTotal();i++){ OrderSelect(i,SELECT_BY_POS,MODE_TRADES); if(OrderComment() == Text && Hour() == (Start1 - 1) && Minute() >= 55 ){ if( OrderType() == OP_BUY && OrderProfit() != 0 ){...
http://www.onix-trade.net/?act=monitoring_stat&xid=13780. http://www.onix-trade.net/?act=monitoring_stat&xid=13802 The above is s link of my trading account in fxpro and its advertised in onix-trade for bring prospects for account management, if you are intrested in your fund beign managed, contact...
Decent optimizations take weeks and even months, which makes it unlikelythat they will be completed successfully. Thus the ability to pause and savethe results up to that point and then resume then again, even if MT5 had beenclosed and reopened, the computer had been rebooted etc, it would be...
I HAD AN EA ATTACHED TO EURUSD CHART,AND WANG TO GET ASK AND BID VALUE OF GBPUSD . HOW TO REALIZE IT ? THANKS.
  Forex robot  (2)
Forex robot. Forex robot - a system that can track their own performance indicators (standard and designed by you) and on the basis of one or more signals to decide on the commission of a transaction. There are many types of such systems. Most of them are similar in structure and mechanism. Many...
I saved old version only, in *.ex4 compiled coding, the *.mql version I have changedwith new codes... Can I convert my old version from "*.ex4", to review the code. Does exists any possibility to return the old "*.ex4" in "mql-text"readable version? The indicator is not copyrighted and made more...
Hi, I have this complied custom indicator Arrow.EX4 thatseems to be reasonably accurate. It putsan Up arrow on the chart when it is good time to enter into a Long trade, and adown arrow when it looks good to get into a short trade. How can I detect these and use them in an EA to open Longand Short...
I'm trying to get the high and low of the previous day on a 1 hour chart (the last 24 bars) so I can use them during the day. I want this process to be done everyday of trading. Currently I put this process in the following functions: double Higher (double Top) { static int i;...
I'm trying to plot pivot points, their resistances, and supports as graphs (similar to that of moving averages) for any period (based off a bar's predecessor), so I can find such for any bar, at any given time. Basically the purpose is to find what supports and resistances based off pivot points...
i saw an an article related MT4 installation . the final structure is as follow : aaa_metartrader\experts\files\bbb_metatrader install bbb plateform under aaa plateform 's files folder . i do not understand it 's function . can someone tell me ? thanks.
Idon't fully understand the position system in new MetaTrader 5. If yousee my picture, so I can take profit from both (BUY and SELL)possitions. But in MQL5 it is not possible. Am I right? How can I solve this situation? Resource: MetaTrader 5 Trading System:
[Deleted]
hi! every one! //////////////////////////// extern double lots=0.06; int start() { //----------- if (OrdersTotal() <= 1) { if (Ask > Low[1]) OrderSend(Symbol(),OP_BUY,lots,Ask,5,0,Ask+50*Point,"buy",0,0,Red); if ( Ask < High[1]) OrderSend(Symbol(),OP_SELL,lots,Bid,5,0,Bid-50*Point,"sell",0,0,Green);...
10 years back test ... 10 years back test without optimization
I know some of you are against commercials, but I'm not selling any EA as you know me... After a month of hard work, the MQLmagazine is ready. Although it's a wordpress blog, the theme does it well into making it look like a magazine. I intend to cover both MQL4 and MQL5. Because MT5 is itself so...
[Deleted]
hi, I programed a loop, which counts the profits and only if all trades together are profitable, they will be closed . I used OrderClosePrice() for OrderClose, but I tried Ask and Bid, nothing lets the EA make profits. Curiously sometimes all trades are closed with profits, but sometimes with...
[Deleted]
Hi all, I don't use the strategy tester all that often, and whilst preparing a demo for one of our EAs, have noticed (and it may only be on certain computers), that when performing a visual test that the graph (and trades) are not built in real time - ie. do not appear until the test is complete,...
Hi I am testing a strategy using visual in the strategy tester on the 4hr chart. When I have it set to 31, it moves incredibly slowly, yet 32, it moves way too fast. Any ideas or settings to change?
I'm in need of some help. I'm trying to do something very simple which I'm sure there is something already out there made for this. I want to just have two EMA's running on a chart and enter on a cross then reverse position every time it crosses so it will basically always have a position open just...
[Deleted]
Dear All, I learn to make EA from QQE indicator. On the chart we can see 3 values of QQE (Value1, value2 & value3). For example, on the chart seem "QQE Current Time Frame 68.2824 (as a value1) 63.6498 (as a value2) 60.7867 (as a value3). I want to take value1, value2 and value3 to make decision for...
[Deleted]
Dear all, I'm new to this trading platform and not great with programming either. Can some one send me a script that can monitor the RSI level (e.g. when it touches 30% or 70%) and give a sound alert. My email address is : tayyf88@singnet.com I appreciate your reading of this post. Regards, YF
[Deleted]
Hi, I'm just new here :). Just wanted to ask how to set the stop loss and profit order in MT4 platform? for stop loss, i tried to use say 0.0005 (as 5 pips) but it just doesn't work. Then I tried to use the buttons to increase or decrease the value in reference to the limit order. Example, limit...
Hi, I am going to buy Windows 7 Home Premium (without Windows XP compatibility). My question is : Will the Meta Trader 4 and Meta Trader 5 work under that OS ? Rgds, PUNCHER
[Deleted]
Hello, sorry my bad engl. I use my own simply "manual" scalp trading system based 90% on money managment rules . Withoud any indicator. Any trend following. I don't use Pivot lines but only price based lines : example : 1,42300 (00) 1,42325 (25) 1,42350 (50) 1,42375 (75) ecc.... Large time...
I need a simple EA to do the following: You attach it to a chart and it will monitor the % margin and do the following: Once the margin level goes below a certain level % (to be entered in the input window) I want the EA to close the MetaTrader session send an email and start another session of...
  range text?  (2)
This seems to print a value of 0 for the first part of the text (High -Low) - any ideas on how to fix it?                ObjectSetText("signal"+x+"3",DoubleToStr(MathRound(MathAbs(iHigh(Symbol(),PERIOD_D1,0)-iLow(Symbol(),PERIOD_D1,0))),0)+" out of...
  Oanda Labs  (5)
is there any way to get this data into a metatrader indicator? http://fxtrade.oanda.com/tools/statistical_information/fx_open_position_summary.shtml
Hi all you expert programmers. simply please tell me what function to use to place a single mark (arrow, X, etc ...) on a chart . IE if (price > price2) ........"place mark on chart" thanks