- enero 7, 2014
- publicado por: Equipo Wiki de Forex
- Categoría: Asesor experto
Nombre: |
|
||
Autor: | A mí (2011.05.10 10:06) | ||
descargado: | 4048 | ||
Descargar: |
|
||
Descripción:Este es el primer EA que estoy proporcionando para que todos lo vean y trabajen en él.. esto es escrito por mi. Este EA debe usarse en EURUSD 15min con un capital inicial de $1000. Si ejecuta este EA desde el 14 de enero 2011 till today, you might find profit with good profit%. Recomendaciones:
|
|||
tg2007:
This is source code modified. Please run this as long from 01/16 till today or whenever you download it and be amazed. Yes the risk /reward is not great. Sin embargo, look at the percent won and the graphs. However also note that the total trade # es bajo. Hence dont expect a trade right away. Maybe a few trades (menos que 5) a month can be expected. int inicio() { devolver(0); } int deinit() { devolver(0); } inicio int() { int total = OrdersTotal(); si (OrdersTotal() < 1) // I wont open more than 1 trade per time. si(Hora() > 8 && Hora() < 17) //Will trade during volatile times when people are usually awake if( iMACD(NULO,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0) > iMACD(NULO,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) ) si ( ( (iMA(NULO,15,3,0,MODE_EMA,PRICE_MEDIAN,0)) < (iMA(NULO,15,34,0,MODE_EMA,PRICE_MEDIAN,0))) && (iSAR(NULO, 15, 0.02, 0.2, 0) > Alto[0]) && ( iBearsPower(NULO,15,13,PRICE_CLOSE,0) < 0 && iBearsPower(NULO,15,13,PRICE_CLOSE,0) > iBearsPower(NULO,15,13,PRICE_CLOSE,1))) OrderSend(Símbolo(),OP_SELL,0.1,Licitación,10,Bid+400*Point,Bid-4000*Point,"Open a Sell Order",16384,0,Rojo); // Risk/Reward sucks here.. si (OrdersTotal() < 1) // I wont open more than 1 trade per time. si(Hora() > 8 && Hora() < 17) //Will trade during volatile times when people are usually awake //If the prices are within Boil Band and EMA 3,34 crossover in favor and BullsPower in favor, then trade in buy if( iMACD(NULO,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0)< iMACD(NULO,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) ) si( (Alto[1] < iBands(NULO,0,20,2,0,PRICE_LOW,MODE_UPPER,1)) && (Alto[2] < iBands(NULO,0,20,2,0,PRICE_LOW,MODE_UPPER,2))) si ( (iMA(NULO,15,3,0,MODE_EMA,PRICE_MEDIAN,0) > iMA(NULO,15,34,0,MODE_EMA,PRICE_MEDIAN,0) ) && (iSAR(NULO, 15, 0.02, 0.2, 0) < Bajo[0])&&( iBullsPower(NULO,15,13,PRICE_CLOSE,0) > 0) && (iBullsPower(NULO,15,13,PRICE_CLOSE,0) < iBullsPower(NULO,15,13,PRICE_CLOSE,1))) OrderSend(Símbolo(),OP_BUY,0.1,Ask,10,Ask-4000*Point,Ask+400*Point,"Open a Buy Order",16384,0,Verde);// Risk/Reward sucks here.. } Start testing with 1000USD EURUSD M15 21.05.2011 10:49 tg2007
This is source code modified. Please run this as long from 01/16 till today or whenever you download it and be amazed. Yes the risk /reward is not great. Sin embargo, look at the percent won and the graphs. However also note that the total trade # es bajo. Hence dont expect a trade right away. Maybe a few trades (menos que 5) a month can be expected.
int inicio() { devolver(0); } int deinit() { devolver(0); } inicio int() { int total = OrdersTotal(); si (OrdersTotal() < 1) // I wont open more than 1 trade per time. si(Hora() > 8 && Hora() < 17) //Will trade during volatile times when people are usually awake if( iMACD(NULO,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0) > iMACD(NULO,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) ) si ( ( (iMA(NULO,15,3,0,MODE_EMA,PRICE_MEDIAN,0)) < (iMA(NULO,15,34,0,MODE_EMA,PRICE_MEDIAN,0))) && (iSAR(NULO, 15, 0.02, 0.2, 0) > Alto[0]) && ( iBearsPower(NULO,15,13,PRICE_CLOSE,0) < 0 && iBearsPower(NULO,15,13,PRICE_CLOSE,0) > iBearsPower(NULO,15,13,PRICE_CLOSE,1))) OrderSend(Símbolo(),OP_SELL,0.1,Licitación,10,Bid+400*Point,Bid-4000*Point,"Open a Sell Order",16384,0,Rojo); // Risk/Reward sucks here.. si (OrdersTotal() < 1) // I wont open more than 1 trade per time. si(Hora() > 8 && Hora() < 17) //Will trade during volatile times when people are usually awake //If the prices are within Boil Band and EMA 3,34 crossover in favor and BullsPower in favor, then trade in buy if( iMACD(NULO,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0)< iMACD(NULO,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0) ) si( (Alto[1] < iBands(NULO,0,20,2,0,PRICE_LOW,MODE_UPPER,1)) && (Alto[2] < iBands(NULO,0,20,2,0,PRICE_LOW,MODE_UPPER,2))) si ( (iMA(NULO,15,3,0,MODE_EMA,PRICE_MEDIAN,0) > iMA(NULO,15,34,0,MODE_EMA,PRICE_MEDIAN,0) ) && (iSAR(NULO, 15, 0.02, 0.2, 0) < Bajo[0])&&( iBullsPower(NULO,15,13,PRICE_CLOSE,0) > 0) && (iBullsPower(NULO,15,13,PRICE_CLOSE,0) < iBullsPower(NULO,15,13,PRICE_CLOSE,1))) OrderSend(Símbolo(),OP_BUY,0.1,Ask,10,Ask-4000*Point,Ask+400*Point,"Open a Buy Order",16384,0,Verde);// Risk/Reward sucks here.. } 21.05.2011 10:44 tg2007
Can anyone help me with this? Why is this not trading live?
17.05.2011 14:35 tg2007
I am not entirely sure either. WHen I run this on backtest, it does trade nicely. However on real test no trade
17.05.2011 14:28 tg2007
EA compiles OK, but I get no trades at all. Even if I lengthen the time. Thanks anyway, I needed a simple EA to get me writing my own. I think I have problems with my proxy server and the strategy tester :(.
|