Codes

Example of Heiken Ashi Using Multi Time Frame (MTF) for MetaTrader 4

Example of Heiken Ashi Using Multi Time Frame (MTF)

Bollinger Bands as Support & Resistance for MetaTrader 5

Example of Buy Limit & Sell Limit pending orders with Bollinger Bands

Example of A Simple Breakout Trading Robot for MetaTrader 4

Example of a simple breakout trading robot. There are a lot of breakout methods, but this is the simplest one as I think. Please see the attached images to visualize what is the breakout trading

Example of MACD Automated for MetaTrader 4

Code example of MACD automated with advanced money management function

Example of OnChartEvent() Function for MetaTrader 4

This is a great beginners' example of the function OnChartEvent() & creating objects on the chart to access them for some tasks

Example of SAR Automated - with Advanced Money Management for MetaTrader 4

This example has been built using SAR (Stop And Reverse) indicator with Advanced Money Management function

Example of Commodity Channel Index Automated for MetaTrader 4

Expert Advisor based on Commodity Channel Index (CCI) indicator

Example of Heiken Ashi + SMA Automated for MetaTrader 4

Showing how to trade FX market trend using the (SMA: Simple Moving Average) with the Japanese indicator Heiken Ashi

Example of Stochastic Automated for MetaTrader 4

The main idea of this Expert Advisor is to trade by the basic concept of Stochastic oscillator in its basic parameters, with ability to change these parameters via the EA inputs

Example of RSI Automated for MetaTrader 4

This is my 1st published code, it is very simple code example: RSI 14 (price close) — open buy when it is < 25, close buy when it is > 50, open sell when it is > 75, close sell when it is < 50

Forum

iMA (mql4)

In the shown pic above, Please let us know what is the difference between the (int ma_shift) in the center of function inputs & (int shift) in the last of function inputs ... iMA ( Symbol (), PERIOD_D1 , 14 , 0 , MODE_SMA , PRICE_CLOSE , 0 );

MT4:NormalizeDouble

NormalizeDouble ( Close [ 0 ], 0 ); a simple question please: in order to remove the digits after the . how to get the integer value that will not be modified I am getting 2 for values like 1.6 while I need 1

Always Fail to Publish a MT4 Expert as No Trading Operations!

Hello, I created a trading expert adviser which trading thousands of trades with any broker and any pair. However, when I am publishing in the mql5.com market it is giving some errors let us say error 131 (volume problem - lots) //+------------------------------------------------------------------+

What About Changing My Contact Number To Receive SMS From Mql Site

Hello I am planning to change my phone number to some one else in order to recieve the confirmation SMS for withdrawing some earned money. I am writting this post because of inability of receiving SMS when tryimg to withdraw my money. I tried but seems not possible! Is it possible to change my

Relative vs. Maximal DD

Hi again, In back-tests, usually we see both maximal and relative DD. Which one will be concidered in real time trading (or a copeid signal), maximal or relative DD? Regards

Hidden VPS

Hi Few days ago, I rented a VPS for 6 months. But last Wednesday couldn't find it any more! Contacted the Servise Desk but no access for them except the robot who is programmed to reply a limited number of questions. I am searching my VPS Help me please

Creating a special currency for risk testing porposes

Hi, In mt4, is it possible to add a pair that gets the historical data manually? I hope the question is easy. Regards

ERROR 0 (MT4)

Hello friends, I'm wondering about an error in MT4 . I test one of my personal EAs and in the journal I see an alert: Error 0 Why error 0? This should mean no error, but orders remain unable to open using this robot !!! Constant Value Description ERR_NO_ERROR 0 No error returned. Any share anyone

Can someone help, I want a 4 digits broker

Hello, Can someone help, I want a 4 digits broker. Regards

ERROR 4107

Hello, I have an EA and this error (4107). Please if any one can help I would be glad. The error 4107 for OrderSend() function is disturbing me .. Note that it passed the Market Auto-Validation successfully with no error(s) in addition, It is trading on back test & real time with no error(s). It is