Hello All, I think all of you know the game "Tic Tac Toe" :) This time I tried to make this game, and also I tried to share an example to develop a game script in Pine. Just for fun ;) Tic Tac Toe Game Rules: 1. The game is played on a grid that's 3 squares by 3 squares. 2. You are "O", the computer is X. Players take turns putting their marks in empty...
Hello Traders, This is my second Multi Time Frame Candles script but with this new one, you will have some new features such volume info, remaining time to close of higher time frame candle and also developed using new features of Pine such array of lines. also I tried to make it 3D for better visualization ;) also it shows new highs/lows / breakouts. I...
Hello Traders, Linear Regression gives us some abilities to calculate the trend and if we combine it with volume then we may get very good results. Because if there is no volume support at up/downtrends then the trend may have a reversal soon. we also need to check the trend in different periods. With all this info, I developed Volume-Supported Linear...
Hello Traders, This is ZigZag Multi Time Frame with Fibonacci Retracement script. It calculates the ZigZag using Higher Time Frame, draw Fibonacci Retracement lines and put labels accordingly. I already published Zigzag with Fibonacci Levels script but this one is Multi Time Frame and I didn't want to change/update it. You can set ZigZag Period and Resolution...
Hello Traders, This is "Point and Figure Chart (PnF)" script that run in separated window in real time. The separated PnF chart window is timeless, so no relation with the time on the chart. PnF chart consist of "X" and "O" columns. While "X" columns represents rising prices, "O" column represents a falling price. If you have no idea about what PnF charting is...
Hello Traders, Here is my new year gift for the community, Digergence for Many Indicators v4 . I tried to make it modular and readable as much as I can. Thanks to Pine Team for improving Pine Platform all the time! How it works? - On each candle it checks divergences between current and any of last 16 Pivot Points for the indicators. - it search divergence...
Hello Traders, There are several nice Linear Regression Channel scripts in the Public Library. and I tried to make one with some extra features too. This one can check if the Price breaks the channel and it shows where is was broken. Also it checks the momentum of the channel and shows it's increasing/decreasing/equal in a label, shape of the label also...
Hello Traders, This is " ZigZag with Fibonacci Levels " script. It finds the ZigZag, draw Fibonacci lines and put labels accordingly. I get many requests for this script, so here it is. You can set ZigZag period as you wish. Bigger numbers (such 20, 30) may give better perspective and result. It draws Fibonacci levels between 0%-100% and If the price goes...
Hello Traders/Programmers, For long time I thought that if it's possible to make a script that has own memory and criterias in Pine. it would learn and find patterns as images according to given criterias. after we have arrays of strings, lines, labels I tried and made this experimental script. The script works only for Long positions. Now lets look at how it...
Hello Traders, Recently we got new features in Pine such Arrays of Lines, Labels and Strings. Thanks to the Pine Team! ( here ) So I decided to make new style of Multi Time Frame indicator and I used Array of Lines in this script. here it is, RSI Multi Time Frame script. it shows RSI for current time frame as it is and also it gets RSI for the Higher Time...
Hello Traders, This is Harmonic Pattern script . I made this script long time ago and now pubished it for the community. it can find & show following patterns: - Gartley - Butterfly - Bat - Alternate Bat - Crab - Deep Crab - Shark - Cypher - Double Top - Double Bottom - ABCD only ABCD patterns is not enabled by default, you can enable if you want. The...
Hello Traders, Technical Rank (TR) was authored by John Murphy . Technical Rank shows how a security is performing relative to its peers. Multiple moving averages, rate of change and the Relative Strength Index (RSI) indicators are used to calculate the Technical Rank. These values are mathematically manipulated with percentage factors and then summed...
Hello Traders! As most of you know that Moving Averages with the lengths 50, 100, 150 and 200 are very important. We should use these this moving averages to figure out S/R levels, the possible reversals points, trend direction etc. we should check these moving averages on Higher Time Frames as well. for example if you look at the chart with 5mins time frame,...
Hello Traders, Here Double Zig Zag with HHLL script is with you. it calculates 2 Zig Zag simultaneously and draws them, and also it calculates and puts Higher High, Lower Low, Higher Low, Lower High labels. All these are done dynamically, it means last HH/HL/LL/LH can change. if price continues to go up then HL can turn to LL or if price continues to go down...
Hello Pine Scripters, Sometimes we need to run some processes in the scripts on last N bar but currently we don't know bar_index value of realtime bar or number of remaining bars before we reached it. So most of us use "start date" as input and run some processes after "start date". This experimental script finds last Nth bar approximately. As you can see in...
Hello Traders This script finds Tops when RSI is in overbought area or Bottoms when RSI is in oversold area and checks the divergence between them. it checks divergence at tops/bottoms after RSI exited from OB/OS areas. You can change overbought / oversold levels. You can limit the time that RSI is in OB/OS area with the option "Max Number of Bars in OB/OS" you...
Hello Traders, This is Bitcoin Bullish Percent Index script. First lets talk about what the Bullish Percent Index and how it is calculated: "The Bullish Percent Index (BPI) is a breadth indicator based on the number of securities on Point & Figure Buy Signals, Developed by Abe Cohen in the mid-1950s. Because a security is either on a P&F Buy or Sell Signal,...
Hello All, I published this script as an example. it calculates/show current Hour, Minute and Second by using timenow function, it also show remaining time to close of the candle. You can freely use the source code in your scripts if you need. "A man who dares to waste one hour of time has not discovered the value of life" - Charles Darwin Enjoy!