Help in a small section of code already created from tradingview pine of a bot. Getting the Take Profit not to show depending on what conditions

Job ID: 35323470

Budget: €30 – €250 EUR

Get in pine script code language, schedule take profit to only show under certain conditions.