So If I get it correctly, what you mean is that if profit hits $10 and then pulls back to $0.2 then close the trade, right?
Posts made by l'andorrà
-
RE: HELP TO CREATE THIS LOGIC MANAGEposted in Questions & Answers
-
RE: EA didn't execute on 2nd occurrence but did on 1st?posted in Questions & Answers
The only way is backtesting it condition by condition. I mean. remove all sell conditions except 1 and then check if as sell is open. Then try again with two conditions and so on until you find which one is not working properly.
-
RE: Trail Stop Helpposted in Questions & Answers
On block 123 you require candle ID 1's high to be above current SL position when it needs to below.
-
RE: 1 Block Causing Issueposted in Questions & Answers
This is definitely weird. Maybe it opens sells but only very rarely in your symbol. Did you try back testing other symbols to check at leats some sells are open?
-
RE: Trail Stop Helpposted in Questions & Answers
Correct. Please remember that you need to create another block tree for sells.
-
RE: Trail Stop Helpposted in Questions & Answers
@xburbx Those 'for each position' blocks need to be separated into independent block trees. Something like this (for buys only):

Please consider that this structure will move the SL as soon as the trade is open if the condition is true. You will have to adjust that if you don't want it.
-
RE: 1 Block Causing Issueposted in Questions & Answers
The logic of the block is correct. Are you sure all previous conditions on top work correctly when combined?
-
RE: Weird position size calculation (GBPCAD and FundedNext)posted in Questions & Answers
Yes, but not with any fxDreema block. You will need custom code for that. I remember jstap shared that code some time ago. You will probably find it through the forum search tool.
-
RE: Lots Limited by % of Balance - American NQ marketposted in Questions & Answers
Your settings are correct. Considering such a small lot size I guess you are using a minicent account. The problem is the broker limitation. Just backtest the bot using a higher initial lot size and you will confirm it works correctly.
-
RE: ADX W based EA not functioning as expected.posted in Questions & Answers
No bot based on ADX will work as designed because that indicator repaints terribly both +Di -DI! Only the ADX line itself is realiable. I strongly recommend using another indicator if possible
-
RE: Pending Order and Delete Pending Ordersposted in Questions & Answers
In that case you should skip the visual part. It is making the bot far less efficient.
-
RE: Getting Stucked when Optimizingposted in Questions & Answers
You can block the (comment(ugly)) block. It is completely unnecessary when optimizing while being very CPU consuming at the same time.
-
RE: Weird position size calculation (GBPCAD and FundedNext)posted in Questions & Answers
@Pascal-0 This is because different brokers use different pip size rules. You can modify them here:

-
RE: pips away on 3 trade not placing the trade at the correct entryposted in Questions & Answers
You should reorder the top tree block scorrectly. Now you are closing open trades (block 4) before opening them (blocks 10, 56 and 57). Additionally, the is no 'For each trade' block between blocks 53 and 54.
-
RE: Brokers stop level as absolute valueposted in Questions & Answers
The only I found was asking them directly. If they don't reply or simply lie, I quit using them. PS.: there many of them.

-
RE: Pending Order and Delete Pending Ordersposted in Questions & Answers
Well, do you really need the object? I don't see the bot is using the information provided by the object.

