Stop Loss with Exits

Standard Percentage-based Stop Loss for long and short, with configurable extra exit conditions.

Just copy/paste into your script.

Uses "low" and "high" values for crossing the stop loss threshold, but can be changed to "close" if you prefer (change "low" and "high" on lines 31 and 32 to "close")
Remove from Favorite Scripts Add to Favorite Scripts


Thanks for sharing. This script can be used on a strategy ?
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out