This parameter is generated and is 1 when there is any block in "on Trade" or 0 when there are not blocks. The reason is for speed. So you are saying that you have blocks there and the parameter is 0? Which project is that?
Posts made by fxDreema
-
RE: OnTrade Blocks stopped workingposted in Bug Reports
-
RE: OnTrade Blocks stopped workingposted in Bug Reports
They work on backtest for me. But it is Saturday here now, no markets
-
RE: Stop making orders after closing previous oneposted in Questions & Answers
You can check the age of the previous trade. Something like:
For each Closed Trade (with "not more..." set to 1) -> check age
And after that you can continue to buy or sell.
-
RE: Connecting Binary Options to EA signalsposted in Questions & Answers
@robgall You have it

I didn't tested it, but it's almost not any different than vish's custom block
-
RE: Delete objects below when next object hitposted in Questions & Answers
What are you doing with these lines, some kind of virtual pending orders?
Otherwise you can try something like this:

I didn't tested it, but I feel that it will work. The idea is that you will delete any line that is lower than the current price with certain number of pips. -
RE: Help pliss =(posted in Questions & Answers
Oops, I made my example with TP for the pending order instead of SL. But anyway, what if SL of the Sell is also never reached by the price? You wrote "... until the stop loss is triggered...", but you can't be sure.
This is my example EA where I was testing this: https://fxdreema.com/shared/hTGdIdOA
But you know.. after all, having Buy and Sell with the same lot size is the more complicated version of simply closing the Buy trade. I don't recommend those "hedging" strategies. You can do all of this if it makes the EA easier to understand, but if you are doing it because you believe that this is protecting your capital... better don't
Your capital is what is written for "Equity", no matter if you have 0 or 10 opened trades. It's actually worse to have multiple trades opened (who hedge each other), because of spread, swap and so on. -
RE: como hacer un indicadorposted in Questions & Answers
Yes, with fxDreema you can only make EAs and Scripts

-
RE: Are variables in temporary memoryposted in Questions & Answers
Yes, the counter blocks also use temporary variables. This is true for all blocks like this, even some money management methods. Only when you are working with trades and objects, their data is not temporary, because they exist in MetaTrader even if you restart it.
-
RE: Equity Control with Moving Averageposted in Questions & Answers
I don't know how to do that in fxDreema

-
RE: Adding positions and change stop lossposted in Questions & Answers
Here is some idea: https://fxdreema.local/shared/23w4IsOKb
Both "For each Trade" are set to load only the last trade, but second one loads the trade that was just created in "add to volume"
-
RE: Set Target Equity on Each open tradeposted in Questions & Answers
This is technically possible, I guess, but I don't know how to easily make it in fxDreema

-
RE: Help pliss =(posted in Questions & Answers
What happens with the Buy trade in this situation, if the price continues to go lower?

-
RE: Counter to check past candles conditionsposted in Questions & Answers
Try that block called "Indicator moves within limits"

-
RE: Questions about 'Skip ticks' blockposted in Questions & Answers
I think I fixed it when I wrote the last post. Isn't it working?
-
RE: Help required to create strategy. Very new here so need helpposted in Questions & Answers
Here set this to 0, otherwise you have 20 pips offset. Or use value of 1, so you can remove these +1pips and -1pips.

The Trailing stop blocks should be somewhere alone. If you are using 2 of them, you can connect them.
-
RE: New trade after SL was hitposted in Questions & Answers
It depends. Here someone else had similar question: https://fxdreema.com/forum/topic/6221/help-pliss Or in "on Trade" you can have "Trade closed -> Sell now"... or Buy now, whatever. In "Trade closed" you can check whether the trade was closed by SL, and also its type.
