Traderji.com - Discussion forum for Stocks Commodities & Forex

Help needed with Afl

Discuss Help needed with Afl at the Equities within the Traderji.com - Discussion forum for Stocks Commodities & Forex; BVPraveen Thanks You guys are great!...


Go Back   Traderji.com - Discussion forum for Stocks Commodities & Forex > THE MARKETS > Equities

Notices

Equities Discuss & analyse stock market news, views, trends and your favourite stocks here.


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #21  
Old 21st August 2007, 04:07 PM
Member
 
Join Date: Dec 2006
Posts: 895
Thanks: 2
Thanked 3 Times in 3 Posts
ratan jain is on a distinguished road
Reputation: 31
Default Re: Help needed with Afl

BVPraveen

Thanks

You guys are great!
Reply With Quote
  #22  
Old 21st August 2007, 04:13 PM
Member
 
Join Date: Dec 2006
Posts: 895
Thanks: 2
Thanked 3 Times in 3 Posts
ratan jain is on a distinguished road
Reputation: 31
Default Re: Help needed with Afl

Simplestuff:
A small clarification required.

I may be wrong......
Please check the attached file.

OR....maybe a close above high is required, which did not materialise I think. Sorry for being so dumb.

PS: Are the signals already optimised? or profit trailed?
Attached Images
File Type: png forsimplestuff2.png (58.4 KB, 24 views)
Reply With Quote
  #23  
Old 21st August 2007, 05:01 PM
Member
 
Join Date: Dec 2006
Posts: 895
Thanks: 2
Thanked 3 Times in 3 Posts
ratan jain is on a distinguished road
Reputation: 31
Default Re: Help needed with Afl

Simplestuff: I think I am understanding it....

Just need your help on optimising it

And trailing it



Thanks and Highest Regards.

I will be out till 9:30 tonight, will reply back after that.

Thanks again

Last edited by ratan jain; 21st August 2007 at 05:29 PM.
Reply With Quote
  #24  
Old 21st August 2007, 05:31 PM
Member
 
Join Date: Nov 2006
Posts: 1,425
Thanks: 7
Thanked 8 Times in 6 Posts
kkseal will become famous soon enough
Reputation: 64
Default Re: Help needed with Afl

Quote:
Originally Posted by ratan jain View Post
Simplestuff:
A small clarification required.

I may be wrong......
Please check the attached file.

OR....maybe a close above high is required, which did not materialise I think. Sorry for being so dumb.

PS: Are the signals already optimised? or profit trailed?
Ratan,

You didn't get a Buy as the Close wasn't above the high in that range.

Glad to know it's working.

Regards,
Kalyan.
Reply With Quote
  #25  
Old 21st August 2007, 06:50 PM
Member
 
Join Date: Nov 2006
Posts: 1,425
Thanks: 7
Thanked 8 Times in 6 Posts
kkseal will become famous soon enough
Reputation: 64
Default Re: Help needed with Afl

But your query raises a doubt in my mind as to whether what you've got is really what you want. What you probably want is as follows :-

1) Locate the last swing low
2) Find the highest high in 5 days leading to the swing low (including or not including the swing low day)
3) Buy when the high in (2) is crossed on a closing basis

and vice versa for shorts.

I maybe wrong in which case off course there's no problem.

Regards,
Kalyan.
Reply With Quote
  #26  
Old 21st August 2007, 10:48 PM
Member
 
Join Date: Dec 2006
Posts: 895
Thanks: 2
Thanked 3 Times in 3 Posts
ratan jain is on a distinguished road
Reputation: 31
Default Re: Help needed with Afl

Simplestuff:

One main Question

LookBack = Param("LB-Period",4,2,20,1);

Whats this line?

I cant see the parameters 5 bars anywhere
where do i change it if I want to?
Reply With Quote
  #27  
Old 22nd August 2007, 10:16 AM
Member
 
Join Date: May 2006
Location: Bangalore
Posts: 911
Thanks: 0
Thanked 8 Times in 2 Posts
bvpraveen is on a distinguished road
Reputation: 40
Default Re: Help needed with Afl

Ratan,

Kindly refer Amibroker User Guide whenever you have doubts in functions. All the functions are beautifully explained with clear examples there. If you aren't able to understand them, you can post here, and we can help you out.

Meanwhile, Param() function allows the user to specify the parameters for the functions. In this case, the Lookback period is made configurable. ie at runtime you can change the parameter from Parameters dialog box (Ctrl + R).

If you see the signature of Param(), the second parameter is the default value. You can change it to what ever value, you want, say to 5 in two different ways:
1. Press Ctrl + R, and change it (this is the best method)
2. Change in the AFL code.

Praveen.
Reply With Quote
  #28  
Old 22nd August 2007, 11:07 AM
Member
 
Join Date: Dec 2006
Posts: 895
Thanks: 2
Thanked 3 Times in 3 Posts
ratan jain is on a distinguished road
Reputation: 31
Default Re: Help needed with Afl

Thanks very much Simplestuff:

Maybe you should change your login Id to Experienced stuff

Thanks again and I may trouble you for some more queries

Highest Regards.
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: Help needed with Afl
Thread Thread Starter Forum Replies Last Post
Help Needed joy433 Equities 3 30th May 2007 06:09 PM
Help Needed kirancabral Brokers & Demat Matters 0 5th February 2007 11:04 PM
Help Needed gaj Equities 7 17th March 2006 06:25 PM


All times are GMT +5.5. The time now is 10:19 AM.

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