Bot para Forex. Boteris, versión 1

4개월 전

¡Hola steemeros!

I am starting to make a bot for forex, using moving averages. The strategy that I am applying right now is simple but practical.

The bot will be tested with currencies. And they will be:

  • EURAUD
  • EURUSD
  • EURCAD
  • EURGBP
  • AUDUSD
  • AUDNZD
  • AUDJPY
  • AUDCAD
  • NZDUSD
  • GBPJPY
  • GPBUSD
  • USDCHF
  • USDJPY

MQL4 language for MT4.

Technique:

  • Determine trend (up or down) in time of 4H
  • If the price is close to 20 points of the Exponential Moving Average of 100 in timeframe of 1H
  • If the trend is bullish, open a long position
  • If the trend is bearish, open a short position

Entry

  • Limit entry order at 45 points of the current price.

Exit

  • Take Profit: calculated proportionally to the lot of the operation: LoteOrden * 30 / 0.05;
  • Trailing Stop: Yes. It activates at 25% of the set TP. Distance: 5 points away from the last candle closed in Temporality of 5M.
  • SL: No, not for now. I want to see the development of the bot to evaluate it with open orders.

Code to determine if an entry is made long or short


image.png
Functin EMA100_Cercano


image.png


image.png
This is how I left the bot operating on its first night

Tomorrow I will leave in the comments how the result of the bot is going.

I await your comments.

📈📈📈📈📈📈📈📈📈📈📈📈📈📈📈📈📈📈📈📈📈📈📈📈📈

Resultado del bot en las últimas 24 horas
Martes 3/11/2020

It went down to - $ 46, because I didn't deactivate the SL, I thought I did but no I left it active.

In the afternoon I deactivated it and the bot recovered its balance and it goes for $ 56.

Orders open at - $ 21.

Martes 3/11/2020
2020-11-03_22-28-09.png

I adjusted for the entry to be when the price is 20 points instead of 30 from the 100 SMA.

Tomorrow I will report again the next 24 hours.

I await your comments....



Modo: 100% POWER UP
Modo: 100% POWER UP
Modo: 100% POWER UP




A verlos steemeros!!
Steemeros.png


Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
STEEMKR.COM IS SPONSORED BY
ADVERTISEMENT
Sort Order:  trending

Very good initiative, but I suggest that if you want to get support from PH, you read the rules we have in the community, and that please publish your content in English to be taken into account I'm sure you will like to participate here and I encourage you to do so.

#Piotr

·

Thanks.
I do that.

·

Agregué resultado hoy Martes 3/11/2020

Genial, primera vez que leo aqui en steemit que alguien haga un bot para forex, he estado estudiando mucho para meterme con forex y me llama mucho la atención de tu bot, estaré muy pendiente de tus progresos mucha suerte con el, espero podamos hablar mas adelante sobre ello, saludos.

·

Me alegro ser el primero en un tema aquí en Steemit.

Claro, estoy dispuesto a compartir y debatir sobre este tema, cualquier cosa estoy a la orden.

#onepercent #venezuela #affable

·

Agregué resultado hoy Martes 3/11/2020

Resultado del bot en las últimas 24 horas.

Bajó a -$46, debido a qué no desactivé el SL, pensé que lo había hecho pero no, lo había dejado activo.

En la tarde lo desactivé y el bot recuperó saldo y va por $56.

Órdenes abiertas en -$21.

2020-11-03_22-28-09.png

Hice un ajuste para que la entrada sea cuando el precio esté a 20 puntos en lugar de 30 de la media móvil de 100.

Mañana informaré nuevamente las próximas 24h.

Espero sus comentarios....