Search found 3 matches

Go to advanced search

by skb
Mon Apr 26, 2021 5:54 pm
Forum: Pine Script Q&A
Topic: Latest price
Replies: 0
Views: 1110
 
Jump to post

Latest price

Hello,

I want to compare the close of each candle to the latest price of the symbol.

How do I get the latest price?
by skb
Fri Apr 23, 2021 2:58 pm
Forum: Pine Script Q&A
Topic: Need help in pattern search
Replies: 0
Views: 1010
 
Jump to post

Need help in pattern search

Hello, I'm trying to build an indicator that searches for the following pattern: Red "leg" candle Followed by 1 to 4 "base" candles Followed by 1 to 4 green "leg" candles Followed by a "base" candle Is there some code you can point me to that can satisfy the condition "if the next 1 to 4 candles are...
by skb
Fri Apr 23, 2021 2:06 pm
Forum: Pine Script Q&A
Topic: Finding a pattern of one or more candles
Replies: 0
Views: 1124
 
Jump to post

Finding a pattern of one or more candles

Hello, I'm looking to develop an indicator that finds the following pattern: First candle is red and a "leg" candle. The next 1 to 4 candles are a "base" candle (color doesn't matter) The next 1 to 4 candles are a "leg" candle (must be "green") The next candle is a "base" candle (color doesn't matte...

Go to advanced search