Scale Out with Partial Close and Trailing Stop
-
Hello,
I'm fairly new to FXDreema but am absolutely impressed with it's capabilities and the potential. I'm trying to figure out how to properly scale out my trades.
Here is what I am trying to do:
For each POSITION (BUY or SELL)
Step 1: After opening a trade, wait until price is 50 pips away from PARENT Trade Open, then partially close 25% of the trade volume ONCE.Step 2: After first partial trade is closed, wait until price is 50 pips away from PARTIAL Trade CLOSE, then partially close another 25% of that trade volume ONCE.
Step 3: After Step 2 partial close, initiate trailing stop. The way I currently have trailing stop set is to set it at 50 pips, with 100 pip step. This way, it doesn't initiate until the culmination of the first two steps is triggered past the 100 pip mark.
ISSUES:
The issues I am facing is that even though I used the FOR EACH TRADE and ONCE PER TRADE/ORDER blocks as recommended in this situation, once the STEP 1 first 50 pips are reached and partial close is activated, if afterwards the price falls below 50 pips from Parent open, it runs step 1 again, and does another partial close. I need it to literally only run ONCE per position. For instance, if a SELL position is opened, only run STEP 1, STEP 2, and STEP 3 once. If the indicator changes to create a BUY Position, I also want STEPS 1-3 to run ONCE. I'm good on the trailing stop, it's the first two steps that are giving me trouble and I cannot figure out how to make it work only once, and not continue to repeat with the partial closes.I would appreciate the community's feedback as you guys are way more knowledgeable about the innerworkings of FXDreema than my current capabilities. Thank you in advance.
LINK TO PROJECT: https://fxdreema.com/shared/C0vLpXeab
-
You can try this:

You need to specify the second pips distance from open price. Otherwise you are simpli duplicating the first step.
-
Thanks for the reply. I have tried this method already where I used 50 pips for the first partial close (where you show 30) and 100 pips for the second partial close (where you show 60). What ended up happening is that the first partial close would continue to repeat every time the price moved above 30 pips from open price, and if it fell below it again, it would initiate the 30 pip partial close again. That's the issue. This leads me to believe that this first partial trade continues to get reset every time it fires and when the 30 pip mark gets hit, it initiates it again looking at it as a brand new trade. That's what I am trying to stop so that it only runs once and not repeatedly.
-
Maybe this will help to describe it more visually. Thanks.

-
Then you need to connect a 'Turn OFF block' connected below block 64 indicating block 61. That way the fist partial close will not be executed anymore. Same for the second partial close and then turn them On again once the trade is closed.