Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Multi Time Frame By Chandrakant for Amibroker (AFL)

Rating:
5 / 5 (Votes 1)
Tags:
amibroker, timeframe, heiken

Hi

I got this from TJ and looks good.

Rakesh

Similar Indicators / Formulas

Different Time Frames In one Chart
Submitted by ABUSLIMAN06 over 12 years ago
KaKa MultiTimeFrame
Submitted by shogun over 12 years ago
multi time frame with pivot
Submitted by njethva almost 11 years ago
RSI of WRO and WSO
Submitted by AKJWYXZ about 12 years ago
Time Channel
Submitted by Neo about 12 years ago
Marlyn't NewMomo
Submitted by genkumag over 12 years ago

Indicator / Formula

Copy & Paste Friendly
// created by chandrakant
/*1. Here are some observations to keep in mind that will help assure 
you are in a good trending move which is detrimental to the success 
of the trade moving higher before the inevitable over exhausted trend.
 
2 Consider only going long on the 5M if the 30M (two rows above) is also blue. 

3 Consider the 1hr row as well being blue since it has an effect too.

4 The 15M row has to be blue with NO exceptions

5 The 30M row if blue has less effect on the trade as compared to the 15M row 
but keep this in mind. The 30M row being blue helps the 15M row continue to stay blue. 

6 The 1hr row has even less effect OR importance but it too keeps the 30M 
from weakening to some minor degree. 
*/
// Define label bar (x) position location
SetChartBkColor( ParamColor( "bk ground", colorBlack) ); 
SetChartOptions(0,chartShowArrows|chartShowDates); 
gxs=Param("GRAPH spaceing",10,5,50,5); 
GraphXSpace = gxs;

blankRightBars = 5; //insert actual blank right bars specified in Preferences 
barsInView = Status("lastvisiblebarindex") - Status("firstvisiblebarindex") - blankRightBars;
Offset = Param("Offset Bar", 0.95, 0, 1, 0.01);
textOffset = BarCount - (Offset * barsInView);

_SECTION_BEGIN("default");

HaClose =(O+H+L+C)/4; 
HaOpen = AMA( Ref( HaClose, -1 ), 0.5 ); 
HaHigh = Max( H, Max( HaClose, HaOpen ) ); 
HaLow = Min( L, Min( HaClose, HaOpen ) );
PlotText(":"+Interval(2), textoffset,8.4880, formatChar,1);
 X=Haopen<Ref( Haopen,-1) OR AlmostEqual( Haopen,Ref(Haopen,-1));
C0 = IIf( Haopen > Haclose, colorRed, IIf( X,7,6));
Color = IIf( Haopen > Haclose,4, IIf( HaHigh < HaLow,colorYellow, 6));
Plot(2,"", Color,  styleHistogram+styleThick|styleOwnScale|styleNoLabel, 0, 100 );
Plot( 2.5,"",1,styleOwnScale|styleArea|styleNoLabel,0, 100 );
_SECTION_END();

_SECTION_BEGIN("2");
Compress2= Param("Compression",2,2,4,1); 
TimeFrameSet(Compress2* Interval());
HaClose2 =(O+H+L+C)/4; 
HaOpen2 = AMA( Ref( HaClose2, -1 ), 0.5 ); 
HaHigh2 = Max( H, Max( HaClose2, HaOpen2 ) ); 
HaLow2 = Min( L, Min( HaClose2, HaOpen2 ) ); 
PlotText(":"+Interval(2), textoffset,8.4905,formatChar,1);
TimeFrameRestore();
HAopen2f=TimeFrameExpand( Haopen2, Compress2* Interval()); 
Haclose2f=TimeFrameExpand( Haclose2, Compress2* Interval()); 
HaHigh2f=TimeFrameExpand( Hahigh2, Compress2* Interval());
HaLow2f=TimeFrameExpand( Halow2, Compress2* Interval());
Color2 = IIf( Haopen2f > Haclose2f,4, IIf( HaHigh2f < HaLow2f,colorYellow, 6));
Plot(4,"", Color2,  styleHistogram+styleThick|styleOwnScale|styleNoLabel, 0, 100 );
Plot( 4.5,"",colorBlack,styleOwnScale|styleArea|styleNoLabel,0, 100 );
_SECTION_END();
_SECTION_BEGIN("3");
Compress3= Param("Compression3",4,4,100,1); 
TimeFrameSet(Compress3* Interval());
HaClose3 =(O+H+L+C)/4; 
HaOpen3 = AMA( Ref( HaClose3, -1 ), 0.5 ); 
HaHigh3 = Max( H, Max( HaClose3, HaOpen3 ) ); 
HaLow3 = Min( L, Min( HaClose3, HaOpen3 ) ); 
PlotText(":"+Interval(2), textoffset,8.4926, formatChar,1);
TimeFrameRestore();
HAopen3f=TimeFrameExpand( Haopen3, Compress3* Interval());  
Haclose3f=TimeFrameExpand( Haclose3, Compress3* Interval()); 
HaHigh3f=TimeFrameExpand( Hahigh3, Compress3* Interval());
HaLow3f=TimeFrameExpand( Halow3, Compress3* Interval());
color3 = IIf( Haopen3f > Haclose3f,4, IIf( HaHigh3f < HaLow3f,colorYellow,6));
Plot(6,"", Color3,  styleHistogram+styleThick|styleOwnScale|styleNoLabel, 0, 100 );
Plot( 6.5,"",colorBlack,styleOwnScale|styleArea|styleNoLabel,0, 100 );
_SECTION_END();
_SECTION_BEGIN("4");
Compress4= Param("Compression4",8,8,500,10); 
TimeFrameSet(Compress4* Interval());
HaClose4 =(O+H+L+C)/4; 
HaOpen4 = AMA( Ref( HaClose4, -1 ), 0.5 ); 
HaHigh4 = Max( H, Max( HaClose4, HaOpen4 ) ); 
HaLow4 = Min( L, Min( HaClose4, HaOpen4 ) ); 
PlotText(":"+Interval(2), textoffset, 8.4950, formatChar,1);
TimeFrameRestore();
HAopen4f=TimeFrameExpand( Haopen4, Compress4* Interval());  
Haclose4f=TimeFrameExpand( Haclose4, Compress4* Interval());
HaHigh4f=TimeFrameExpand( Hahigh4, Compress4* Interval());
HaLow4f=TimeFrameExpand( Halow4, Compress4* Interval());
Color4 = IIf( Haopen4f > Haclose4f,4, IIf( HaHigh4f < HaLow4f,colorYellow, 6));
Plot(8,"", Color4,  styleHistogram+styleThick|styleOwnScale|styleNoLabel, 0, 100 );
Plot( 8.5,"",colorBlack,styleOwnScale|styleArea|styleNoLabel,0, 100 );
_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.

Back