All Questions
2 questions
0
votes
0
answers
24
views
How can I set an alert on a condition met in an array in Pinescript
I have an array that is being set with divergences. What I want to do is add a conditional statement for IF the array contains cwmacd and macd together and another one that checks IF the array ...
0
votes
1
answer
764
views
How does one execute a CONDITIONAL push-to-array (on Pine Script)?
I'm trying to get data entries pushed into an array in queue format when certain condition(s) are in place.
Keeping it simple, populating an array [of size 20] with price values whenever volume == ...