OPEN-SOURCE SCRIPT

Tic Tac Toe Game [TradeDots]

Feeling bored with trading?

Time to inject some fun into your decision-making process with our Tic Tac Toe Indicator!

snapshot

The Tic Tac Toe game transforms your chart into a competitive playground where trading pairs face off in a classic game of Tic Tac Toe.

HOW TO PLAY
Our Tic Tac Toe game invites you to pit one trading pair against another directly on your chart. Choose the competitors and watch as they battle it out in a traditional grid setup.

  1. Navigate to settings and select your competitor pair.
  2. Choose who kicks off the game.


snapshot

After the close of each new bar, the algorithm will utilize the closing prices of both symbols. These numbers feed into a random number generator which alternates the turns for placing marks on the grid.

The game progresses until one pair aligns three consecutive symbols and wins, or the board fills up. After that, the game resets every three bars, offering continual engagement during active market hours.

MANUAL PLAYING MODE

Currently, due to PineScript's limitations, a fully interactive manual mode is not supported, as all previous data will be lost with each new user input, preventing the replication of existing game states.

However, users can input a sequence at the start, guiding the placement of symbols throughout the game.

Stay tuned for future updates!
conceptFUNGAMEPine utilitiesPLAYPortfolio managementtictactoetradedots

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności