Wednesday, 18 May 2011

Email Setup in MT4 (Gmail) - The Easiest Way

The Problem:
It's impossible to send email from MT4 using gmail smtp because MT4 doesn't support SSL Authentication

The Solution:
Set Up a STUNNEL proxy on a computer http://www.stunnel.org/

Stunnel is really simple to use in this configuration especially with Gmail. Will work with any email server.

For Windows Users download the: stunnel-4.36-installer.exe. This program is really small (700KB)

Once downloaded run the installer. Then browse to this directory: C:\Program Files\stunnel

Inside you will find a file called: stunnel.conf. Open this with NOTEPAD

Change it to the following for Gmail then SAVE.
-- begin stunnel.conf --
cert = stunnel.pem
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
client = yes
[pop3s]
accept  = 110
connect = pop.gmail.com:995
[imaps]
accept  = 143
connect = imap.gmail.com:993
[ssmtp]
accept  = 25
connect = smtp.gmail.com:465
-- end stunnel.conf --

Now Stunnel is READY.

Just click START, PROGRAMS, STUNNEL, RUN STUNNEL

To automate every time the computer turns off just create a shortcut of RUN STUNNEL then paste this shortcut into the STARTUP folder.

Once Stunnel is running you will see the ICON next to the clock on the taskbar.

Now you only have to configure the email in MT4

Friday, 28 January 2011

MTF Trend Display NLMA


This Indicator show the Trend using NLMA

Download TrendDisplayNLMAv1.00.mq4
Download NonLagMA_v7.1.mq4

Thursday, 13 January 2011

Jedit

I've been using Metatrader editor for a year now but i've never liked it.
So for a long time i've been searching for an alternative editor but none have the proper syntax highlighting, i know that mql4 syntax is similar to C syntax but you lose the highlighting for Mql4 Standard Constant, Trade Operations etc.
So a couple of days ago I started to write the syntax highlighting mode for Jedit.
I've chosen Jedit because it's cross platform and extremely customizable code editor.
This is the view of Jedit with mql4 mode.
I've also attached the syntax highlighting mode for mql4.
Download mql4.xml