- Início
- Comunidade
- Sistemas de Negociação
- Maple Leaf EA
Maple Leaf EA (Por 4xFreeway)
O utilizador eliminou este sistema.
Edit Your Comment
Maple Leaf EA Discussão
Apr 05, 2011 at 20:52
(editado Apr 05, 2011 at 20:56)
Membro Desde Apr 04, 2011
66 posts
Hi Can you explain the strategy a bit. I was thinking of buying this EA because the DD is so low - but why are there a couple of trades at 2 full lots when the rest are at 0.1. Seems like a recovery trade, what happens when the 2 lot trade hits SL, a 4 lot trade?...this seems a lot riskier than I thought. Thanks for your help, KK
Membro Desde Feb 16, 2010
1332 posts
Apr 05, 2011 at 22:18
(editado Apr 05, 2011 at 22:18)
Membro Desde Feb 16, 2010
1332 posts
Grid/martingale elements, beware! That's why there's only a demo, losing a demo account doesn't hurt.
"In trading, winning is frequently a question of luck, but losing is always a matter of skill."
Apr 05, 2011 at 22:43
Membro Desde Apr 04, 2011
66 posts
Thanks Solar, I was hoping for the EA author to respond but maybe you can help - what do you see that makes you think it is a grid / martingale strategy? Yes it doesn't show much faith if its only demo - that's true. Lets hope the author responds to this.
Apr 07, 2011 at 08:24
(editado Apr 07, 2011 at 08:26)
Membro Desde Nov 27, 2010
244 posts
extern bool EquityStopLoss = TRUE;
extern double EquityPercent = 30; //30%
Start(){
if(EquityStopLoss&&1-AccountEquity()/AccountBalance()>EquityPercent/100)CloseAll();
}
void CloseAll(){ //Close all orders
bool result=false;
for(int i=OrdersTotal()-1;i>=0;i--){
OrderSelect(i,SELECT_BY_POS,MODE_TRADES);
if(OrderSymbol()!=Symbol())continue;
if(OrderMagicNumber()!=Magic)continue;
result=OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),Slippage,Blue);
if(result==false){
Print('CloseAll failed with error#',GetLastError());
continue;
}
}
}
-------------------------
Not to be used in conjunction with other EA's or manual positions as their floating DD/profit will contribute to the AccountEquity() and AccountBalance(), making it skewed. For that AccountEquity() and AccountBalance() would have to be loggged at the opening of the 1st position.
Edit: Indenting does not work. Sorry about the hard read.
extern double EquityPercent = 30; //30%
Start(){
if(EquityStopLoss&&1-AccountEquity()/AccountBalance()>EquityPercent/100)CloseAll();
}
void CloseAll(){ //Close all orders
bool result=false;
for(int i=OrdersTotal()-1;i>=0;i--){
OrderSelect(i,SELECT_BY_POS,MODE_TRADES);
if(OrderSymbol()!=Symbol())continue;
if(OrderMagicNumber()!=Magic)continue;
result=OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),Slippage,Blue);
if(result==false){
Print('CloseAll failed with error#',GetLastError());
continue;
}
}
}
-------------------------
Not to be used in conjunction with other EA's or manual positions as their floating DD/profit will contribute to the AccountEquity() and AccountBalance(), making it skewed. For that AccountEquity() and AccountBalance() would have to be loggged at the opening of the 1st position.
Edit: Indenting does not work. Sorry about the hard read.
Consistency above all.
*Uso comercial e spam não serão tolerados, podendo resultar no encerramento da conta.
Dica: Postar uma imagem/URL do YouTube irá incorporá-la automaticamente no seu post!
Dica: Insira o sinal @ para preencher automaticamente um nome de utilizador que participe nesta discussão.