Code for switching between continuous time frames (indicator or script) Code to switch from the M1 time frame to the M5 time frame and then back to the M1 time frame again, and so on constantly. Meaning Every minute, the indicator or script switches the chart from the M1 time frame to the M5 time frame and then back to the M1 time frame.
With every minute, the indicator or script switches the chart from the M1 time frame to the M5 time frame and then back to the M1 time frame.
Your code is not correct, you need the adjustment to switch between the M1 and M5 timeframes every minute continuously/
Do not use Chat GPT to code for you, i can see this code was not hand written, you will not learn like this and your code will have mistakes with the syntax. Learn to code!!
We will help you if you have shown efforts to code it yourself, but we will not correct mistakes made by AI
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Code for switching between continuous time frames (indicator or script) Code to switch from the M1 time frame to the M5 time frame and then back to the M1 time frame again, and so on constantly. Meaning Every minute, the indicator or script switches the chart from the M1 time frame to the M5 time frame and then back to the M1 time frame.
With every minute, the indicator or script switches the chart from the M1 time frame to the M5 time frame and then back to the M1 time frame.