Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

Metatrader 4 – Simple Expert Advisor for Algomojo Platform

1 min read

Thought of writing a simple expert advisor for Metatrader 4 to send automated orders from MT4 to Algomojo – Cloud-Based Trading Platform. This tutorial provides a basic framework for implementing expert advisor and setup guidelines to automate their trades with Algomojo Platform.

Supported Brokers: Angel Broking, Alice blue, Firstock, Tradejini, Mastertrust, Zebu

What is an Expert Advisor?

Expert Advisors are nothing but a trading program that performs prompt technical analysis of price data and manage to place orders automatically on basis of trading signals generated.

Here is a simple Moving Average Expert Advisor which simple technical conditions. Buy above the 10 period Moving Average and Sell below the 10 periods Moving Average.

Installaling the Expert Advisor

  1. Download the Simple Expert Advisor
  2. Unzip the Downloaded file Copy the relevant expert advisor files (.mq4 and .ex4 files)
  3. Open the Metatrader 4 -> Goto File -> Open Data Folder
  4. Navigate to Experts folder and paste the .mq4 and .ex4 files here

5)Once copy and pasted the ex4 files of the relevant broker files restart MT4 to use the Expert Advisor

Configuring Expert Advisor

Configuring Expert Advisor for automated trading is very easy. Just one has to drag and drop the Expert Advisor on top of the chart (i.e the symbol one needs to automate) and check the Allow Live Trading and Allow DLL imports under the common tab of Expert Advisor as shown below

Now go to the inputs tab and Configure the API Key, API secret key and other order related parameters from the input tab and press okie to kickstart automated trading

From the downloaded zip file, one can extend their trading ideas to build their own Expert Advisor and very soon more innovative expert advisors one can expert from the Algomojo Community.

More Interested in Learning about Metrader 4 and Algomojo Trade Automation. Join the free course here to learn more about MT4 based automated trading

Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

Send Smart Options Execution Orders from Futures or Spot…

This tutorial provides instructions on how to utilize simple buy and sell trading signals in Spot/Future charts to place option orders (including ATM, ITM,...
Rajandran R
11 min read

Algomojo Autocancellation of Limit Orders After N seconds

In this tutorial, I'm going to demonstrate how to use Amibroker AFL code to perform auto cancellation of limit order after N...
Rajandran R
3 min read

How to Squareoff All OpenPositions using Tradingview – Automation…

One of the most demanded requests from Tradingview-based automated traders is how to square-off all open positions when a particular time is reached. There...
Rajandran R
1 min read

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More