//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...
Library "console" Simple debug console to print messages from your strategy code. USAGE : Make sure your strategy overlay is false Import the library : import keio/console/1 as console init(lines, panes) Initialise function. USAGE : var log = console.init() Parameters: lines : Optional. Number of lines to display panes :...
Library "ObjectStack" init() push() push() push() push() push() nextIndex() nextIndex() nextIndex() nextIndex() nextIndex() delete() delete() delete() delete() delete() cleanOldest() cleanOldest() cleanOldest() cleanOldest() cleanOldest()
Hello, this script was made upon the request of aliergin63, one of my followers. I do not know exactly from whom it is quoted. (It may be author HighProfit.) Long position when 8 dema is over 20 dema and 63 dema, it opens a short position for the vice versa. Alarms have been added. %0.1 comission added. Regards. Note : DEMA = Double Exponential Moving Average
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.