Hi guys! I’m new to both forex and python so please forgive me if I sound stupid at times. Long story short I’m trying to implement historical data from MT4 in a python script that will eventually return what key technical indicators are suggesting (buy, sell, neutral).
Basically, trying to replicate this website: [https://www.tradingview.com/symbols/GBPNZD/technicals/](https://www.tradingview.com/symbols/GBPNZD/technicals/)
I’m using dictionaries to store values – e.g. with daily data I’m storing days as keys and MACD as values. Anything on a shorter time frame than daily data and my script takes too long to run/doesn’t run. What should I do in this situation? How do you calculate 12-day and 26-day SMAs using historical data that’s in a shorter time frame than daily without blowing up my script? Do things like 60-minute SMAs for M1, 24 hours for H1 etc. exist and are they even viable? Any advice highly appreciated.