//First script I have published. Constructive criticism is welcome. // I hope this may be helpful to you. // Initially, I did this for myself as I was getting some odd results from the ta.change function. Turns out it was my error LOL. What a surprise! // Typical syntax: ta.change(source, value) // value doesn't need to be included. If it isn't, it will only...
This script illustrates how to create simple alerts, triggered by a share price moving above (or below) an arbitrary threshold.
Very simple indicator script to display multiple simple moving averages. I know others have made this but they often are too feature-rich and can get cluttered. Can optionally show a cross when MA 1 crosses MA 3. These are colors such that when MA 1 crosses BELOW MA 3 a red cross is shown, and green when crossing above.
type: pine series basic example time required: 10 minutes level: medium (need to know the "array" data variable as a generic programming concept, basic Pine syntax) tl;dr how variables and series work in Pine Pine is an array/vector language. That's something that twists how it behaves, and how we have to think about it. A lot of misunderstandings come from...
Momentum written in Pine You are able to change the source with this.