molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming
http://www.molanis.com/forum/

Apertura de 3 ordenes con diferentes condiciones y lotes
http://www.molanis.com/forum/viewtopic.php?f=18&t=6070
Page 1 of 1

Author:  gusssan [ Mon Sep 08, 2014 11:02 am ]
Post subject:  Apertura de 3 ordenes con diferentes condiciones y lotes

Hola en primer lugar felicitaros por este software que nos abre muchas posibilidades a muchas personas que nos gusta el forex y la programacion.

Segundo lugar me gustaria poder hacer lo siguiente.

Un indicador por ejemplo stocastico,
si stocastico<20 abre una posicion 1 lote
sigue cayendo
stocastico<10 abre otra nueva posiciono 2 lotes
sigue cayendo
stocastico<5 abre otra posicion 5 lotes

y se salga cuando el balance de todas esas ordenes sea > $+10

seria posible, Muchas gracias.

Pd.: he puesto "CalculateOpenPositions(Symbol(),OP_BUY,MagicNumberLong)<1" en mql+ pero me da un error, si pudierais ediatar el ejemplo seria genial.

Attachments:
File comment: stocastico 3 entradas
35.mol [10.92 KiB]
Downloaded 1387 times

Author:  admin [ Mon Sep 08, 2014 3:35 pm ]
Post subject:  Re: Apertura de 3 ordenes con diferentes condiciones y lotes

Please post in the Spanish forum to get support in Spanish. it is here viewforum.php?f=17
Por favor post en el foro en Espanol y no en este foro. El foro esta aca viewforum.php?f=17

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/