kiranm7878

cumulative profit

Short
NSE:BANKNIFTY   Nifty Bank Index
I'm working on a strategy
In strategy back testing I found that in trade lists their was a term by cum.profit
my problem is that can we able to stop the trade when my cum.profit reaching some profit or loss

can we able to develop this in pine script

please can anyone help ...?
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.