Traderji.com - Discussion forum for Stocks Commodities & Forex

Amibroker afl construction query

Discuss Amibroker afl construction query at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; hi! i am a newbie and i need help from the senior members of the ...


Go Back   Traderji.com - Discussion forum for Stocks Commodities & Forex > TOOLS & RESOURCES > Software > AmiBroker

Notices


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #1  
Old 28th August 2007, 10:37 AM
Member
 
Join Date: Apr 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
pratus is on a distinguished road
Reputation: 20
Default Amibroker afl construction query

hi!

i am a newbie and i need help from the senior members of the forum.....

can anyone help me making this amibroker afl.....

conditions:

ema 10 (green colour) by 50(blue colour) by 200 (red colour)
buy signal when green crosses above blue......sell signal when green crosses below blue
Reply With Quote
Sponsored Links
  #2  
Old 28th August 2007, 10:45 AM
Member
 
Join Date: May 2006
Location: Kolkata
Posts: 1,098
Thanks: 1
Thanked 1 Time in 1 Post
swagat86 is on a distinguished road
Reputation: 25
Default Re: Amibroker afl construction query

Quote:
Originally Posted by pratus View Post
hi!

i am a newbie and i need help from the senior members of the forum.....

can anyone help me making this amibroker afl.....

conditions:

ema 10 (green colour) by 50(blue colour) by 200 (red colour)
buy signal when green crosses above blue......sell signal when green crosses below blue
Plot(C,"Price", colorBlack, styleCandle );

Buy=Cross( EMA(Close, 10),EMA(Close, 50));
Sell= Cross( EMA(Close, 50),EMA(Close, 10));
Plot(EMA(Close,10)," EMA1", colorBrightGreen,styleThick, 0,0,0);
Plot(EMA(Close,50)," EMA2", colorBlue,styleThick, 0,0,0);
Plot(EMA(Close,200)," EMA3", colorRed,styleThick, 0,0,0);
shape=Buy*shapeUpArrow+Sell*shapeDownArrow;
PlotShapes(shape,IIf(Buy,colorGreen,colorRed),0,II f(Buy,L,H));
Reply With Quote
  #3  
Old 28th August 2007, 11:07 AM
Member
 
Join Date: Apr 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
pratus is on a distinguished road
Reputation: 20
Default Re: Amibroker afl construction query

thank you so so so much swagat......very kind of u!

one more query:-

condition=

can u develop an afl which can intimate us about the script where the volume was above their average volume!


another query:-
can u develop an afl indicating MACD (period:26 12 9) and insert buy and sell arrows

sir.....i would be very thankfull if u could help me with these queries

awaiting your reply
Reply With Quote
  #4  
Old 28th August 2007, 11:16 AM
Member
 
Join Date: May 2006
Location: Kolkata
Posts: 1,098
Thanks: 1
Thanked 1 Time in 1 Post
swagat86 is on a distinguished road
Reputation: 25
Default Re: Amibroker afl construction query

Quote:
Originally Posted by pratus View Post
thank you so so so much swagat......very kind of u!

one more query:-

condition=

can u develop an afl which can intimate us about the script where the volume was above their average volume!


another query:-
can u develop an afl indicating MACD (period:26 12 9) and insert buy and sell arrows

sir.....i would be very thankfull if u could help me with these queries

awaiting your reply
Hi man,


no Sir and all, i dont like ppl callin me Sir
u can call me dude, stud etc


yes i can help u with all above afls but do give me exact condition. like how much is the exact avg or MACD is above signal line or so.

Thanks
Reply With Quote
  #5  
Old 28th August 2007, 12:23 PM
Member
 
Join Date: Apr 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
pratus is on a distinguished road
Reputation: 20
Default Re: Amibroker afl construction query

dear swagat
thanks for your reply! i am a newbie......can u develop signals of your own...i mean condition that are the best to trade a stock. the best entry exit signals.........
Reply With Quote
  #6  
Old 28th August 2007, 07:09 PM
Member
 
Join Date: Sep 2005
Posts: 1,097
Blog Entries: 1
Thanks: 9
Thanked 29 Times in 18 Posts
beginner_av will become famous soon enoughbeginner_av will become famous soon enough
Reputation: 111
Default Re: Amibroker afl construction query

hey newbie buddy,

why dont you go over the user manual? all averages, macd etc are built in in Amibroker. Just click and insert them.
Reply With Quote
  #7  
Old 28th August 2007, 09:09 PM
Member
 
Join Date: May 2006
Location: Kolkata
Posts: 1,098
Thanks: 1
Thanked 1 Time in 1 Post
swagat86 is on a distinguished road
Reputation: 25
Default Re: Amibroker afl construction query

Quote:
Originally Posted by pratus View Post
dear swagat
thanks for your reply! i am a newbie......can u develop signals of your own...i mean condition that are the best to trade a stock. the best entry exit signals.........
Sory brother cant help u on that. Reason is somethin that may work with me doesnt mean that will work with u. Thats not at all necessary.

So if u tell me the condition is can help u on that.
Reply With Quote
  #8  
Old 2nd September 2007, 11:40 AM
Member
 
Join Date: Apr 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
pratus is on a distinguished road
Reputation: 20
Default Re: Amibroker afl construction query

hello all senior members!

can anyone help me with this....i have this amibroker afl.....i want to create buy sell signals.....buy when %k crosses above %D.......sell when %k crosses below %D .....the formula is as below

_SECTION_BEGIN("Stochastic %K");
periods = Param( "Periods", 15, 1, 200, 1 );
Ksmooth = Param( "%K avg", 3, 1, 200, 1 );
Plot( StochK( periods , Ksmooth), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();

_SECTION_BEGIN("Stochastic %D");
periods = Param( "Periods", 15, 1, 200, 1 );
Ksmooth = Param( "%K avg", 3, 1, 200, 1 );
Dsmooth = Param( "%D avg", 3, 1, 200, 1 );
Plot( StochD( periods , Ksmooth, DSmooth ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();
Reply With Quote
  #9  
Old 2nd September 2007, 01:23 PM
Member
 
Join Date: May 2006
Location: Kolkata
Posts: 1,098
Thanks: 1
Thanked 1 Time in 1 Post
swagat86 is on a distinguished road
Reputation: 25
Default Re: Amibroker afl construction query

Quote:
Originally Posted by pratus View Post
hello all senior members!

can anyone help me with this....i have this amibroker afl.....i want to create buy sell signals.....buy when %k crosses above %D.......sell when %k crosses below %D .....the formula is as below

_SECTION_BEGIN("Stochastic %K");
periods = Param( "Periods", 15, 1, 200, 1 );
Ksmooth = Param( "%K avg", 3, 1, 200, 1 );
Plot( StochK( periods , Ksmooth), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();

_SECTION_BEGIN("Stochastic %D");
periods = Param( "Periods", 15, 1, 200, 1 );
Ksmooth = Param( "%K avg", 3, 1, 200, 1 );
Dsmooth = Param( "%D avg", 3, 1, 200, 1 );
Plot( StochD( periods , Ksmooth, DSmooth ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();
hi buddy,

here's ur afl


-------------------------------------------------------------------

_SECTION_BEGIN("Stochastic %K");
periods = Param( "Periods", 15, 1, 200, 1 );
Ksmooth = Param( "%K avg", 3, 1, 200, 1 );
Plot( StochK( periods , Ksmooth), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();

_SECTION_BEGIN("Stochastic %D");
periods = Param( "Periods", 15, 1, 200, 1 );
Ksmooth = Param( "%K avg", 3, 1, 200, 1 );
Dsmooth = Param( "%D avg", 3, 1, 200, 1 );
Plot( StochD( periods , Ksmooth, DSmooth ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();

A=StochK( periods , Ksmooth);
B=StochD( periods , Ksmooth, DSmooth );

Buy=Cross(a,b);
Sell=Cross(b,a);

---------------------------------------------------------
Reply With Quote
  #10  
Old 2nd September 2007, 02:31 PM
Member
 
Join Date: Apr 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
pratus is on a distinguished road
Reputation: 20
Default Re: Amibroker afl construction query

hi swagat,

thanks for the help!

thanks alot
Reply With Quote
Sponsored Links

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: Amibroker afl construction query
Thread Thread Starter Forum Replies Last Post
Time for Construction stocks ? karthikmarar Equities 8 2nd May 2007 07:30 PM
A Construction stock highly undervalued Mcdermott Initial Public Offers (IPO's) 5 29th April 2006 10:17 PM
engineering &construction stock in oil &gas drvasurao85 Investing on Fundamentals 3 25th June 2005 04:21 PM


All times are GMT +5.5. The time now is 09:33 PM.

Indemnity, Disclaimer & Disclosure Notice:
• By visiting Traderji.com you indicate your acceptance of our Forum Rules Disclaimer & Disclosure and indemnify Traderji.com, its associates and related parties of all claims howsoever resulting from the usage of the forum.
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. Traderji.com will not be liable for any, direct or indirect, consequential or incidental damages or loss arising out of the use of this information.
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 of 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. If you 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 © 2001 - 2008, Traderji.com All Rights Reserved.

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