Using Higher Timeframe Data for Imported Indicator?

Moderator: admin

Using Higher Timeframe Data for Imported Indicator?

Postby imxuf92 » Mon Feb 08, 2016 12:56 pm

Hello!

I'm creating an indicator that imports/consumes another indicator.
Is it possible to "run" that imported indicator for a higher timeframe dataset?

For example, if I'm viewing my indicator on the H4 chart, I might want to import the MA indicator, but view it using D1 data.

I've been wracking my brain trying to figure this out, but can't find a way to do it. Is this even possible?

Any advice is greatly appreciated!
imxuf92
 
Posts: 26
Joined: Sat Jan 23, 2016 6:55 pm

Re: Using Higher Timeframe Data for Imported Indicator?

Postby imxuf92 » Tue Feb 09, 2016 1:37 pm

SOLVED

I was able to modify the code from here: http://www.fxcodebase.com/bin/beta/IndicoreSDK-3.0/help/web-content.html#host.execute_getHistory.html

Using the second example, it enabled me to process/track the HTF values I needed.
imxuf92
 
Posts: 26
Joined: Sat Jan 23, 2016 6:55 pm


Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 13 guests