Search found 3 matches

Go to advanced search

by rr1050
Thu Jan 26, 2023 6:18 pm
Forum: Pine Script Q&A
Topic: pine script strategy exit with alert
Replies: 1
Views: 771
 
Jump to post

pine script strategy exit with alert

Hi friends, I would like to have a alert when exit through strategy, but custom alert message. alertsyntax_golong = 'Any customized message with buy loss profit' // Custom message strategy.exit("Long SL", from_entry = "Long", qty_percent = 25, stop=t_stop, alert_message = alertsyntax_golong) But I a...
by rr1050
Fri Jan 13, 2023 9:28 am
Forum: Pine Script Q&A
Topic: Strategy entry on exact price
Replies: 2
Views: 2010
 
Jump to post

Re: Strategy entry on exact price

Hi, Thanks for reply. barstate.isnew is better and now at least I can see the entry on High means Blue line exact. Many Thanks for your help. / Next Bar after buySignal check for High greater than earlier high DO NOT DELETE Buy_true = ta.valuewhen (buySignal,Buyprice,0) Barhigh = barstate.isnew and ...
by rr1050
Wed Jan 11, 2023 4:56 pm
Forum: Pine Script Q&A
Topic: Strategy entry on exact price
Replies: 2
Views: 2010
 
Jump to post

Strategy entry on exact price

Dear All, This is my first question on forum. I am facing an issue while strategy testing because I want to enter in Trade only if next candle is high to previous . I used a possible ways to sort out but it is not a precise solution, so pls guide. Order is not placing at Buy_true value i.e. Buyprice...

Go to advanced search