Help Me Open Chart from CSV
-
Hi'
I was finalizing my EA for Stock CFD trading, but i just stuck on this one function that i want to build into the EA.
So, each premarket time (for US stock market) i will do the scanning for certain stock specifications using tradingview and download that scanning result as csv. In this CSV the first column is the stock symbol.
Now, i want to load that CSV to my EA and let it open all the symbols inside the csv on a separate chart. Let's say there's 5 stock symbol in the CSV, then when i load the csv to the EA, it'll open 5 charts with each symbol loaded there.
Is it possible on MT5? and is anyone knows where i should start?
I was jiggling around the use of arrays but i can't got it work tho.Thanks
-
Miro tutorial on writing and reading to a file -= https://fxdreema.com/forum/topic/5164/example-save-variables-into-file-and-read-them-back-advanced
MQL5 Chart operations - https://www.mql5.com/en/docs/chart_operations
-
@hadees
Thanks for your answer, will take a look on it now