MQL4 and MetaTrader 4 - page 1492

I have been thinking about the difference between a trading market in Forex and a Trending market. Does anyone know of an oscillator that can be used to tell when the market is trading and when it is trending? Bill
anbei ein Link für ein kostenloses profitabeles Handelssystem http://www.meta-trader.de/metatrader-euro-racer.htm Das System läuft super,,, ich habe es selbst in der Demo getestet. Einfach mal downloaden und testen Das System handelt nur nachts
Hi, sorry for the stupid question, but pls help me out here: If you have any indicator that consists of 1 line in the chart window, and you want to add standard deviation bands to that line, like Bollinger bands. How do you do this: let's say your buffer that plots your original indicator is named...
[Deleted]
I was mucking around with one of the EA's when thought to myself what if I had a crystal ball way back in July 2002 how much could I have made buy starting with a $500,000 account till July 2008. So I set up the EA with start date 01 July 2002 and end date 06 July 2008. I let it trade in lots of 0.3...
[Deleted]
I'm looking for a script that will Take the High (buy stop script) or the low (Sell Stop Script) of the previous candle. Buy Stop script When the price breaks to the high side 3 pips above the trigger candle's high a stop is placed 5 pips below the low of the same candle. Now this is the previous...
I am investigating if it is possible to write mql code to emulate spread changes in the MT4 Strategy Tester. I assume that Brokers do not manually change spread values and the spread is automatically calculated on the server as trading parameters change. How do Brokers calculate currency pair market...
[Deleted]
When I print out the values for Low[0], Open[0], Close[0], High[0] they contain the same number. It is the open price. If I print out the values for Low[1], Open[1], Close[1], High[1] they are different and correct. Why is that? Has anyone else noticed this?
Deutschen Support und Hilfe zu Thema MetaTrader Host findent man auf der Seite: http://www.meta-trader.de/metatrader-server.htm MetaTrader Host und Hosting alles aus einer Hand. Meta-Trader
[Deleted]
Could someone please tell me how to put the Chart Symbol in an alert I use with an EA? Thanks
Hi there. I've been trying to modify the code: if(TrailingStop>0) { OrderSelect(0,SELECT_BY_TICKET); if(Bid-OrderOpenPrice()>Point*TrailingStop) { if(OrderStopLoss()<Bid-Point*TrailingStop) { OrderModify(OrderTicket(),OrderOpenPrice()...
[Deleted]
I'd like to be able to see the line numbers in meta editor if possible. If you can add the line numbers, where is the option to do so. I've looked for 15 minutes and can't find it! Thanks for helping out a big dumb newb!!!
[Deleted]
I'm trying to learn the ropes by making mistakes apparently. So I only put what would be a realistic amount of money in my demo account - 3000. Well that's pretty much gone. How do I add more money to a demo account without opening a new demo acct? Thanks ~General Newb!
I am very new to MT4 and would be very gratefull if someone can assist me with a simple ea. Entry Buy = RSI > 55, EMA5 > EMA12 Entry Sell = RSI < 45, EMA5 < EMA12 Exit/Stop Loss for both = when RSI crosses 50 in the opposite direction of the trade. Trailing Stop = Adjustable Only one open order at...
[Deleted]
I have a custom indicator that Draw Text on chart(When some conditions met) and i can get it fixed in the low of the bar,(Even when Time frames change) but i can't do the same in the High of the bar, the text is drawn inside the bar, !! I think the problem is that because the text is starting...
[Deleted]
Hi, Thank you for the mql4 platform. It is fascinating but right now I am stuck. I am Testing and cannot get the iWPR and iATR data from an EA to equal D1 %R(14) and ATR(14) charts. I want the EA to make a decision once per day at midnight. // EA Codeint            daylastrun=0;int start()...
[Deleted]
It would be great to have/improve on an order handling module (buy, sell, modify, etc) If you can post yours here, it will help those who are creating experts. And as we create them, we can improve the code and post it here.
How can you code an EA to turn itself off say after it has exited all trades? Thanks C
I wrote this expert advisor for a 1H chart the only problem I have is once the veriable, if(iStochastic(Symbol(),Period(),21,3,3, 0,1,0,0)>=uplimit21) if(iStochastic(Symbol(),Period(),9,3,3, 0,1,0,0)<=downlimit9) is hit and an order is opened and closed if the veriable is still there when the...
Let's say you have finally, after x years, found a winning combination of indicators that works on all timeframes and financial instruments (fx, futures, commodities, indices,...). You have done backtests on multiple timeframes and they all have an all-round off-the-chart performance (let's say 98%...
Hi, I have occasion to look at pervious days data, I drag/scroll back say a couple of days to analyise the data/chart and each time the chart 'ticks' the hole chart moves back to current time/date.....how do I get the screen to stay put? Thanks, Rapid.
[Deleted]
Is it possible to attach an EA to an 1H chart and then use earlier time periods (30M, 15M, 5M) to confirm the formation of buy/sell signals? If so how could this be done?
[Deleted]
Looking forward to reading a bit.
[Deleted]
Hi, I would like to compare current AccountEquity() with AccountEquity() at a specific time in the past (say 12 hours ago). How can I code that? sp
Can someone help me with why my indicator does not supply data for the first bar on my chart. I suspect it has something to do with my array but I cannot figure why the data is delayed one bar.
Hello, i would like to know some opinions about an indicator with these features could work well on stock markets.
[Deleted]
Hello everyone, I would be very pleased if anyone could explain me wether I can place one EA on the same account from different locations, howere EA should trade as there is trading only one robot thus not opening two positions when there is an order and only opening one etc. etc. Idea behind this...
  is this right ?  (2)
the explain for orderstoploss(): Returns stop loss value for the currently selected order. I assume that orderstoploss, orderlot, orderopenprice, ordertakeprofit are set to 0 on defualt then we set the function when we using ordersend() function OrderSend(Symbol(),OP_BUY,lot,Ask,0,Bid-stop*Point...
[Deleted]
I am new in MetaTrader. As i discovered two nice indicators, i saved them to my desktop. I find them on the homepage under "Articles / Trading Systems / Indicator Taichi - a Simple Idea of Formalizing the Values of Ichimoku Kinko Hyo. The two indicators are : Cronex DeMarker.mq4 and Cronex Taichi...
Hello, I find very interesting the Denmark indictator posted here 'Mouteki-Demark trend new' Unfortunately there is no documentation on it and I cannot read he code. Does anybody care to explain how to use it and waht the messages displays on the upper left corner mean? Thank you for any help you...
[Deleted]
Quick question. For simplicity I've avoided normalizing or converting to strings the Ask and Bid variables on the following grounds. All I'm doing is moving Ask or Bid into another double variable, then later doing a compare of Ask or Bid against that variable. No arithmetic operations are done on