Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

“Tic Tac Toe” Chart – MetaTrader 4 Script | Trading Script Download – MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

The script works on any symbol and time frame.

In order to start the script, drag it onto the current chart. In the "General" tab of the script parameters window, mark the "Allow DLL imports" and unmark the "Confirm DLL function call" parameter. Set the parameters required for the script to run in the Input tab and click OK.

Input parameters: Kletka - size of the cell (in points)

RazvorotKletka - number of cells required for reversal (default value applies to EUR/USD currency pair with 5 decimal places in quotes)

Once the startup information on the current chart appears, you need to open the offline 2-minute chart on the current instrument through the following methods. Select Open Offline from the File menu. In the window that appears, select the 2-minute offline chart on your instrument (eg EURUSD, M2) and press the Open button.

Next, select the "Candlestick" display mode for the opened chart.

This chart is based on the classic description of the "Tic Tac Toe" chart, drawn from historical data contained in the current working chart. Next, draw a chart based on the current quotes.

The bar height (in points) of each candle is specified in the "Volume" parameter, and the bar end time is used as the time.

To represent the current quotes more visually, the last candle on the chart is shown with a wick. Older candles do not have wicks.

The chart display method is based on the script Period_Converter.mq4


Attachment download

📎 Tick-Tack-toe_v1.mq4 (19.69 KB)

Source: MQL5 #8719

Verification code Refresh