
Posts made by diazoviedo
-
RE: How to obtain (Ticket Number) of closed order?posted in Questions & Answers
The "ticket" refers to the unique identifier assigned to each trading operation in MetaTrader 5 (MT5). It is generated whenever a position is opened, modified, or closed. This unique identifier allows precise tracking of each operation and is used to reference specific operations in functions and queries.
For example, when opening a new position, the returned "ticket" can be subsequently used to modify or close that specific position.
-
RE: Una sola operacion por cruceposted in Questions & Answers
Poner arriba del todo el Bloque "NoTrade" o "Notrade/order"
-
RE: EA wont set TP and SL....posted in Questions & Answers
@matic-0 you have to sum a value of "price" to the ATR because the ATR value is a price fraction not a price, so in order to structure the TP price you need to formulate Close or Open or any price plus ATR or minus depend of what to want to calculate. https://bit.ly/3z4OskH
-
No compila hay algún problema con la plataforma?posted in Bug Reports
ERROR EX4 no compila me da error constantemente
no me compila que pasa? -
RE: doubt with "for each closed trade" and with "loop (pass" n "times)"posted in Questions & Answers

You don´t need to use the block Loop because For each Close Trade is a looping block, so this block loops through all trades that matches the filter settings. So if you want to catch the last 3 trades just put the number in Not More Tahn n history trades, Try... -
RE: almacenar datos de tiempo en variableposted in Bug Reports
@cristian-0 correcto..el metatrader da muchos errores en ejecución en la vida real, la entrada de los ticks, las fluctuaciones de internet, en fin..usa siempre once per bar y muy útil el bloque rosa "check age" para el control de las velas en relación con el tiempo y las aperturas o cierres de operaciones.
-
RE: Candle by timeposted in Questions & Answers
Pero cual es el objetivo de almacenar el valor del tiempo de la vela anterior?, no entiendo, para que quieres saberlo, si usas los filtros de tiempo (Time Filter) y Once per bar es más cómodo para trabajar las aperturas y cierres de velas que por ticks que dan muchos errores.
si quieres saber mas: mira mi curso de introdución a fxdreema -
RE: Custom Trailing Step true Break even offset?posted in Questions & Answers
The concept of Breakeven is to move the StopLoss to the entry price once certain profit pips are reached, so it does not move twice, only once, to move the stop use the modifystops block or trailingstop block but, to avoid conflict between them you must start moving the stop from certain pips above the breakeven because the price moves in waves.
In order to know more visit -
RE: almacenar datos de tiempo en variableposted in Bug Reports
Tienes que usar una función de mql4, he aquí la solución
datos de tiempo en una variable
Introducción Fxdreema -
Como hacer cierre por velasposted in Questions & Answers
como cerrar una operacion despues de n velas abierta?
-
How to calculate the Donchian Cannels Formula?posted in Questions & Answers
 HOW TO CALCULATE THE DONCHIAN CHANNEL FORMULA AND COMPARE THE CANDLES WITH LEVELS?
-
why? the expert opens positiones if there are no crosses of moving averageposted in Bug Reports
My expert open position if there is not ma cross, wy?
Who can help me?
 -
RE: Detect Time Frameposted in Questions & Answers
thanks i understand, but how can do in order tha the ea do not work in 4h and diari tf, example...where to put the blocks?
-
Detect Time Frameposted in Questions & Answers
Help Please, what blocks can i use in order to the EA detect automaticaly the TF that is runing?
-
RE: VARIABLESposted in Questions & Answers
yo tampoco se como se usan, las constantes si, son las que se pueden cambiar en la optimizacion pero tengo entendido que las variables son las que se se pueden cambiar dentro del codigo del programa, como los contadores, n=0,, n=n+1
-
RE: LOS EAS ME DAN PERDIDAS EN FORWARD Y REALposted in Questions & Answers
@luisri Lo mismo me pasa a mi, el problema está en que los brokers te colocan los datos en la plataforma que ellos quieren. He leído por ahí que los datos que tenemos en la plataforma de mt4 tienen un delay de 15 min, por lo que están atrasados, asi las cosas, los datos en tiempo real son perfectamente manipulables. Ellos te dicen que replican los datos que obtienen de los proveedores de datos de la bolsa de futuros, pero a ciencia cierta no se sabe. Yo hago backtest en mt4 tick a tick y con el método de apertura de barras y no me dan igual. Inclusive he hecho algún que otro bacttest de 10 años atrás a las 14:00 y lo he realizado otra vez a las 14:30 y no me dan igual. no se como va esto pero lo cierto es que hay que recurrir en estos casos a los soft de pago que tienen los datos reales de las cotizaciones.
También he aprendido que primero la estrategia hay que probarla en forex tester para despues hacer el backtest. Un saludo...
No te canses..