Progressive Profit Taking with Trailing Stop

This is version 2 of
Special features:
  • Added partial profit taking as price rises. Profit taking is triggered by price crossing an EMA .
  • After profit taking, price has to rise by a user-specified percent before taking profits again.
  • Also includes condition for fully closing position after meeting specified profit target.

To incorporate into your algo, turn the plotshape functions into alertcondition.
Release Notes: Fixed line 39
Remove from Favorite Scripts Add to Favorite Scripts


Hi, Script is not working for me :(
+1 Reply
Do you have a little instruction on how to use or activate it?
I would be very grateful
+2 Reply
Great script, but how can i get multiple entries?
Do i need to change the entryPrice coding ?
+1 Reply
@Alesi78, You can have both integrated Trailing Stop and Trailing Take profit, and create alerts from it.
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 Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out