plz help in macd afl we want daily chart value in weekly chart

#1
Values of indicators of respective higher time frames remain constant on lower time frames.

The same get changed on higher time frames.

Help needed to to display lower time frame on higher time frame..
- See more at: http://prasadbrao.blogspot.in/2013/07/help.html#sthash.Elzfo34P.dpuf

here is macd afl....plz help

_SECTION_BEGIN("macd trail");
m1 = MACD(12, 26);
s1 = Signal(12,26,9);
HIST = m1-s1;
/*********** VALUE WUD REMAIN CONSTANT FOR DAILY AND ITS LOWER TF****************///////
Plot(HIST, "MACD Histogram", colorWhite, styleHistogram | styleThick);
TimeFrameSet(inDaily);
HIST_DAILY = MACD(12, 26) - Signal(12,26,9);
//HIST_DAILY = TimeFrameCompress( HIST_DAILY, inDaily );
TimeFrameRestore();
HIST_DAILY1 = TimeFrameExpand (HIST_DAILY, inDaily,expandFirst );
GfxTextOut("MACD DAILY value should be constant[i.e.-12.71] on all timeframes (remains constant on time frames less than daily but changes on timeframes higher than daily) "+HIST_DAILY1,20,20);


plz help anybody who can accept this challenge and do this...:thumb:
 

Nehal_s143

Well-Known Member
#2
Values of indicators of respective higher time frames remain constant on lower time frames.

The same get changed on higher time frames.

Help needed to to display lower time frame on higher time frame..
- See more at: http://prasadbrao.blogspot.in/2013/07/help.html#sthash.Elzfo34P.dpuf

here is macd afl....plz help

_SECTION_BEGIN("macd trail");
m1 = MACD(12, 26);
s1 = Signal(12,26,9);
HIST = m1-s1;
/*********** VALUE WUD REMAIN CONSTANT FOR DAILY AND ITS LOWER TF****************///////
Plot(HIST, "MACD Histogram", colorWhite, styleHistogram | styleThick);
TimeFrameSet(inDaily);
HIST_DAILY = MACD(12, 26) - Signal(12,26,9);
//HIST_DAILY = TimeFrameCompress( HIST_DAILY, inDaily );
TimeFrameRestore();
HIST_DAILY1 = TimeFrameExpand (HIST_DAILY, inDaily,expandFirst );
GfxTextOut("MACD DAILY value should be constant[i.e.-12.71] on all timeframes (remains constant on time frames less than daily but changes on timeframes higher than daily) "+HIST_DAILY1,20,20);


plz help anybody who can accept this challenge and do this...:thumb:
one can use weekly chart values on daily chart using expand timeframe but i dont think reverse (using daily vlaues on weekly chart) is possible.....
 

Similar threads