"""Developer: listing screenshots through tf_run.py (testing install only). Output: /MQL5/Files/tf_shot*.png""" import subprocess, sys from pathlib import Path run = str(Path(__file__).resolve().parent / "tf_run.py") for fr, to, off, fn, out in (("2026.08.01", "2026.11.04", "0", "p", "tf_shot1.png"), ("2026.08.01", "2026.11.04", "168", "p", "tf_shot2.png"), ("2026.08.01", "2026.11.04", "0", "p*0.5", "tf_shot3.png"), ("2025.01.01", "2026.11.04", "0", "p0*p0/p", "tf_shot4.png")): subprocess.run([sys.executable, run, "GOLD.pro", "GOLD.pro_Custom", fr, to, "0", off, fn, out])