@khalids222 Your logic is correct. If you want to limit the maximum number of open trades then you should use a blue 'ckeck trades count' block. That will stop opening new trades.
Posts made by l'andorrà
-
RE: How do I close the first deal when the number of deals becomes 2? So that there is no more than one transaction in the same direction in the marketposted in Questions & Answers
-
RE: my robots are being corrupted when i downloadposted in Bug Reports
@livephenom Did you try downloading them with a different browser? I don't have any issue with firefox.
-
RE: SEND A REQUEST LINK TO A SITEposted in Questions & Answers
@primecapitalvn Never tried this option. Did you search it on the forums? I don't remember having seen it very often here.
-
RE: Classify trades 1:1 (opposite)posted in Questions & Answers
@uriel-0 Then I'm afraid I don't get it. Could you please provide a numeric example?
-
RE: How do I find out my averaged (virtual) TP for a group of trades and show this price as a line on the chart?posted in Questions & Answers
@general-melchett That info should be provided by the admin, I'm afraid. I don't remember having find it here since I'm a fxDrema user.
-
RE: MARKET CLOSEDposted in Bug Reports
@luanainteglia What is that backtesting error exactly? Markets are not closed in backtesting.
-
RE: Guardar precio en variableposted in Questions & Answers
@wichi Puedes hacerlo guardándolo en una variable de este modo:

Así, en otros bloques puedes condicionar que el cierre de toras barras se halle por encima de ese valor almacenado. Y no te olvides que entonces habrá que reinicializar la variable creada.
-
RE: How to code " Stop trading downtrend and start trading uptrend"posted in Questions & Answers
@piong That is very easy to do if you are a human trader, but extremely complex to implementa as a strategy. Let me ask you just 3 questions:
- When a downtrend is over?
- When an uptrend is over?
- When there is no trend right now?
You and me can use different criteria to answer those questions. Same to the EA. You need a long and detailed list of criteria you consider to answer those questions. Once you have it, we can begin to create an EA.
-
RE: Como decirle al Ea que ponga una orden de compra o de venta a partir de una linea dibujada por mi en el grafico.posted in Questions & Answers
@michele-vitulli Te falta especirficar que el precio cruce la línea. Por tro lado, la forma más eficiente de seleccionar una línea es identificarla dentro de un blucle 'loop' de este modo:

En este ejemplo, cuando el precio cruce la linea horizontal amarilla de abajo a arriba, se activará el bloque que tengas conectado debajo.
-
RE: Parameters to complete the condition of the Fractals indicatorposted in Questions & Answers
@rodrigo-ortuzar I see you opened another thread and no image was uploaded there whereas it is here. Please ignore my reply there.
The problem is that you didn't spcify candle ID2 on the left operand. Fractals are nevel visible on candle ID 0 as per your current settings.
-
RE: Parameters to complete the condition of the Fractals indicatorposted in Questions & Answers
@rodrigo-ortuzar No image is visible. Can you please share the link to your project instead?
-
RE: Strategy combinationposted in Questions & Answers
@chriswillson This is the second thread you created for the same question. I replied to the first one. Please don't duplicate threads.
-
RE: FXDreema generated code is not working in MT5 strategy testerposted in Bug Reports
@mmaarits Never tried this multicurrency combo. I'm interested in the solution to this issue too.
-
RE: Combination of different strategies or different Timeframesposted in General Discussions
@chriswillson Well, that depends on what you want to get and what your strategy is about. But before that you need to be sure those custom indicators:
- Are correctly imported into fxDreema (that's not necessarily the case for all of them).
- Don't repaint.
The second point is simply crucial. If it repaints, simply forget it here. Did you check both points?
-
RE: Classify trades 1:1 (opposite)posted in Questions & Answers
@uriel-0 If I understand correctly, you want to open several trades manually and, as soon as one of them is closed, a new one in the opposote direction should be open. Is that correct?
-
RE: how to create following candlestick pattern indicatorposted in Questions & Answers
@shubham-0 Then you can do that just selecting the blocks in that exact order from candle ID 1 to candle ID 6 specified in them:
https://fxdreema.com/shared/FnHZGRP2e
If you need additional conditions like that on not crossing other candles, you will need anothe condition block in the middle.
-
RE: Como decirle al Ea que ponga una orden de compra o de venta a partir de una linea dibujada por mi en el grafico.posted in Questions & Answers
@michele-vitulli Yo te puedo echar una mano. ¿Puedes compartir el enlace del bot para poder ver su estructura?
