Traderji.com - Discussion forum for Stocks Commodities & Forex


My Amibroker AFL ( Mahadev )

Discuss My Amibroker AFL ( Mahadev ) at the Advanced Trading Strategies within the Traderji.com - Discussion forum for Stocks Commodities & Forex; HI ( remove spaces in below link ) h t t p://www.mudraa. com/trading/135639/0/my-amibroker-afl. html i ...


Go Back   Traderji.com - Discussion forum for Stocks Commodities & Forex > METHODS & STRATEGIES > Advanced Trading Strategies


Advanced Trading Strategies Discuss Advanced Trading Systems & Strategies.


Reply
 
Thread Tools
  #1  
Old 23rd August 2012, 09:37 PM
Member
 
Join Date: Sep 2010
Posts: 52
Thanks: 14
Thanked 2 Times in 2 Posts
yrjadeja is on a distinguished road
Smile My Amibroker AFL ( Mahadev )

HI


( remove spaces in below link )

h t t p://www.mudraa. com/trading/135639/0/my-amibroker-afl. html

i have posted AFL on Mudraa go to above link

thanks

better to take RSI or MACD for confirmation of signals




Last edited by yrjadeja; 23rd August 2012 at 10:04 PM.
Reply With Quote
Sponsored Links
  #2  
Old 23rd August 2012, 09:37 PM
Member
 
Join Date: Sep 2010
Posts: 52
Thanks: 14
Thanked 2 Times in 2 Posts
yrjadeja is on a distinguished road
Default Re: My Amibroker AFL ( Mahadev )

http://www.mudraa.com/trading/135639...roker-afl.html
Reply With Quote
  #3  
Old 23rd August 2012, 09:57 PM
Member
 
Join Date: Sep 2007
Location: Jaipur
Posts: 2,238
Thanks: 806
Thanked 918 Times in 666 Posts
rh6996 is a splendid one to beholdrh6996 is a splendid one to beholdrh6996 is a splendid one to beholdrh6996 is a splendid one to beholdrh6996 is a splendid one to beholdrh6996 is a splendid one to beholdrh6996 is a splendid one to beholdrh6996 is a splendid one to behold
Default Re: My Amibroker AFL ( Mahadev )

Why not post a current chart of any stock or Nifty with this AFL.

Here is the AFL I copied from Mudraa

SECTION_BEGIN("Mahadev");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );


A = Wilders( H,34 );
B = Wilders( L,34 );


x= Ref(A,-34);
y= Ref(B,-34);

D=.0009;
xt=x+x*D;
xb=x-x*D;

yt=y+y*D;
yb=y-y*D;

/* Buy or Sell Condition */
Buy = Cross(Close,xt);
Sell = Cross(yt,Close);
Buy = ExRem(Buy,Sell);
Sell = ExRem(Sell,Buy);

AlertIf( Buy, "SOUND C:\\Windows\\Media\\notify.wav", "Audio alert", 2);
AlertIf( Sell, "SOUND C:\\Windows\\Media\\tada.wav", "Audio alert", 2 );

Filter = Buy OR Sell;
/* Exploration Parameters */
AddTextColumn( FullName(), "Company Name" );
AddColumn( Buy, "Buy", 1 );
AddColumn( Sell, "Sell", 1 );
AddColumn( C, "Close", 1.3 );
AddColumn( H, "High", 1.3 );

Title = EncodeColor(colorWhite)+ "Mahadev" + " - " + Name() + " - " + EncodeColor(colorRed)+ Interval(2) + EncodeColor(colorWhite) +
" - " + Date() +" - "+"\n" +EncodeColor(colorRed) +"Op-"+O+" "+"Hi-"+H+" "+"Lo-"+L+" "+
"Cl-"+C+" "+ "Vol= "+ WriteVal(V)+"\n"+
EncodeColor(colorLime)+
WriteIf (Buy , " GO LONG / Reverse Signal at "+C+" ","")+
WriteIf (Sell , " EXIT LONG / Reverse Signal at "+C+" ","")+"\n"+EncodeColor(colorWhite)+
WriteIf(Sell , "Total Profit/Loss for the Last Trade Rs."+(C-BuyPrice)+"","")+
WriteIf(Buy , "Total Profit/Loss for the Last trade Rs."+(SellPrice-C)+"","");

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



Works good in 5 mint for equity market & for commodity use 15mint chart.

Friends please give ur valuable suggetion/view about this afl.

************************************************** *

It is suggested to use it in 7 minutes TF! However more ppl would prefer a 5 minute TF as that is the most popular Data available easily!
Reply With Quote
  #4  
Old 23rd August 2012, 10:03 PM
Member
 
Join Date: Sep 2010
Posts: 52
Thanks: 14
Thanked 2 Times in 2 Posts
yrjadeja is on a distinguished road
Default Re: My Amibroker AFL ( Mahadev )

screen shot of last 4 days

Last edited by yrjadeja; 10th September 2012 at 06:07 PM.
Reply With Quote
  #5  
Old 23rd August 2012, 11:14 PM
a1b1trader's Avatar
Member
 
Join Date: Aug 2012
Posts: 2,164
Thanks: 2,474
Thanked 2,739 Times in 1,386 Posts
a1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond repute
Default Re: My Amibroker AFL ( Mahadev )

Quote:
Originally Posted by rh6996 View Post
Why not post a current chart of any stock or Nifty with this AFL.

Here is the AFL I copied from Mudraa

SECTION_BEGIN("Mahadev");

[.....]

_SECTION_END();

Works good in 5 mint for equity market & for commodity use 15mint chart.

Friends please give ur valuable suggetion/view about this afl.

************************************************** *

It is suggested to use it in 7 minutes TF! However more ppl would prefer a 5 minute TF as that is the most popular Data available easily!
Showing error in ami 5.5
Please check
Reply With Quote
  #6  
Old 24th August 2012, 08:54 AM
Member
 
Join Date: Sep 2010
Posts: 52
Thanks: 14
Thanked 2 Times in 2 Posts
yrjadeja is on a distinguished road
Default Re: My Amibroker AFL ( Mahadev )

Quote:
Originally Posted by a1b1trader View Post
Showing error in ami 5.5
Please check
( give screen shot of ur error will try to solve it )
Reply With Quote
  #7  
Old 24th August 2012, 10:53 AM
Member
 
Join Date: Jun 2006
Posts: 875
Thanks: 348
Thanked 600 Times in 348 Posts
johnnypareek is a name known to alljohnnypareek is a name known to alljohnnypareek is a name known to alljohnnypareek is a name known to alljohnnypareek is a name known to alljohnnypareek is a name known to all
Default Re: My Amibroker AFL ( Mahadev )

at very first line put a "_" . which will looks like this _section_begin.

johnny
Reply With Quote
The Following User Says Thank You to johnnypareek For This Useful Post:
a1b1trader (24th August 2012)
  #8  
Old 24th August 2012, 11:51 AM
a1b1trader's Avatar
Member
 
Join Date: Aug 2012
Posts: 2,164
Thanks: 2,474
Thanked 2,739 Times in 1,386 Posts
a1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond reputea1b1trader has a reputation beyond repute
Default Re: My Amibroker AFL ( Mahadev )

Thanks Johny Bhai for your help.

A request Bro, can you please tell/explain a simple method to correct such minor mistakes in AFL, as I have a few AFLs that are not working and showing errors and I want to correct those AFLs.

Although it is mentioned, mostly, in the error
Use 'Edit Formula' to correct error
But I couldnt be able to locate this 'Edit Formula" sheet in amibroker.
So please help me out.
Thanks
Reply With Quote
  #9  
Old 24th August 2012, 11:53 AM
Member
 
Join Date: Sep 2010
Posts: 52
Thanks: 14
Thanked 2 Times in 2 Posts
yrjadeja is on a distinguished road
Default Re: My Amibroker AFL ( Mahadev )

Quote:
Originally Posted by a1b1trader View Post
Thanks Johny Bhai for your help.

A request Bro, can you please tell/explain a simple method to correct such minor mistakes in AFL, as I have a few AFLs that are not working and showing errors and I want to correct those AFLs.

Although it is mentioned, mostly, in the error
Use 'Edit Formula' to correct error
But I couldnt be able to locate this 'Edit Formula" sheet in amibroker.
So please help me out.
Thanks
give me ur mail id i will mail u afl. and direction where to put it if u know where to put then no worry
Reply With Quote
  #10  
Old 24th August 2012, 01:13 PM
Member
 
Join Date: May 2009
Posts: 112
Thanks: 6
Thanked 22 Times in 18 Posts
kirthi1987 is on a distinguished road
Default Re: My Amibroker AFL ( Mahadev )

Quote:
Originally Posted by yrjadeja View Post
screen shot of last 4 days
which timetrame ru using sirji


Reply With Quote
Reply

Bookmarks


Advertise Here


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads for: My Amibroker AFL ( Mahadev )
Thread Thread Starter Forum Replies Last Post
Amibroker For Dummies........a Beginner's Forum On How To Use Amibroker sanamtrade AmiBroker 505 18th April 2014 11:14 AM
NSE2AmiBroker v2.1 *** NEW [ Export EOD File to AmiBroker without starting AmiBroker taswsol Software 1 9th June 2013 01:21 AM
Har Har Mahadev praveen taneja General Chit Chat 5 11th February 2010 12:02 PM
NSE2AmiBroker v2.0 Directly Export EOD File to AmiBroker without starting AmiBroker taswsol Software 11 24th April 2008 02:00 PM


All times are GMT +5.5. The time now is 01:54 AM.

Indemnity, Disclaimer & Disclosure Notice:
By visiting Traderji.com you automatically indicate that you agree to our Forum Rules, Indemnity, Disclaimer & Disclosure Notice and General Content Disclaimer Notice and indemnify Traderji.com, its associates and related parties of all claims howsoever resulting from the usage of the forum/site.
Disclaimer: Trading or investing in stocks & commodities is a high risk activity. Any action you choose to take in the markets is totally your own responsibility. You are recommended to make appropriate enquiries and seek appropriate advise before sending money, incurring any expenses, acting on recommendations or entering into any commitment in relation to any advertisement published here. Traderji.com does not vouch for any claims made by the advertisers of products and services. Traderji.com will not be held liable for any consequences in the event such claims are not honoured by the advertisers. Traderji.com will not be liable for any, direct or indirect, consequential or incidental damages or loss arising out of the use of any information by anybody mentioned anywhere on this site.
Disclosure: The information in this forum is neither an offer to sell nor solicitation to buy any of the securities mentioned herein. The writers may or may not be trading in the securities mentioned.
All names or products mentioned are trademarks or registered trademarks of their respective owners.
General Content Disclaimer Notice:
In light of our policy of encouraging candid, open exchanges of views and the rapid distribution of information originating from many sources, Traderji.com cannot determine the accuracy or legality of any information that may be uploaded to the forum. Opinions, advice and all other information expressed by participants in discussions are those of the author. You rely on such information at your own risk. You are urged to seek professional advice for specific, individual situations and not rely solely on advice or opinions given in the discussions. Since Traderji.com is an open and free discussion forum, any comments made by members of this forum in their posts reflect their own views and not of the owner or administrator of Traderji.com. Thus the owner/administrator indemnify themselves of all claims whatsoever and will not be liable or responsible for any members comments/views in this forum Traderji.com. Although we constantly delete all irrelevant content and/or SPAM, if you should find any objectionable or offensive posts made by members of this forum which you would like to bring to our notice for removal then please Contact Us.
 


Copyright © www.Traderji.com 2001 - , All rights reserved.

Recommended Websites - www.TradersEdgeIndia.com - www.TradingPicks.com - www.MasterOfTrading.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243