Namaste ----> Please help

crown

Well-Known Member
#1
Namaste

Dear all

Please help me regarding viewing different time frame MACD. For example, I use 10 minute candle chart. and 12,26,9 setting of MacD shows MacD for 10 minutes candle. Now, I also want to see MacD with same setting but for 5 minute candle. How can I place it on the same chart in Amibroker?

thanks in advance to all
 

rajeabc

Well-Known Member
#2
Namaste

Dear all

Please help me regarding viewing different time frame MACD. For example, I use 10 minute candle chart. and 12,26,9 setting of MacD shows MacD for 10 minutes candle. Now, I also want to see MacD with same setting but for 5 minute candle. How can I place it on the same chart in Amibroker?

thanks in advance to all
check this

TimeFrameSet (in5Minute);
r1 = Param( "Fast avg", 12, 2, 200, 1 );
r2 = Param( "Slow avg", 26, 2, 200, 1 );
r3 = Param( "Signal avg", 9, 2, 200, 1 );
Plot( ml = MACD(r1, r2), StrFormat(_SECTION_NAME()+"(%g,%g)", r1, r2), ParamColor("MACD color", colorRed ), ParamStyle("MACD style") );
Plot( sl = Signal(r1,r2,r3), "Signal" + _PARAM_VALUES(), ParamColor("Signal color", colorBlue ), ParamStyle("Signal style") );
Plot( ml-sl, "MACD Histogram", ParamColor("Histogram color", colorBlack ), styleNoTitle | ParamStyle("Histogram style", styleHistogram | styleNoLabel, maskHistogram ) );

TimeFrameRestore();
 

crown

Well-Known Member
#3
******************
sorry, it was unbalanced formula
my mistake
managed to correct it
thanks to all
 
Last edited:

crown

Well-Known Member
#4
Thanks a lot big brothers for all ur help

I am again in need of some help.

I want to have a filter in amibroker which can explore/scan results on weekly basis.

At present, all I need to find out the stocks which closed above and below their weekly highs and lows.

how to make the afl? please help

thanks to all
 
Thread starter Similar threads Forum Replies Date
V Introductions 0
L Introductions 2
V Introductions 0
I Introductions 0
O Introductions 2

Similar threads