Partially close with variable
-
Having a problem using the partial closing function. When I use a fixed value every thing works good but when I change to a variable of the atr. Example : trade placed so PIPs = atr value X 10000 (for non JPY pairs)
So when PIPs in profit close halve but what happens is it closes the half almost immediately. Not sure what to do -
Can you please share you project?
-
https://fxdreema.com/shared/8i5fOt6wd
dont mind the indcators i just needed something to place a trade and exit a trade
look at where i have the breakeven function
when a trade placed the converted pips are saved as trade atr ant that is the the pip amount to set the breakeven point and close out point -
@raiderspaz You need to dismount the current structure of blocks 81, 82 and 83. Firstly, substitute block 81 by a 'Pass' block. Then connect block 82 below it.
Then move to the 'on Trade' tab a do this (for buys, for example):

Connecting pink block to Break even blocks is not a good idea, in general.
-
@l-andorrà
Thanks I’ll try this and test for a few days and then repost what happens -
@l-andorrà
it seems to work great thanks for the help. If I wanted to add a trailing stop after the partial close , where would I put that block! -
@raiderspaz Create a boolean variable so that once executed it will be 'true'. Then ceate a new block tree like this.

-
@l-andorrà ok does moving the trailing stop will not activate the partial close agian
-
@raiderspaz If the trailing stop block is correctly set, no, that will not happen.