@lanrayy That is a more complex structure to do. You will need a whole group of variables controllong the stato of those possible scenarios. Certainly an ambitious project.
Posts made by l'andorrà
-
RE: How to Use Martingale On Child's Tradesposted in Questions & Answers
-
RE: How I can closeposted in Questions & Answers
@khalids222 Do you mean this is always like:
Newest most profitable buy and oldest most losing trade to be closed? If so, yes you will need a custom code by a programmer.
-
RE: EA is not working the same in backs testing and demo account in MT5posted in Questions & Answers
@sosel I replied to your previous thread. Please don't duplicate threads.
-
RE: Backtest vs demoposted in Questions & Answers
@sosel You should separate the break even block from that position. Its a loop connected to a previous loop 'For each trade'
-
RE: No siempre me detecta el cruce de 2 EMASposted in Questions & Answers
@jose-labay Bones Josep. Aixès és degut a la barra sobre la qual demanes que es comprovi el creuament. Has trial la 0 o la 1? Si és la 0 és normal que se'ls salti perquè no estan confirmats. Tria sempre que puguis la 1.
-
RE: no se activa el bloque para cada barra en ocasiones se salta una barra en on tick en demo tiempo real en el probador siposted in Questions & Answers
@cristian-0 Es extraño eso que comentas. ¿Puedes compartir el enlace del tu proyecto para ver el problema, por favor?
En cuanto a los decimales, debes usar esta fórmula en el bloque donde se obtenga el número:

En mi caso, no quería decimales, con loque puse un cero. Tu deberías poner in 1 en su lugar.
-
RE: Stop trading when win a tradeposted in General Discussions
@eswar To share a link you need to do this:

-
RE: Add spread to pending orderposted in General Discussions
@meshii You will need a variable to store that value and then add it like this:

-
RE: divergencia con stocasticposted in Questions & Answers
@digimax You would need a whole structure to do that. Simply don't even try it. Just import a good custom indicator doing it and you'll save a lot of time and headache.
-
RE: Logging onposted in Questions & Answers
@muon That's weird. Does it happen when trying on a laptop or other device?
-
RE: once a dayposted in Questions & Answers
@sentoros No hace falta poner once a day si sólo quieres que el bot opere en una franja concreta cada día. Sencillamente especifica la franja con un bloque de 'time filter' en la parte superior del lanzador de operaciones y ya lo hará automáticamente.
-
RE: Max and miniumum stop loss / take profitposted in Questions & Answers
@piptheripper Good for you! Thank you for sharing.
-
RE: Day of the Month entryposted in Questions & Answers
@fenixtrading An interesting question. I don't how to do it. Any suggestion, sirs?
-
RE: Check Profit (unrealized) Take Profit point not showingposted in Questions & Answers
@bhadzlagayan I read the other thread you created. You will see my reply there.
-
RE: Weekday filter constantsposted in Questions & Answers
@bhadzlagayan I guess this requires some mql4 documentation to be done. I'm also interested. Can anyone please help?
-
RE: Max number of trade per week/dayposted in Questions & Answers
@khacdiepvnc Then you need to count them with variables. One for open trades, another one for closed one and a third one for the overall result. Then on top of your launching structure you use a condition block requireing the overall variable to be less than or equal the maximum you want. Unless it is true, no more open trades will be executed. At the end of the day/ week all variables should be reinitialized to 0.
-
RE: I am having problem with my new ea(new subscriber)posted in Questions & Answers
@paulthegreat Can you please share the link to your project? I'll take a look at it.