This script is intended to show the trend of MACD and EMA across multiple time frames. Some strategies require positive or negative trends across multiple time frames prior to taking a trade. This allows one to see all of them at one time.
Settings
- EMA
- EMA Period – Default to 45
- Include 5 minute EMA
- Include 15 minute EMA
- Include 1 hour EMA
- Include 4 hour EMA
- MACD
- Fast MACD – Default 12
- Slow Signal – Default 26
- Smooth MACD / Signal – Default to 9
- Include 1 minute MACD
- Include 2 minute MACD
- Include 5 minute MACD
- Spacing <– this needs some work as soon as you turn on the indicator; if anyone has a better solution feel free to share
- Title Bar Location – will display starting at candle 6
- Trend Bar Location- will display starting at candle 1
- First Line Location – This is the line location where the first line of data will appear within the new panel
- Line spacing – what the spacing should be between lines
- Visual
- Show Date – if you are interested in when the trend change select this. Default is true
- Uptrend color – default to Green arrow
- Downtrend color – defaults to Red arrow
- Display in data box – defaults to true. If false it will not display
- DrawOnPricePanel = false <– this is nard coded and prevents this from showing n the main display
- You will always need to have this display in its on panel
- Panel
- Select new Panel
MACDEMATrendMultiTimeFrame
- Serialization Issue with Brushes: brush properties marked with XmlIgnore