Search found 96 matches

Go to advanced search

by Steve Burman
Fri Mar 03, 2023 1:12 am
Forum: Pine Script Q&A
Topic: How to trigger alerts in real time (calc_on_every_tick on)
Replies: 6
Views: 5518
 
Jump to post

Re: How to trigger alerts in real time (calc_on_every_tick on)

Hey,

I don't know of any issues specifically. Can you please reply with the whole block of code for the exit condition, exit statement and alert and I can have a look if anything seems amiss.
by Steve Burman
Wed Mar 01, 2023 7:17 am
Forum: Pine Script Q&A
Topic: creating pivot for the next day using pinescript
Replies: 8
Views: 5661
 
Jump to post

Re: creating pivot for the next day using pinescript

Ok, thanks for that. I just realised something. You have specified the dotted lines to be displayed on the current real-time bar because you are conditioning the lines on barstate.islast. The pine script manual states... "PineScript code that uses this variable could calculate differently on history...
by Steve Burman
Wed Mar 01, 2023 5:31 am
Forum: Pine Script Q&A
Topic: RSI BullBack detecttor issue
Replies: 4
Views: 3157
 
Jump to post

Re: RSI BullBack detecttor issue

Hi Jari,

Thanks for your reply and sorry I haven't been back to you for a while.

When you say "script should search Local Top as long as RSI rises Up after crossover", what do you mean by local top? I'm still trying to understand what local top means to you?
by Steve Burman
Tue Feb 28, 2023 10:56 pm
Forum: Pine Script Q&A
Topic: Function not plotting as intended. PLEASE HELP.
Replies: 8
Views: 6884
 
Jump to post

Re: Function not plotting as intended. PLEASE HELP.

Sorry I can't help you on this one. Hopefully someone else can.
by Steve Burman
Tue Feb 28, 2023 10:46 pm
Forum: Pine Script Q&A
Topic: creating pivot for the next day using pinescript
Replies: 8
Views: 5661
 
Jump to post

Re: creating pivot for the next day using pinescript

Sorry, if it's not a repainting issue, I don't know how to fix it. Can you send a pic of the issue where new lines are adding for every bar?
by Steve Burman
Tue Feb 28, 2023 10:17 pm
Forum: Pine Script Q&A
Topic: Bar index of ta.highest bar
Replies: 1
Views: 2381
 
Jump to post

Re: Bar index of ta.highest bar

Hi Michal,

Yes, the theory of loading up the highest high values and bar_index over the last 20 bars into an array is good. I'd love to help but my experience with arrays is limited. Hopefully someone else can help you.
by Steve Burman
Tue Feb 28, 2023 6:50 am
Forum: Pine Script Q&A
Topic: creating pivot for the next day using pinescript
Replies: 8
Views: 5661
 
Jump to post

Re: creating pivot for the next day using pinescript

It may be a repainting issue with your request.security statements. The best way to fix this is for reference the prior bar when a real-time bar is updating such as this: tH = request.security(syminfo.tickerid, resolution, barstate.isconfirmed ? high : high[1], barmerge.gaps_off, barmerge.lookahead_...
by Steve Burman
Fri Feb 24, 2023 7:06 am
Forum: Pine Script Q&A
Topic: Function not plotting as intended. PLEASE HELP.
Replies: 8
Views: 6884
 
Jump to post

Re: Function not plotting as intended. PLEASE HELP.

Hey Ponderosa, Firstly when you copy code can you please indent if statements, custom functions and line continuations Your code is not compiling because of the 3rd line below does not assign anything to signal if signal == 1 or signal == -1 alert(message, alert.freq_once_per_bar_close) signal I'm a...
by Steve Burman
Fri Feb 24, 2023 6:28 am
Forum: Pine Script Q&A
Topic: RSI BullBack detecttor issue
Replies: 4
Views: 3157
 
Jump to post

Re: RSI BullBack detecttor issue

Hi Jari, I have questions about your criteria. I'm assuming rsiLongTrig & rsiTrig2 are the 2 standard RSI lines? You've said your criteria is... 1. trigger is ta.crossover(rsiLongTrig, rsiTrig2); this trigger stays on and waits for rsiLongTrig to go up (IS THAT JUST ONE BAR UP?) and make local top (...
by Steve Burman
Fri Feb 24, 2023 5:21 am
Forum: Pine Script Q&A
Topic: PineScript v5 - Detect Label/Shape etc on previous candles
Replies: 6
Views: 4852
 
Jump to post

Re: PineScript v5 - Detect Label/Shape etc on previous candles

Yes, TV labels and other objects have a 500 limit which is appalling especially on Pro+ and higher accounts

This is what I get when I run it on the e-mini or USDEUR https://imgbox.io/ib/0XPQ44nD61

Go to advanced search