Help me some code
-
Project link I want to stop trading or off (buy-sell)
block after collecting profitable pips or money or one more question

look at image it tarde at once if buy candle two times -
@nitin2468 On your first question you can do something like this:
https://fxdreema.com/shared/LHZfs3gvb
On your second questions, I do not fully understand the logic you need. Could you please provide some more info on the conditions to be met?
-
logic is simple after getting profit trading close or off buy sell block
profit mean equitry+ 10$ or sum of pip -
@nitin2468 Well, in that case my example should be enough.
-
@l-andorrà I understood but if we close the first block everything will be off which is connected another block?
I want close the trade on P&L not base on unreleased
P&L mean groos profit- gross losss = p&L -
@nitin2468 Not sure I fully understand. How many open trades will there be at the same time? If no more than one at any time, you can get the daily profit/loss yet.