//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.
This is a strategy that utilizes crossovers as entries and exits. You have quite a bit of freedom to choose the type of MA used, along with the source and length. You are also able adjust the backtest range. I will update with changes if any are needed, as well as a description of the update.
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.
Hi All, this script will show two moving averages for 13 Periods and 34 as one function. I plan to add more fancy functions. For now i dont know what to add but if you have anny suggestions please do. For newcomers you should considering to sell when the lines are green and buying when the lines are red. I AM NOT RESPONSIBLE IF YOU MISSREAD THE CHART. Kind...
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.