[Teaching] MT4 realizes flexible K-line with changing period in any minute

Learn it in 3 minutes, MT4 can realize flexible K-line with changing period in any minute

No need to compile the script, just know how to use Notepad. K-lines of any minute period can be made in 3 minutes and displayed in real time. This article is a simple tutorial. Using FinalTrader MT4, you can customize the flexible K-line of any minute period. You can set 7 minutes, 11 minutes, and 29 minutes at will, which is very convenient. It is an original method, and I will share it with you here.

method

Use the method of customizing cycle files to save the cycles of commodity futures and stock index futures into two files. Just save the cycle in as many minutes as you want, and just write down the time point of each K-line cycle. success

You can even realize the function of variable period K-line by yourself. For example, the last K line is 5 minutes, the next K line is 6 minutes, and the next K line is 8 minutes. The period of each K line can be set individually, we call it a flexible K line:)

The specific file format is as follows, more detailed setting methods can be found in the teaching video

Insert image description here

Some points to note

The opening time must be written. Do not write the closing time at 09:00, 13:30, and 21:00.
Do not write the closing time at 15:00 and 02:30
. The custom period must be within 60 minutes, which is a 2-59 minute period.

Guess you like

Origin blog.csdn.net/flash_temp/article/details/129877190