theCrypster

Fixed Percent Stop Loss & Take Profit % - For Study Scripts

===========
Fixed Percent Stop Loss & Take Profit % - { FOR STUDY SCRIPTS! }
===========

A neat example of how to set up Fixed Stops and Take Profit as a percent of the entry price - This is for setting Alerts within your own Study Script for when either your SL or TP get hit.
Yup, that's about it!

You can ignore the actual entry/exit orders - they're based on a simple MA cross and are therefore NOT relevant, NOT profitable and NOT recommended!

You should be using this code as a way of adding Stops and Takes to your own scripts - hope it helps!

Set your "Open Long/Short" Alerts to be triggered "Once per Bar Close" - Set your "SL/TP" Alerts to trigger "Once per Bar".

--

We wrote this with a bit of a rush on! ~ If you spot any mistakes/bugs just let us know and we'll get round to them asap!

-----------

Good Luck and Happy Trading!
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר סקריפט זה פרסם אותו עם קוד פתוח, כך שסוחרים יוכלו להבין ולאמת זאת. הידד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום הנו בכפוף ל כללי הבית . אתה יכול להגדירו כמועדף ולהשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?
==============
https://www.theCrypster.com
-----------
> Full Access on our website. 7-Day Free Trial. Crypto Tipster & Crypto Scalper Strategies. Stunning Past Performance
-----------
https://twitter.com/TCrypster
==============

תגובות

Hi mate thanks for this! Do you also have an example for multiple take profit levels? e.g. 3 levels. Thanks!
+9 השב
As usual u r the best excellent work..keep it up..
+6 השב
@Pollard, Thanks! That means a lot! We've been working hard recently trying to improve our products and services, including writing this code! Thought it was too valuable for fellow Pine coders to keep under lock and key!
+1 השב
Thanks for sharing.
+1 השב
Hey, this is amazing and very helpful. Thank you!
Just one question, is there a way to make stoploss/takeprofit move if we enter again?

Like you did, average price in your "Fixed Percent Stop Loss & Take Profit % - For Stratgey" script?
השב
Excellent -

Can you help with code for stop-loss and target

Stop-loss = From buy signal, lowest low of last 5 candels.

And take profit = Buy signal + ( difference of buy price - Stoploss )
השב
This is exactly what I was looking for thank you very much
השב
Hello mate , How can I put multiple tp by %. 1% will be first tp 2% will be 2nd tp .Like these I need 5TP.

How can I do?
השב
can you make MT4 indicator AMA opt final slope or Forexsignal30-extream ?
השב
The script does not set the values correctly. With a tp of 2.5%, we actually have 2.44%. And these values are floating.
השב