Mudraa.com
Search Mudraa.com

Home







Topic: Learning Section
vimal raj
View Profile

intradayafl.com amibroker formula [Vimalraj ]

From : Vimal Raj at 04:22 PM - Oct 23, 2012 ( )
Total Views: 8201
17 , 36 Bookmark

Share it on Facebook

download here 

http://jackpottrade.forumotion.in/t152-intradayaflcom-amibroker-formula



From: vimal raj at 12:18 PM - Oct 25, 2012( )




From: vimal raj at 11:22 AM - Nov 12, 2012( )






From: vimal raj at 04:40 PM - Nov 15, 2012( )




From: vimal raj at 09:35 AM - Nov 16, 2012( )


USD INR 5 MIN CHART 




In Reply to above Message (1 to 20 out of 83) -- Latest Replies are put on Top | First | << Previous | Next >> | Last |
ankur garg
View Profile
From : Ankur Garg at 06:39 PM - Apr 01, 2013 ( )

_SECTION_BEGIN("Stupid Functions");

function HAI_F1(no)
{
res=HHV(H,no);
sup=LLV(L,no);
avd=IIf(C>Ref(res,-1),1,IIf(C<Ref(sup,-1),-1,0));
avn=ValueWhen(avd!=0,avd,1);
return (IIf(avn==1,sup,res));
}

function HAI_F2(no)
{
return (Cross(C,HAI_F1(no)));
}

function HAI_F3(no)
{
return (Cross(HAI_F1(no),C));
}

function HAI_F4(no)
{
prev=AMA2(C,1,0);
d=IIf(C>Ref(Max(Max(H,Ref(H,-20)),Max(Ref(H,-10),Ref(H,-15))),-1),Min(Min(L,Ref(L,-20)),Min(Ref(L,-10),Ref(L,-15))),
IIf(C<Ref(Min(Min(L,Ref(L,-20)),Min(Ref(L,-10),Ref(L,-15))),-1),Max(Max(H,Ref(H,-20)),Max(Ref(H,-10),Ref(H,-15))),PREV));
a=Cross(Close,d);
b=Cross(d,Close);
return (IIf(BarsSince(a)<BarsSince(b),1,0));
}

function HAI_F5(no)
{
state = HAI_F4(no);
s=state>Ref(state,-1);
ss=state<Ref(state,-1);
return (state==Ref(state,-1));
}


function HAI_F6(p,n,s,m)
{
return (PDI(p)>MDI(n)AND Signal(s)<MACD(m));
}

function HAI_F7(p,n,s,m)
{
return (MDI(n)>PDI(p)AND Signal(s)>MACD(m));
}


_SECTION_END();


_SECTION_BEGIN("Swing");

no = 22;
sloss = HAI_F1(no);
a = HAI_F2(no);
b = HAI_F3(no);
state = HAI_F4(no);
sss = HAI_F5(no);
uptrend = HAI_F6(20,10,29,22);
downtrend = HAI_F7(20,10,29,13);

style = a * styleStaircase + b * styleStaircase;
PlotShapes(a,style, IIf(a,colorGreen,colorRed), 0, IIf(a,Low,High));
_SECTION_END();

col=IIf(state == 1 ,51,IIf(state ==0,4,1));
Plot(C,"",Col,64);
PlotShapes( shapeUpArrow * a, colorGreen,0,L);
PlotShapes( shapeDownArrow * b, colorRed,0,H);

Filter = a OR b OR sss ;
AddColumn(C,"close",1.2);
AddColumn( IIf( a, 66,1 ), "buy", formatChar, 1, bkcolor =IIf (a,colorYellow, colorPink ));
AddColumn( IIf( b, 83,1 ), "sell", formatChar, 1, bkcolor =IIf (b,colorPink, colorYellow ));
AddColumn( IIf( sss, 87,1 ), "wait", formatChar, 1, bkcolor =IIf (sss,colorYellow, colorRed ));

_SECTION_BEGIN("www.IntradayAFL.com");
_N(Title = EncodeColor(colorWhite) + "{{NAME}} - {{INTERVAL}} {{DATE}} " );
_SECTION_END();

_SECTION_BEGIN("Intraday AFL System");
Buy = a;
Sell = b;

PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorGreen, 0, L, Offset=-30);
PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorLime, 0, L, Offset=-40);
PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorWhite, 0,L, Offset=-35);
PlotShapes(IIf(Sell, shapeSquare, shapeNone),colorRed, 0, H, Offset=30);
PlotShapes(IIf(Sell, shapeSquare, shapeNone),colorOrange, 0,H, Offset=40);
PlotShapes(IIf(Sell, shapeDownArrow, shapeNone),colorWhite, 0,H, Offset=-35);

dist = ATR(20);
for (i=0; i<BarCount; i++) {
if ( Buy[i] )
PlotText("Buy:" + O[ i ], i, L[ i ]-3*dist[i], colorGreen);
if ( Sell[i] )
PlotText("Sell:" + O[ i ], i, H[ i ]+3*dist[i], colorRed);
}
_SECTION_END();

_SECTION_BEGIN("Trend");

Plot( 2, /* defines the height of the ribbon in percent of pane width */"ribbon",
IIf( uptrend, colorGreen, IIf( downtrend, colorRed, 0 )), /* choose color */
styleOwnScale|styleArea|styleNoLabel, -0.5, 100 );
_SECTION_END();

//d = Close > Ref( ChandelierHL(ATR(3),20), -1);
//e =Close < Ref( ChandelierHL(ATR(3),20), -1);
//f = Close < Ref( ChandelierHL(ATR(3),20), -1);
//g = Close > Ref( ChandelierHL(ATR(3),20), -1);

Buy = a AND uptrend ;
Short = b AND downtrend ;
Sell = b AND downtrend ;
Cover = a AND uptrend;

Buy=ExRem(Buy,Sell);
Sell=ExRem(Sell,Buy);
Cover=ExRem(Cover,Short);
Short=ExRem(Short,Cover);

Filter=Buy OR Sell;
Filter= Cover OR Short;

AddColumn( Buy, "Buy", 1);
AddColumn(Sell, "Sell", 1);
AddColumn(Close,"Close",1.2);
AddColumn(Volume,"Volume",1.0);

// Plot the Buy and Sell arrows.
shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes(shape, IIf(Buy,colorGreen,colorRed), 0, IIf(Buy,Low,High));

//Plot(sloss,"Swing",colorYellow,styleStaircase);

//SetChartBkGradientFill( ParamColor("BgTop", ColorRGB( 172,172,172 )),

//ParamColor("BgBottom", ColorRGB( 172,172,172 )),ParamColor("titleblock",ColorRGB( 172,172,172 )));
//Alerts
AlertIf( Buy, "SOUND C:\\Windows\\Media\\tada.wav", "Buy",1,1+2+4+8);
AlertIf( Short, "SOUND C:\\Windows\\Media\\notify.wav", "Short",2,1+2+4+8);

GraphXSpace = 5;

/* -------------------------------------------------------------------------------------- */

SetChartBkColor(colorDarkOliveGreen = 46);
SetChartOptions(0,chartShowArrows|chartShowDates);

/* -------------------------------------------------------------------------------------- */

////////////////////////////////////////////////////////////////////////////////////////////////
messageboard = ParamToggle("Message Board","Show|Hide",0);
showsl = ParamToggle("Stop Loss Line", "Show|Hide", 0);

style = a * styleStaircase + b * styleStaircase;

PlotShapes(a,style, IIf(a,colorGreen,colorRed), 0, IIf(a,Low,High));
if (showsl == 0) Plot(sloss,"Stop Loss",colorCustom14,styleDots);
exitlong = Cross(sloss, H);
PlotShapes(exitlong * shapeNone, colorBlack,0,H,-10);
exitshort = Cross(L, sloss);
PlotShapes(exitshort * shapeNone, colorBlack,0,L,-15);

Buy = exitshort;
Sell = exitlong;
//Short = Sell;
//Cover = Buy;
Buy = ExRem(Buy,Sell);
Sell = ExRem(Sell,Buy);
//Short = ExRem(Short, Cover);
//Cover = ExRem(Cover, Short);
AlertIf( Buy, "", "BUY @ " + C, 1 );
AlertIf( Sell, "", "SELL @ " + C, 2 );

for (i=BarCount-1; i>1; i--) {
if (Buy[i] == 1) {
entry = O[i];
sig = "BUY";
sl = sloss[i];
tar1 = entry + (entry * .0040);
tar2 = entry + (entry * .0085);
tar3 = entry + (entry * .0179);
bars = i;
i = 0;
}
if (Sell[i] == 1) {
sig = "SELL";
entry = O[i];
sl = sloss[i];
tar1 = entry - (entry * .0040);
tar2 = entry - (entry * .0085);
tar3 = entry - (entry * .0212);
bars = i;
i = 0;
}
}

Offset = 20;
Clr = IIf(sig == "BUY", colorLime, colorRed);
ssl = IIf(bars == BarCount-1, sloss[BarCount-1], Ref(sloss, -1));
sl = ssl[BarCount-1];

printf("Last " + sig + " Signal came " + (BarCount-bars) + " bars ago");
printf("\n" + sig + " @ : " + entry + "\nStop Loss : " + sl + " (" + WriteVal(IIf(sig == "SELL",entry-sl,sl-entry), 2.2) + ")"+ "\nTarget_1 : " + tar1 + "\nTarget_2 : " + tar2 + "\nTarget_3 : " + tar3);
printf("\nCurrent P/L : " + WriteVal(IIf(sig == "BUY",(C-entry),(entry-C)),2.2));

if (messageboard == 0) {
GfxSelectFont( "Tahoma", 13, 100 );
GfxSetBkMode( 1 );
GfxSetTextColor( colorWhite );

if (sig =="BUY")
GfxSelectSolidBrush( colorGreen ); // this is the box background color
else
GfxSelectSolidBrush( colorRed ); // this is the box background color

pxHeight = Status( "pxchartheight" ) ;
xx = Status( "pxchartwidth");
Left = 1100;
width = 310;
x = 05;
x2 = 200;

y = Status( "pxchartheight" );

GfxSelectPen( colorGreen, 1); // broader color
GfxRoundRect( x, y - 143, x2, y , 7, 7 ) ;
GfxTextOut( ( " www.IntradayAFL.com "), 10, y-140) ;
GfxTextOut( Name(),13,y-120);

GfxTextOut( ("" + WriteIf(sig =="BUY",sig + " @ ",sig + " @") + " : " + entry), 13, y-100);
GfxTextOut( ("Trailing SL : " + sl + " "), 13, y-80);
GfxTextOut( ("TGT:1 : " + tar1), 13, y -60);
GfxTextOut( ("TGT:2 : " + tar2), 13,y-40);
GfxTextOut( ("Current P/L : " + WriteVal(IIf(sig == "BUY",(C-entry),(entry-C)),2.2)), 13, y-20);;
}


vimal raj
View Profile
From : Vimal Raj at 06:29 PM - Apr 01, 2013 ( )

dear friends,

now delete the code in that forum....now the code link is available in trader ji forum... can search and download ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

dear admin / moderator,

kindly delete this thread....

regards,

vimalraj.


Arush K
View Profile
From : Arush K at 07:29 PM - Mar 31, 2013 ( )

Guys beware...this guy always posts.... any download links...

that to divert people to his forum... and moreover you can not download anything .... till you forcefully register to his forum.....

 

and after registering to forum.... he starts sending promotional    emails... for his paid services.... and starts promoting and spamming your email... without your permission...

 

If he really wanted to share something... he can simply upload it.. on free sites like 4shared...


ankur garg
View Profile
From : Ankur Garg at 05:14 PM - Mar 31, 2013 ( )

pls send my inbox

intradayafl.com amibroker formula


Nehal Suthar
View Profile
From : Nehal Suthar at 07:56 PM - Mar 03, 2013 ( )

Hello Vimal Raj,

On the link provided in your first post of Oct 23, 2012, AFL is not available.

Please check and repost it. Thanks in advance.


vimal raj
View Profile
From : Vimal Raj at 11:40 PM - Dec 31, 2012 ( )


vimal raj
View Profile
From : Vimal Raj at 02:42 PM - Dec 24, 2012 ( )


vimal raj
View Profile
From : Vimal Raj at 04:42 PM - Dec 22, 2012 ( )


vimal raj
View Profile
From : Vimal Raj at 07:29 PM - Dec 20, 2012 ( )

copper chart


vimal raj
View Profile
From : Vimal Raj at 11:29 PM - Dec 19, 2012 ( )


vimal raj
View Profile
From : Vimal Raj at 05:29 PM - Dec 19, 2012 ( )


vimal raj
View Profile
From : Vimal Raj at 02:14 PM - Dec 18, 2012 ( )


vimal raj
View Profile
From : Vimal Raj at 04:23 PM - Dec 17, 2012 ( )

CRUDEOIL CHART 15 MIN 


vimal raj
View Profile
From : Vimal Raj at 02:01 PM - Dec 16, 2012 ( )

NICKEL 15 MIN CHART 


vimal raj
View Profile
From : Vimal Raj at 10:12 AM - Dec 15, 2012 ( )

BANKNIFTY12DEC12500CE option intraday chart


vimal raj
View Profile
From : Vimal Raj at 09:22 PM - Dec 14, 2012 ( )


vimal raj
View Profile
From : Vimal Raj at 05:42 PM - Dec 13, 2012 ( )


jayadev mishra
View Profile
From : Jayadev Mishra at 10:47 PM - Dec 12, 2012 ( )

Dea Sir,

5 minute or 15 minute time frame is based on stock price or  on which basis.

 

Pls guide.


vimal raj
View Profile
From : Vimal Raj at 02:21 PM - Dec 12, 2012 ( )


vimal raj
View Profile
From : Vimal Raj at 09:44 AM - Dec 12, 2012 ( )

copper 15 min chart


1 to 20 out of 83 | First | << Previous | Next >> | Last |
(1) 2 3 4 5

Login to participate in discussion.



Recently Discussed Posts of Vimal Raj

Learning Section >> Intraday trading strategies [ VIMALRAJ ] (25)

General Discussion >> GreenTree_Nifty_Analysis_Active_v 8.0 [vimalraj] (58)

General Discussion >> Nifty spot analysis [Vimalraj] (180)

General Discussion >> Free nse mcx real time data in metatrader (59)

Commodity Calls >> MCX LIVE PRICE ~FIRSTCHARTING [VIMALRAJ] (29)