MQL4 and MetaTrader 4 - page 823

[Deleted]
d_open=NormalizeDouble(aa,4); d_low=NormalizeDouble(aa,4); d_high=NormalizeDouble(aa,4); d_close=NormalizeDouble(aa,4); d_volume=vv; FileWriteInteger(whFile, Time[zzz], LONG_VALUE); FileWriteDouble(whFile, d_open, DOUBLE_VALUE); FileWriteDouble(whFile,...
Hi all, is there a free trade management EA with a time exit support?. Thanks.
Dear guy. I made a EA. with also loop code for show time left for candle close. code is below. but it is not work perfect. sometime new candle but still countdown, countdown not reset. i want. when new tick come then countdown will be reset and update with main time. and when tick not come then...
Dear friends.. Does any one can give the details from where to get Gann swing oscillator and gann trend oscillator..... Regards Takle
[Deleted]
US DOLLAR TECHNICAL ANALYSIS – Prices rose as expected after putting in a bullish Piercing Line candlestick pattern. A break above range resistance at 10706 targets 10727, the December 19 high, followed by a rising channel top at 10750. Alternatively, a move below range support at 10646 exposes the...
Hi, I'm currently looking for someone who can create an ea using 3 indicators: - FX5 Divergence - RSI Divergence - Stochastic Divergence an Trade should be executed if one of thoose 3 indicators indicates a divergence but stay out if i.e. there is up or down divergence right next to each other. Also
[Deleted]
I'm awful at explaining things. Simply put, my candles for BTC-E and MT4 are wild and unnatural, as shown in the below image! It has larger/smaller wicks and bodies than it does on other platforms such as Tradingview, and bitcoinwisdom. I've tried to search and find answers, but im having no luck....
I find that indicator will recount at least one bar when by "IndicatorCounted()", for example, the code as below from " Alligator " when I attach this indicator into chart, I see as below picture in Experts of Terminal That means for() will be at least run two times, so always the bar before current
  mt4 a Lucky Bag?  (8)
Hi, I wrote an indicator that just has to show some global variables. So I deleted all the stuff of indicatorCounted() in start(), and therefore I want to give the indi.-buffers some initial values in init(): int init()  {   SetIndexBuffer(0,xBuff1e);   SetIndexBuffer(1,xBuff1w);   SetIndexBuffer(2...
I don't know what the ticket means in tester strategy. means an "new" order closed, or other some thing? in tester strategy, I always think Bid is M1's open price minus spread and Ask is M1's open price plus spread, it is ok? Now I am learning DDE of MT4, shall I get some detail files about it,...
[Deleted]
Hello, I m trying to create an ea that will move an horizontal line on the High/Low of the previous candle according to certain condition. the compilation is OK, but the ea doesn't work. void TechnicalAnalysissell(){      if (Close[current+1] <= Close[current+2]  && Volume[current+1] ==...
sometime last closed trade wasn\'t found??????bool GetLastCloseTradeProfit(double &lastClosedPrice, double &lastClosedProfit){   datetime lastClosedTime = 0;   lastClosedProfit=0.0;   //-- Loop history orders   for(int pos=OrdersHistoryTotal() - 1;pos >= 0; pos--)   {      if(OrderSelect(pos...
New article MQL5 Cookbook: Developing a Multi-Symbol Volatility Indicator in MQL5 has been published at mql5.com: In this article, we will consider the development of a multi-symbol volatility indicator. The development of multi-symbol indicators may present some difficulties for novice MQL5...
[Deleted]
Hello, Firstly apologies for my simplistic coding error. A search of some other posts found some help regarding the error but not for my specific question and i have tried a few alternatives. What i want to do is place a buy stop, a specific number of pips away from the ask. Below is where i am at,...
Hi, I have an EA which enters and exits trades on the open of a bar on a 5min chart. If the EA tries to close a trade when my broker's platform is closed (on the weekend and once a day from 12:00am to 12:05am) it fails to close the trade and opens a second trade as if there was no trade open. Only...
When we test EA by strategy tester, is there "Bid","Ask", and so on data on the history tick? and if there is, the gap between "Bid" and "Ask" is what exist on history for some broker? Thank you!
[Deleted]
  Entry Line  (8)
I just switched brokers, does anyone know why the entry line does not shop up when you enter a trade now?
[Deleted]
Hi everybody, I coded many EAs with metaeditor. Today as I was trying to do something with EA reading and writing text files and I launched metaeditor as administrator, under windows 7. It seems it replaced the code inside all my EAs by the code of the MA cross EA given with the software. I got
  Future highs in backtesting  (28   1 2 3)
Hi Im trying to code something for strategy tester but want to get future bars highest Past bars highest is High[iHighest(NULL,0,MODE_HIGH,40,0)]; But future Im not sure how to get it High[iHighest(NULL,0,MODE_HIGH,40,-40)]; That doesnt work. Anybody know anything?
[Deleted]
HI I want to change the date format is down right on the time scale the current size is "2014.01.03 10:30 " to "10:30" only is it possible ? I don't find the property's OBJ_VLINE ... I upload copy screen ... think
Which operative system (of the Windows family) is best (lighter) for MT virtualization? I am also interested to know if there are installation custiomizations or configurations to further reduce its footprint. Purpose of this OS is only to run MetaTrader in a virtual machine, so the smaller ram/cpu...
how can i copy the subscribed signals in my account,, and wwhat does it mean : specify your MQL5 community account in order to subscribe to trading signals
Do MT4 will work on this tablet? Asus VivoTab Smart ME400CL 64GB LTE W8 tablet
what is metaquote id i did not giet it
[Deleted]
hello guys I'm having troubles with one of my indicators which draws rectangles based on higher timeframes candlestick pattern (for example H4 oder Daily) on my M30 opened chart platform for trading. I'm using that indicator for manual trading. The problem is, if I have the M30 timeframe open, the...
[Deleted]
Hi All, Just a quick question, anyone know a neater way of building a filter to restrict/allow new positions based on the day of week, hour and minute? my logic wont work properly in the backtester. It allows trades after the cutoff time,(not good) but it closes all open positions on 'time exit',...
First post - apologies for any newb mistakes! If I run an MT4 back test during the week (i.e when the market is open), I know the current spread is used for the whole run, so there will often be minor differences in the results. If I run the exact same back test during the weekend however (i.e. when...
Here is the very simple code that I used to benchmark how fast is MT4 when working with EA functions: int i=0;int max=15000000;int t0=0;int init() {   //-- test 1   t0=GetTickCount();   for (i=0; i<max; i++) {      int a=1+2;   }   Print("test 1: "+(GetTickCount()-t0)+"ms");      //-- test 2...
It does this now in admin or user account. it happens on two terminal meta editors and one terminal wont open now unless its opened as administrator
  Last Trade!  (5)
Hey Guys, i've built an EA and i want to select the very last closed trade. I've tried everything that is in my skillbox. I've researched the forum and read every function that would help me in the documentary, i can't solve this. I need the ticket of the very last closed Trade, so the EA can differ...