Traderji.com


Formula for intraday High Low

Discuss Formula for intraday High Low at the AmiBroker within the Traderji.com; Dear sir I am giving Metastock Formula for Intraday High low signal. Can it be ...


Go Back   Traderji.com > TOOLS & RESOURCES > Software > AmiBroker


Reply
 
Thread Tools
  #1  
Old 22nd November 2009, 01:44 AM
Member
 
Join Date: Dec 2007
Posts: 41
Thanks: 20
Thanked 14 Times in 8 Posts
wahabdeen is on a distinguished road
Default Formula for intraday High Low

Dear sir
I am giving Metastock Formula for Intraday High low signal. Can it be written in AFL. If so kindly do so.

Formula for intraday High Low
----------------------------
{ Time Inputs }
StHour:=Input("start Hour",0,23,6);
StMin:=Input("start Minute",0,59,0);
EnHour:=Input("last Hour",0,23,9);
EnMin:=Input("last Minute",0,59,0);

{ Time period }
start:=Hour()>StHour
OR Hour()=StHour AND Minute()>=StMin;
end:=Hour()<EnHour
OR Hour()=EnHour AND Minute()<=EnMin;
filter:=
start AND (end OR (start AND Alert(start=0,2)));

{ Start/End time signals }
start:=filter AND Alert(filter=0,2);
end:=filter=0 AND Alert(filter,2);

{ Hi/Lo values }
Hi:=ValueWhen(1,filter,HighestSince(1,start,H));
Lo:=ValueWhen(1,filter,LowestSince(1,start,L));

{ Plot on price chart }

=======End======
Thanks in advance.


Advertisements

Reply With Quote
Advertisements
  #2  
Old 22nd November 2009, 05:52 PM
Member
 
Join Date: Mar 2008
Posts: 81
Thanks: 34
Thanked 112 Times in 59 Posts
vkunisetty will become famous soon enoughvkunisetty will become famous soon enough
Default Re: Formula for intraday High Low

wahabdeen,
here is the code for Day"s Hi Lo
Reply With Quote
The Following 3 Users Say Thank You to vkunisetty For This Useful Post:
rajeabc (18th June 2010), santoshkj (3rd December 2009), wahabdeen (22nd November 2009)
  #3  
Old 22nd November 2009, 11:07 PM
Banned
 
Join Date: Nov 2006
Posts: 91
Thanks: 3
Thanked 13 Times in 12 Posts
niklravi is on a distinguished road
Default Re: Formula for intraday High Low

[sir
what u r going to do with this how low?pl explain


ravi
Reply With Quote
  #4  
Old 26th November 2009, 12:32 AM
Member
 
Join Date: Oct 2009
Posts: 398
Thanks: 18
Thanked 193 Times in 130 Posts
Karanm has a spectacular aura aboutKaranm has a spectacular aura aboutKaranm has a spectacular aura about
Default Re: Formula for intraday High Low

Quote:
Originally Posted by wahabdeen View Post
Dear sir
I am giving Metastock Formula for Intraday High low signal. Can it be written in AFL. If so kindly do so.

Formula for intraday High Low
----------------------------
{ Time Inputs }
StHour:=Input("start Hour",0,23,6);
StMin:=Input("start Minute",0,59,0);
EnHour:=Input("last Hour",0,23,9);
EnMin:=Input("last Minute",0,59,0);

{ Time period }
start:=Hour()>StHour
OR Hour()=StHour AND Minute()>=StMin;
end:=Hour()<EnHour
OR Hour()=EnHour AND Minute()<=EnMin;
filter:=
start AND (end OR (start AND Alert(start=0,2)));

{ Start/End time signals }
start:=filter AND Alert(filter=0,2);
end:=filter=0 AND Alert(filter,2);

{ Hi/Lo values }
Hi:=ValueWhen(1,filter,HighestSince(1,start,H));
Lo:=ValueWhen(1,filter,LowestSince(1,start,L));

{ Plot on price chart }

=======End======
Thanks in advance.
Kindly explain in detail how and where to feed this formula in Metastock and find Intraday High & Low.
Reply With Quote
  #5  
Old 21st October 2011, 01:30 AM
Member
 
Join Date: Oct 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
shripad1206 is on a distinguished road
Default Re: Formula for intraday High Low

how to upload on pc sir let me know
Reply With Quote
  #6  
Old 21st October 2011, 12:44 PM
Member
 
Join Date: Sep 2004
Posts: 4,473
Thanks: 2,889
Thanked 4,460 Times in 1,959 Posts
rkkarnani has a reputation beyond repute
rkkarnani has a reputation beyond reputerkkarnani has a reputation beyond reputerkkarnani has a reputation beyond reputerkkarnani has a reputation beyond reputerkkarnani has a reputation beyond reputerkkarnani has a reputation beyond reputerkkarnani has a reputation beyond reputerkkarnani has a reputation beyond reputerkkarnani has a reputation beyond reputerkkarnani has a reputation beyond reputerkkarnani has a reputation beyond repute
Default Re: Formula for intraday High Low

Quote:
Originally Posted by wahabdeen View Post
Dear sir
I am giving Metastock Formula for Intraday High low signal. Can it be written in AFL. If so kindly do so.

Formula for intraday High Low
----------------------------
{ Time Inputs }
StHour:=Input("start Hour",0,23,6);
StMin:=Input("start Minute",0,59,0);
EnHour:=Input("last Hour",0,23,9);
EnMin:=Input("last Minute",0,59,0);

{ Time period }
start:=Hour()>StHour
OR Hour()=StHour AND Minute()>=StMin;
end:=Hour()<EnHour
OR Hour()=EnHour AND Minute()<=EnMin;
filter:=
start AND (end OR (start AND Alert(start=0,2)));

{ Start/End time signals }
start:=filter AND Alert(filter=0,2);
end:=filter=0 AND Alert(filter,2);

{ Hi/Lo values }
Hi:=ValueWhen(1,filter,HighestSince(1,start,H));
Lo:=ValueWhen(1,filter,LowestSince(1,start,L));

{ Plot on price chart }

=======End======
Thanks in advance.
Did not work on my version of MS!! Seems have erred somewhere!
Reply With Quote
  #7  
Old 23rd July 2012, 01:42 PM
Member
 
Join Date: Jul 2012
Location: Jamshedpur
Posts: 101
Thanks: 96
Thanked 44 Times in 28 Posts
shrividhya srinivasan will become famous soon enough
Default Re: Formula for intraday High Low

Hi,

Can u please let me know how to get this done in EXCELL format.

Thanks & regards... vidhya

Advertisements

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



All times are GMT +5.5. The time now is 10:11 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.

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