@stevem692

Thank you for the code! How can i tell it to target a certain PT and have a Trailing Stop at the same time?

@jt-oz

Thank you for saving my sanity!

@akashmaheshwari7417

Thanks for sharing. Can you pls help me out to write a Code as I have some conditions on which I would like to trade but don't know about Pinescript at all

@Mrshanmugham1

Thanks Bother,  what about short positions?

@ArunSingh-gk5ed

Hey, I love the video but need some help regarding some complicate flow.

Like I entered long and using Point based stop loss (SL=100 , price based stop is 200), Current Price of stock is =300. Now, stock price move 100 i.e current price of stock is 400. I want to trail my sl to 300. again the price of stock moves to 500 then i want to trail my sl to 400. sl should move only if the price moves 100 points. 

It will be great if you can create a video for same.

@KeshavKarmakar

is it possible to create this code to indicator. not in strategy

@dipankarbiswas033

Hi brother can you please let me know how to get lower time frame ohlc data to Pine script  no  series format  ..  please brother help

@dougamaral85

Hi, sorry for my bad english... I'm from Brazil and my name is Doug.
Me and my brother are trying to write a trailing stop loss on Tradingview (pine script) and we're being successful.
Our idea is to reach a specific profit target and change the stop loss, for example:
1- When my profit reaches 5% my stop loss will be 0%
2- When my profit reaches 10% my stop loss will be 5%
3- When my profit reaches 20% my stop loss will be 10%
4- Etc... Etc... Etc...
I don't know if you could understand my idea, but that's what we're trying to do but we're not getting it.
Could you kindly help us?
Best regards my friend.

@GridMatix

Thanks for the Vid. You explain very well <3

@mehmetgunes7192

Does the stoploss become active after the closing of the bar and does not buy from the opening of the next bar?

@ariaabbasbeigii

is this accurate on the backtest ?

@evannaufal4320

hi...
thanks for the tutorial. 

i want to ask, how to make our trailing only activated if the price reach certain price?
i mean, if the entry price is 100$, how to make our Trailing activated if only the price has reach 2% from our entry (102$).

can you kindly help me?
thank you

@obwanda9113

Hey, I searched all over for a tutorial on writing a Trailing Stoploss based on price reached. All I could find including in your channel is Percentage based Trailing Stoploss. My script takes Inputs of Pips for Stoploss and RR for Profit. I would like to move my Stoploss to Breakeven when a trade reaches 1.5R Profit and then move it to 1R when a trade reaches 2R Profit. Simple and Fixed values.

@chingron

I assume this could also be used as a trailing buy?

@nathanc6314

Thank mate

@rbbtllc1146

Thank you!!!

@philst.1009

Please , is there a way of representing last trade in TV

@idglabs

it  seems  the link to download the code it's missing. thanks

@zeMasterRuseman

the short side doesn't work. if you change max to min price_stop will always be 0

@itslike123

Legend