Search found 5 matches

Go to advanced search

by woodsyc
Mon Apr 24, 2023 7:55 pm
Forum: Pine Script Q&A
Topic: Alert for multiple tickers on multiple time frames
Replies: 4
Views: 4360
 
Jump to post

Re: Alert for multiple tickers on multiple time frames

Thank you. I didn't realize I had to use 'var'.
by woodsyc
Tue Apr 18, 2023 5:57 pm
Forum: Pine Script Q&A
Topic: Alert for multiple tickers on multiple time frames
Replies: 4
Views: 4360
 
Jump to post

Re: Alert for multiple tickers on multiple time frames

I was never able to figure it out unfortunately. It stumped me as my variable is declared.
by woodsyc
Thu Apr 06, 2023 3:36 pm
Forum: Pine Script Q&A
Topic: Alert for multiple tickers on multiple time frames
Replies: 4
Views: 4360
 
Jump to post

Alert for multiple tickers on multiple time frames

So I am trying to do a multiple ticker on multiple time frames for crossover/under of EMA's. I am getting an Undeclared identifier 'alertMsg' but it is identified. I have other variations of this and do not get the error. Can anyone see why I am getting an error? Error line is alertMsg += "5 min Buy...
by woodsyc
Tue Apr 04, 2023 12:51 pm
Forum: Pine Script Q&A
Topic: Detecting Pip spread
Replies: 2
Views: 2284
 
Jump to post

Re: Detecting Pip spread

Looks like it is working most of the time. I have seen instances where the alert is going off when it should not be which is weird. At the moment I am just ignoring them.

Thank you for the help. I had a login issue so my response was delayed : )
by woodsyc
Sun Apr 02, 2023 12:33 am
Forum: Pine Script Q&A
Topic: Detecting Pip spread
Replies: 2
Views: 2284
 
Jump to post

Detecting Pip spread

I am looking to detect a Pip spread in ema2 and ema3. //@version=5 indicator('Scalp strategy', overlay=true) // Get indicator data ema1 = ta.ema(close, 6) ema2 = ta.ema(high, 32) ema3 = ta.ema(low, 32) // Detect Buy or Sell buy = ema1 > ema2 and (ema2 - ema3) > 0.004 sell = ema1 < ema3 and (ema2 - e...

Go to advanced search