Download MetaTrader 5

MQL4 and MetaTrader 4 - page 943

To post a new topic, please log in or register
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:
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...
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...
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...
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...
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
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
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
Could anyone please code an EA for me that places orders above andbelow the opening of a candle on horizontal lines that are 10 pipsapart? Eg price opens at 131.65, buy order placed at 131.70 and sell order placed at 131.60. Many Thanks..
  Forex Robots (3)
Forex Robot. I think robot forex is so wonderful to use in simulation trading but...in live mode i don't know. who knows if what robot forex can use in live mode. Help me please. :)
yesterday my EA tries to open a trade and got a error 138 i check on it and found that the price in that few seconds was rising very fast i got requoted 2 times and entry price is not that good. so should i use a bigger slippage or stop open the order if requote is more than X times? and if for a...
Hello, I the programmer with the experience about 7 years. I invite the investment companies or private investors to cooperation. Itself I own ideal knowledge in programming and own program workings out. Which ready to put on yours accounts. As I will give result of work on Live the account from...
Hi all coders! Can anyone help me with this coding: The line has now only one colour. I would like it to have two col instead. Blue when present value is higher (going up) than previous, and red when it´s lower(going down). I have tried to read and understand the code of other 2-coloured indies, but...
I think there is no built in function so perform such request to the server... ...any idea on how to do that? Cheers, Zyp
Hello Everybody! I'm looking for someone's help because I don't know if the scripts I have created does not work in DEMO mode of trading at MQ4. I just know that, when I load an "open order" script, for example, the daily returns two messages: First that my script was removed and after "called...
I am looking for a trailingstop, that reduces the SL pips when the position is positiv. So for example: SL 15, TP 30; When the position is +3 pips, the SL is 12. I have found some EA`s but they all do reduce the risk of SL when the position has entered the TSL what is usually 15 pips. Can you...
Hi folks, hoping someone can help me out coding a small indicator. Basically, I looking for a small info panel/box to be located at the top left of the screen, which will show the following info:- Brokers spread Today’s trading range Yesterday’s trading range Broker’s time London time with...