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

NIFTYTIGER CAMARILLA LEVELS for Amibroker (AFL)

Rating:
3 / 5 (Votes 4)
Tags:
amibroker, timeframe, pivot

Buy at L3 with sl L4 and short at H3 with sl H4 gives good results.

Similar Indicators / Formulas

Different Time Frames In one Chart
Submitted by ABUSLIMAN06 almost 8 years ago
RSI of WRO and WSO
Submitted by AKJWYXZ over 7 years ago
multi time frame with pivot
Submitted by njethva over 6 years ago
Time Channel
Submitted by Neo over 7 years ago
Previous Pivots
Submitted by Divyesh over 6 years ago
RAJASWAMY MULTI PIVIOT INTRADAY
Submitted by rajaswamy about 8 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Niftytiger Camarilla Levels");

// Background color

SetChartBkGradientFill( ParamColor("BgTop", colorDarkGrey),
ParamColor("BgBottom", colorDarkGrey),ParamColor("titleblock",colorDarkGrey ));

EntrySignal = C > ( LLV( L, 20 ) + 2 * ATR( 10 ) ); 
ExitSignal = C < ( HHV( H, 20 ) - 2 * ATR( 10 ) ); 
Color = IIf( EntrySignal, colorBlue, IIf( ExitSignal, colorRed, colorGrey50 ));
Plot( C, "Price", Color, styleBar | styleThick );
//---- Camarilla pivot points 

DayH = TimeFrameGetPrice("H", inDaily, -1);// yesterdays high 
DayL = TimeFrameGetPrice("L", inDaily, -1);//low 
DayC = TimeFrameGetPrice("C", inDaily, -1);//close 
DayO = TimeFrameGetPrice("O", inDaily);// current day open 
HiDay = TimeFrameGetPrice("H", inDaily); 
LoDay = TimeFrameGetPrice("L", inDaily);


TimeFrameSet( inDaily );

R6 = (DayH / DayL) * DayC * 1.002;
H5 = (DayH / DayL) * DayC;
H4 = (((DayH / DayL) + 0.83) / 1.83) * DayC;
H3 = ( ( (DayH / DayL) + 2.66) / 3.66) * DayC;
H2 = ( ( (DayH / DayL) + 4.5) / 5.5) * DayC;
H1 = ( ( (DayH / DayL) + 10) / 11) * DayC;
 
L1 = (2- ( ( (DayH / DayL) + 10) / 11)) * DayC;
L2 = (2-( (DayH / DayL) + 4.5) / 5.5) * DayC;
L3 = (2-(( DayH / DayL) + 2.66) / 3.66) * DayC;
L4 = (2-( (DayH / DayL) + 0.83) / 1.83) * DayC;
L5 = (2-( DayH / DayL)) * DayC;
S6 = (2-( DayH / DayL)) * DayC * 0.998;


ShowH5 = ParamToggle("H5", "No|Yes");
H5Color=ParamColor( "H5Color", colorGold );
ShowH4 = ParamToggle("H4", "yes|no");
H4Color=ParamColor( "H4Color", colorDarkRed );
ShowH3 = ParamToggle("H3", "yes|no");
H3Color=ParamColor( "H3Color", colorRed );
ShowH2 = ParamToggle("H2", "No|Yes");
H2Color=ParamColor( "H2Color", colorOrange );
ShowH1 = ParamToggle("H1", "No|Yes");
H1Color=ParamColor( "H1Color", colorOrange );

ShowL1 = ParamToggle("L1", "No|Yes");
L1Color=ParamColor( "L1Color", colorOrange );
ShowL2 = ParamToggle("L2", "No|Yes");
L2Color=ParamColor( "L2Color", colorOrange );
ShowL3 = ParamToggle("L3", "yes|no");
L3Color=ParamColor( "L3Color", colorGreen );
ShowL4 = ParamToggle("L4", "yes|no");
L4Color=ParamColor( "L4Color", colorDarkGreen );
ShowL5 = ParamToggle("L5", "No|Yes");
L5Color=ParamColor( "L5Color", colorGold );

//Shadowcolor = ParamColor("Shadow",ColorRGB(40,30,20));
//ShadowcoloH1 = ParamColor("Shadow1",ColorRGB(20,30,20));
//ShadowcoloH2 = ParamColor("Shadow2",ColorRGB(30,40,0));

//style = styleDots | styleThick + styleNoRescale ; 
style = styleLine + styleNoRescale ; 

if(ShowH5 == True)
Plot(H5, "H5",H5Color,style);
if(ShowH4 == False) 
Plot(H4, "H4",H4Color,Style);
if(ShowH3 == False)
Plot(H3, "H3",H3Color,styleDots,styleThick,1);
if(ShowH2 == True) 
Plot(H2, "H2",H2Color,styleLine);
if(ShowH1 == True)
Plot(H1, "H1",H1Color,styleLine);

if(ShowL1 == True)
Plot(L1, "L1",L1Color,styleLine);
if(ShowL2 == True)
Plot(L2, "L2",L2Color,styleLine);
if(ShowL3 == False)
Plot(L3, "L3",L3Color,styleDots,styleThick,1);
if(ShowL4 == False) 
Plot(L4, "L4",L4Color,style);
if(ShowL5 == True) 
Plot(L5, "L5",L5Color,style); 

ToolTip=StrFormat("Open: %g\nHigh: %g\nLow: %g\nClose: %g (%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1)));
TimeFrameRestore();

Title = EncodeColor(colorWhite)+ "NIFTYTIGER CAMARILLA LEVELS" + " - " +  Name() + " - " + EncodeColor(colorWhite)+ Interval(2) + EncodeColor(colorWhite) +
 "  - " + Date() +" - "
//+ WriteIf(Col_action==colorGreen, EncodeColor(colorGreen)+"stay LONG","")+ WriteIf(Col_action==colorRed, EncodeColor(colorRed)+"stay SHORT","")+  WriteIf(Col_action==colorBlack, EncodeColor(colorYellow)+"No Trend","")+"\n"
+ "Vol= "+ WriteVal(V) +WriteIf ( V > MA(V,26) ,EncodeColor(colorWhite)+"  UP "+ (V/MA(V,26))*100 + " %", EncodeColor(colorWhite)+"  DOWN "+ (V/MA(V,26))*100 + " %")
+ EncodeColor(colorWhite)+   "\n H5 (LONG BREAKOUT TARGET): "+ EncodeColor(colorWhite)+H5
+ EncodeColor(colorWhite)+   "\n H4 (SHORT SL & LONG BREAKOUT): "+ EncodeColor(colorWhite)+H4
+ EncodeColor(colorWhite)+   "\n H3 (SHORT): "+ EncodeColor(colorWhite)+H3
+ EncodeColor(colorWhite)+   "\n H2: "+ EncodeColor(colorWhite)+H2
+ EncodeColor(colorWhite)+   "\n H1: "+ EncodeColor(colorWhite)+H1
+ EncodeColor(colorWhite)+   "\n L1: "+ EncodeColor(colorWhite)+L1
+ EncodeColor(colorWhite)+   "\n L2: "+ EncodeColor(colorWhite)+L2
+ EncodeColor(colorWhite)+   "\n L3 (LONG): "+ EncodeColor(colorWhite)+L3
+ EncodeColor(colorWhite)+   "\n L4 (LONG SL & SHORT BREAKOUT): "+ EncodeColor(colorWhite)+L4
+ EncodeColor(colorWhite)+   "\n L5 (SHORT BREAKOUT TARGET): "+ EncodeColor(colorWhite)+L5;
_SECTION_END();

4 comments

1. northstar

Good.

2. madhavareddy1203

Good one…

Plz add buy and sell signals in chart.. as per ur logic.

3. niftytiger

dear madhavareddy1203 , this system giving the levels as u can trade on them, so no need of buy and sell signals.

4. vks

sir show the pivot point in this afl

Leave Comment

Please login here to leave a comment.

Back