Check last closed trade
-
I would like to do "something" when a trade closes with minimum 20 pips profit. How do I create such a condition?
-
I'm thinking you need to be specific how the trade will close then, by stop? By take profit? Then enable an action when the trade closes, knowing in advance when it closes by a certain method the +20 pips is guaranteed.
-
Yes, it very much depends. There is a block Check profit (last closed). Also, the "on Trade" event can be used. Or another way.
-
@fxdreema said in Check last closed trade:
Yes, it very much depends. There is a block Check profit (last closed). Also, the "on Trade" event can be used. Or another way.
That is the closest that I could find with what I am looking for. But the "Check Profit" box is checking based on Amount. I need exact same thing but I need it to check in pips.
-
My trades can close based on many reasons. I just want to set up a block with condition that if it has closed with 20 pips profit...then do.....(this does not matter)
@implosion said in Check last closed trade:
I'm thinking you need to be specific how the trade will close then, by stop? By take profit? Then enable an action when the trade closes, knowing in advance when it closes by a certain method the +20 pips is guaranteed.
@implosion said in Check last closed trade:
I'm thinking you need to be specific how the trade will close then, by stop? By take profit? Then enable an action when the trade closes, knowing in advance when it closes by a certain method the +20 pips is guaranteed.
-
check profit unrealized filters on pips
-
@implosion said in Check last closed trade:
check profit unrealized filters on pips
"Check Profit Unrealized" block is for checking profit of an existing open active trade. This will not help me. I am looking for pips in profit of the last closed trade and if the pips are created than for example 20 pips then I want to execute my code.
-
You can now make custom logic blocks, just hack the closest to your solution to fit the job
-
If it's only for 1 single trade, the last one, then you can use:
For each Closed Trade (set 1 to Not more than....) -> pips away from open-price