2026-11-04 12:06:58 +01:00 | | | """Developer: listing screenshots through tf_run.py (testing install only). Output: <data>/MQL5/Files/tf_shot*.png"""
|
2026-11-04 07:30:30 +01:00 | | | import subprocess, sys
|
| | | from pathlib import Path
|
| | |
|
| | | run = str(Path(__file__).resolve().parent / "tf_run.py")
|
2026-11-04 12:06:58 +01:00 | | | 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])
|