Encerrado

i want to build a automatic trading platform for financial markets on metatrader platform

i want to build a automatic trading platform for financial markets on metatrader platform. it is called an expert advisor. download metatrader 4 and check the metaeditor for the language.

sample code

//+------------------------------------------------------------------+

//| MACD [url removed, login to view] |

//| Copyright 2005-2014, MetaQuotes Software Corp. |

//| [url removed, login to view] |

//+------------------------------------------------------------------+

#property copyright "2005-2014, MetaQuotes Software Corp."

#property link "[url removed, login to view]"

input double TakeProfit =50;

input double Lots =0.1;

input double TrailingStop =30;

input double MACDOpenLevel =3;

input double MACDCloseLevel=2;

input int MATrendPeriod =26;

//+------------------------------------------------------------------+

//| |

//+------------------------------------------------------------------+

void OnTick(void)

{

double MacdCurrent,MacdPrevious;

double SignalCurrent,SignalPrevious;

double MaCurrent,MaPrevious;

int cnt,ticket,total;

//---

// initial data checks

// it is important to make sure that the expert works with a normal

// chart and the user did not make any mistakes setting external

// variables (Lots, StopLoss, TakeProfit,

// TrailingStop) in our case, we check TakeProfit

// on a chart of less than 100 bars

//---

if(Bars<100)

{

Print("bars less than 100");

return;

}

if(TakeProfit<10)

{

Print("TakeProfit less than 10");

return;

}

//--- to simplify the coding and speed up access data are put into internal variables

MacdCurrent=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0);

MacdPrevious=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,1);

SignalCurrent=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0);

SignalPrevious=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,1);

MaCurrent=iMA(NULL,0,MATrendPeriod,0,MODE_EMA,PRICE_CLOSE,0);

MaPrevious=iMA(NULL,0,MATrendPeriod,0,MODE_EMA,PRICE_CLOSE,1);

total=OrdersTotal();

if(total<1)

{

//--- no opened orders identified

if(AccountFreeMargin()<(1000*Lots))

{

Print("We have no money. Free Margin = ",AccountFreeMargin());

return;

}

//--- check for long position (BUY) possibility

if(MacdCurrent<0 && MacdCurrent>SignalCurrent && MacdPrevious<SignalPrevious &&

MathAbs(MacdCurrent)>(MACDOpenLevel*Point) && MaCurrent>MaPrevious)

{

ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,Ask+TakeProfit*Point,"macd sample",16384,0,Green);

if(ticket>0)

{

if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES))

Habilidades: Programação C

Ver mais: programming symbol, programming language speed, programming for money, mql4 programming software, money for programming, metatrader 4 programming, metatrader 4 expert advisor programming, make a programming language, make a chart, i want to code, int i, expert advisor programming for metatrader 4, expert advisor free, coding for money, build it green, automatic programming, less than 1 symbol, the financial expert, want to build, metaquotes, IMA, i want to make, financial programming, financial markets, financial advisor

Acerca do Empregador:
( 0 comentários ) India

ID do Projeto: #6834513

4 freelancers estão ofertando em média ₹8611 para este trabalho

SeregaLykov

Hello, I can create the EA for you. I am the programmer for MetaTrader from 2004 year. Please, describe in details your trading strategy. You can go to my profile and see ~40 feedbacks about my programming job Mais

₹7777 INR in 3 dias
(13 Comentários)
5.1
ohboyel

Hi, Please give me more details regarding your strategy. I have over a decade of experience in coding trading systems, and spent the last 7 years focused on developing in mql4/5 for the metatrader platform. Altho Mais

₹12222 INR in 8 dias
(1 Comentário)
3.6
josephla400

I bid EA for MT4/MT5 all these 6 years and can you let me know what you want to made and I am sure can get a very quality EA write for you.

₹8888 INR in 3 dias
(1 Comentário)
2.2
pasnem

i have experience in metatrader and mq4 programming... i am programmer and work for IT company in my country.. if you serious for this job.. i can handle it shortly... please chat for details about your project

₹5555 INR in 3 dias
(0 Comentários)
0.0