Login Page - Create Account

Support Board


Date/Time: Fri, 10 May 2024 21:02:19 +0000



Post From: Pull Multiple Timeframes into a Single Indicator

[2020-05-14 01:42:45]
User497645 - Posts: 7
Hello,

I am working on a custom indicator, nothing fancy its 5 colored layers that reflect various moving average positons. What I want to achieve is have each moving average reflects a different time zone. See attached image for how this indicator looks.

Initially in the settings, my goal was to add "timeframe" so that I could set type, period, and time for each moving average. But I believe this cannot be done, adding multiple time-frames (MTF) into the indicator directly. Each timeframe has to be added via the chart, so using Study/Price Overlay.

Using the Study/Price Overlay is fine, but it only allows one timeframe to be selected for the indicator as a whole, so all 5 layers ar set to either chart time, or Study/Price Overlay time. My goal is to have one timeframe per Layer, each of the colored bars.

I can of course just create the indicator with 1 Layer, and add 5 of them but this defeats the purpose and is quite messy on the charts.

So the question is there a way I can reference multiple timeframes to a single indicator, either via Study/Price Overlay or similar or via specific indicator coding?

Thanks Marc
Date Time Of Last Edit: 2020-05-14 01:50:11
imageMALaerSettings.PNG / V - Attached On 2020-05-14 01:42:19 UTC - Size: 89.34 KB - 420 views
imageMALayer1.PNG / V - Attached On 2020-05-14 01:42:24 UTC - Size: 250.98 KB - 457 views