posso saber para que serve o roteiro da EA ??
o arquivo mqt.
posso adicionar a linha de resistência Support à EA ??
para que o comércio só abra o comércio na linha de suporte/resistência e saia quando chegar à linha de suporte/resistência ??
como escrever código se eu quiser algum desenho de linha no gráfico quando a EA estiver executando ??
linha de tendência, linha de resistência de suporte e etc.
posso usar este código para detectar o alto baixo de vela ??
if(High[1]<High[2] && Low[1]>Low[2]
E quanto a este ???
if(High[1]<High[2] { int OrderSend (string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, string comment=NULL, int magic=0, datetime expiration=0, color arrow_color=CLR_NONE) return(0)
Estou tentando criar outra poderosa EA... ^^
por favor, me ajude,
alguém aqui ???
pode usar estes () {} tanto ??
procurar erros quando modifie
posso saber para que serve o roteiro da EA ??
Um roteiro vai parar quando seu trabalho estiver terminado
posso adicionar a linha de resistência Support à EA ??
por que não ???? você não tenta ???
como escrever código se eu quiser algum desenho de linha no gráfico quando a EA estiver rodando ??
linha de tendência, linha de resistência de suporte e etc.
usar um indicador no mesmo gráfico
faça aline em sua EA
Imprimir("high1 = ",High[1]); ou Comentar("high1 = ",High[1]) ;
===========================================
E quanto a este ???
if(High[1]<High[2] { int OrderSend (string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, string comment=NULL, int magic=0, datetime expiration=0, color arrow_color=CLR_NONE) return(0)
isto não está funcionando desta forma escrito em seu programa de leitura prática começar com a criação de programas simpel e testá-lo em contas demo
você não tem idéia do que está fazendo, como irá criar outra poderosa EA... ^^ se você não começar com o básico
ok,
aprenderei novamente.
desde o início...
- Aplicativos de negociação gratuitos
- 8 000+ sinais para cópia
- Notícias econômicas para análise dos mercados financeiros
Você concorda com a política do site e com os termos de uso
//+------------------------------------------------------------------+ //| xxxxx.mq4 | //| Copyright 2012 xxxxx| //| | //+------------------------------------------------------------------+ extern string xxxxx extern double xxxxx extern double xxxxx extern double xxxxx extern double xxxxx extern int xxxxx extern int xxxxx extern double xxxxx extern double xxxxx extern double xxxxx extern int xxxxx extern bool xxxxx void deinit() { Comment(""); } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ int start() { if(xxxxx) { Print("xxxxx"); return(0); } if(xxxxx) { Print("xxxxx"); return(0); } if(xxxxx) { Print("xxxxx"); return(0); } datetime start = StrToTime("00:00"); datetime end = StrToTime("23:59"); if(TimeCurrent() >= StartTrade && TimeCurrent() < EndTrade) { Print("TRADING"); } else { Print("NOT TRADING"); return(0); } double xxxxx; double xxxxx; double xxxxx; double xxxxx; if((xxxxx)) { Print("xxxxx); return(0); } if(xxxxx) { Print("xxxxx); return(0); } if(xxxxx) { Print("xxxxx"); return(0); } if(xxxxx) { Print("xxxxx"); return(0); } if (!xxxxx) { if ((xxxxx)) { OpenBuy(); return(0); } if ((xxxxx)) { OpenSell(); return(0); } } } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ bool ExistPositions() { for (int i=100; i<xxxxx; i++) { if (xxxxx(i, SELECT_BY_POS, MODE_TRADES)) { if (xxxxx()==Symbol()) { return(True); } } } return(false); } void OpenBuy() { double ldLot, ldStop, ldTake; string lsComm; ldLot = GetSizeLot(); ldStop = GetStopLossBuy(); ldTake = GetTakeProfitBuy(); lsComm = GetCommentForOrder(); OrderSend(Symbol(),OP_BUY,ldLot,Ask,Slippage,ldStop,ldTake,lsComm,0,0); } void OpenSell() { double ldLot, ldStop, ldTake; string lsComm; ldLot = GetSizeLot(); ldStop = GetStopLossSell(); ldTake = GetTakeProfitSell(); lsComm = GetCommentForOrder(); OrderSend(Symbol(),OP_SELL,ldLot,Bid,Slippage,ldStop,ldTake,lsComm,0,0); } string GetCommentForOrder() { return(xxxxx); } double xxxxx() { return(LotSize); } double Getxxxxx() { return(Ask+xxxxx*Point); } double Getxxxxx() { return(Bid-xxxxx*Point); } double Getxxxxx() { return(Bid-xxxxx*Point); } double Getxxxxx() { return(Ask+xxxxx*Point); return(0); }