Boa tarde, na minha opinião, é um ótimo EA. Pelo menos visualmente e nos testes é bom. Estou testando-o por enquanto. Pergunta. Eu entendi corretamente que o cruzamento de linhas na abertura de posições é considerado por você no fechamento do candle? Ou qualquer cruzamento, mesmo dentro do período do candle, é considerado?
Boa tarde! Por favor, torne possível o download imediato do EA no MetaTreider 5
Por algum motivo, a coruja não está funcionando(((
Um dos EA bem escritos, em uma boa ordem,
Se alguém estiver procurando por um código bem escrito, compre este,
Muito obrigado ao autor,
Ainda me pergunto por que os outros não comentam sobre esse EA.
encontrar algum erro na nova versão do mql5 alguém pode corrigir isso
void OnTick() { bool pos=PositionSelect(Symbol()); if(!pos || (pos && (use_Averaging || Position_overturn))) { datetime Now_time[1]; int coptTime=CopyTime(Symbol(),NULL,0,1,Now_time); if(Now_time[0]>_time && coptTime!=-1) { int type=-1; double propn=0,prev_lot=0; if((use_Averaging || Position_overturn) && pos) { prev_lot=PositionGetDouble(POSITION_VOLUME); type=(int)PositionGetInteger(POSITION_TYPE); if(type==0 && prev_open!=0) propn = prev_open-SymbolInfoDouble(Symbol(),SYMBOL_ASK); if(type==1 && prev_open!=0) propn = SymbolInfoDouble(Symbol(),SYMBOL_BID)-prev_open; } ArrayInitialize(high_extr,0); ArrayInitialize(low_extr,0); int cop1 = CopyBuffer(handle_MALR,3,1,2,high_extr); int cop2 = CopyBuffer(handle_MALR,4,1,2,low_extr); if(cop1==2 || cop2==2 || high_extr[0]>0 || high_extr[1]>0 || low_extr[0]>0 || low_extr[1]>0) { double close[2]; int copy_close = CopyClose(Symbol(),NULL,1,2,close); if(copy_close==2) { if(high_extr[0]<=close[0] && high_extr[1]>=close[1]) { if(Position_overturn) { if(type==0) { if(close()) { if(!open(1,prev_lot,3)) return; } _time=Now_time[0]; return; } if(!use_Averaging && pos) { _time=Now_time[0]; return; } } if(use_Averaging) { if(type!=-1) { if(type==1 && propn>=loss_forAveraging*point && propn!=0) if(!open(1,prev_avlot,2)) return; } else if(!open(1,0,1)) return; _time=Now_time[0]; return; } else { if(!open(1,0,1)) return; } } if(low_extr[0]>=close[0] && low_extr[1]<=close[1]) { if(Position_overturn) { if(type==1) { if(close()) { if(!open(0,prev_lot,3)) return; } _time=Now_time[0]; return; } if(!use_Averaging && pos) { _time=Now_time[0]; return; } } if(use_Averaging) { if(type!=-1) { if(type==0 && propn>=loss_forAveraging*point && propn!=0) if(!open(0,prev_avlot,2)) return; } else if(!open(0,0,1)) return; _time=Now_time[0]; return; } else { if(!open(0,0,1)) return; } } _time=Now_time[0]; } } } else return; }
Você está perdendo oportunidades de negociação:
- Aplicativos de negociação gratuitos
- 8 000+ sinais para cópia
- Notícias econômicas para análise dos mercados financeiros
Registro
Login
Você concorda com a política do site e com os termos de uso
Se você não tem uma conta, por favor registre-se
EA_MALR:
Expert Advisor desenhado a partir do indicador MALR. Estão disponíveis as funções de trailing stop, aumento de lote, de média e de reversão.
Autor: Alexander Puzikov