Комментарии:
Loving all your videos bro. Helping me learn a lot!
ОтветитьLoved the simplicity in your videos and they have quite helped me with Tradingview pinescript development.
I created a script using the above strategy.exit() with stop, trail_ponts and trail_offset and it is working flawlessly. So I wanted to create alert notifications.
Buy order notification is coming after certain conditions get satisfied and I'm creating an alert through alertcondition() function in study(), as follows
//Buy Condition
Buy = condition1 and condition2 and testrange
alertcondition(Buy, title = "Buy Signal", message = "Buy Signal Alert")
I'm stuck in the sell order alert notification as I'm using strategy.exit() which has stop, trail_points and trail_offset. So the strategy either hits stop-loss or it starts trailing from a certain percentage with an offset.
//Exit Strategy
strategy.exit("TP/SL", "Enter Long", stop=StopLoss * (1 - sl_inp),
trail_points = close * TrailPer / syminfo.mintick,
trail_offset = close * TrailOffset / syminfo.mintick)
So how can I set up an alert notification for the exit?
As I understand that for the sell order notification I need to create manual code for trailing stoploss which has a stop, trail_points and trail_offset, then create a condition with sell, and then finally use altercondition() in study() to send the sell order alert.
the issue about the bars and ticks you're speaking about at the end of the video, would ticking the "recalculate on every tick" under strategy properties fix this?
ОтветитьMany thanks for the great videos!
Is it somehow possible to convert the trailing stop strategy into an indicator with alarm?
yR vOICE SUX BRO
Ответитьjesus speak up man
Ответитьпо русски бы))
ОтветитьHey man, i was wondering if it is possible to program a partial take profit of say 50% of the position but without a full strategy programmed? i just want to place manual trades but when i hit my take profit i want 50% of the position to be left in with a trailing stop. is this possible if so could you help me please. thanks
ОтветитьVery good videos :) How do you add trailing stop as an ATR ratio ?
ОтветитьThank, great video! Like!
ОтветитьI've been searching for a way to use trail offset as a percentage for a while and came across this. Brilliant stuff, thank you.
ОтветитьDo you have a trading group with Trade Setups and TAs?
Thanks
Hi ! Really nice work, How can I display the exit at a specific candlestick point, instead at close or open? (In this video your exit point is perfect) Thank you.
Ответитьdoes anyone know how to translate the pinescript code into python pandas dataframe?
Ответитьhi!
how i can remove repaint from Trailing Stop Loss?
My strategy enters each candle without using a particular indicator and exits with a trailing stop loss. but i have a repaint problem
Geez really pissed. Relatively new to trading... I want so much to implement the script etc but I found you extremely difficult to understand. However I think you have something very good to offer. Is there some way to just post the script
ОтветитьMany thanks for the great video. How to have both stop loss and trailing stop loss at the same time ? i.e. if i want to protect the trade by setting the stop loss at the beginning but when the trade starts to get profit I will use trailing stop to exit the trade ? Thanks
ОтветитьThanks alot man. You have improved a lot my strategy with this lesson.
Ответить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.
Algeria is the best
ОтветитьSPEAK UP
ОтветитьIs posible integrate to the chart a trailing stop lost strategy?
Ответитьhi, where I can used this pinescrip of your tutorial?
ОтветитьIs there any possibility to stop the repaint issue with trail_point and trail _offset method
ОтветитьHey, I searched all over for a tutorial on writing a Trailing Stoploss based on price reached. All I could find is ATR or 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.
ОтветитьThere is no trailing stop loss feature built in to tradingview? You have to create a custom strategy with the Pine editor?
Ответить