How to open new trade in the same direction when hit SL
-
Hi,
Love FXDREEMA - Huge thanks
I am using an indicator level to open trades and this is working well, What I want to do is open a new trade in the same direction once the stop loss has been hit at a higher lot size - can you please advise?
Many thanks
Mark
-
You can try Buy now (Martingale), or the one for Custom Martingale. I have ideas to add all those betting systems as MM in Buy now/Sell now, but for now they are blocks.
Otherwise you can define some variable for the lot size and control it somehow.
Or if you ask for lot size that depends on the profit.... take a look at the available MM. -
Thanks - I have been looking at custom Martingale but cannot work the following logic
If trade closes due to stop loss
Open new order in same direction with same stop loss at 2 times the lot size of the original trade
Can you refer to the EA Hunter in my account?
-
About this project, I can't see how lot size depends on the trades, it depends on indicators. And in this scenarion I think you also have to use the "OR" block... check http://fxdreema.com/examples about this block to understand why.
Maybe you want to do this: http://prntscr.com/3nnjy3 - this is getting the lot size of the last closed trade (notice the parameter that is "1") and then use that lot size in Buy now. You can also use the yellow output of this pink block. -
Many thanks
I cannot work how to only set new trade when the last chart trade was closed in a loss - I don't want to open a new trade if closed in profit
-
There are another pink blocks that you can put right after "For each Trade", for example "check profit", "check loss". Also, you can use Condition here with all the option in "in loop" (also in pink color).
Also, there is a block named "Check last closed trade profit" if you don't like those pink blocks. -
Hi - I have changed strategy to overcome the above obstacles - Huge thanks
I now need to work out how to assign different Magic numbers to different time frames so that I can track what profit / loss is happening on the 1 hour, 4 hour, 1 day time frame so that I can track these to tweek strategy - Any ideas
-
i want reopen a ticket as a pending order if trade close on be
-
There is a parameter "Group" on the top of all trading blocks. This parameter can be any number like 1, 2, 3... the default is 0 (empty is 0).
Magic number = Group + MagicStart
where MagicStart is input parameter for the EA. So when Group is 0, the magic number is the same as MagicStart.I can't understant the question about ticket. But you can detect when a trade is gone... depending on the strategy. You can check for how many trades there are at the moment and react on that, this is the best method. Or work with "on Trade" event.
-
Huge thanks for your reply - As I could not work out how to do this I realised that all I want is a reporting outlet so rather than creating different Magic Numbers for each time frame trade - I figured that all I needed to do was to add to "On Trade" a file write to excel that has one of the properties as Market Properties > Time Frame
I have now added this to my EA and have added to charts so will see how this runs next week when the marker re opens
Cheers