Traderji.com - Discussion forum for Stocks Commodities & Forex

Trailing Stoploss Indicator

Discuss Trailing Stoploss Indicator at the MetaStock within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Friends Here is the formula for a simple Trailing stop indicator The formula draws a ...


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

Notices


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #1  
Old 21st October 2005, 12:12 AM
Moderator
 
Join Date: Jul 2005
Location: kuwait
Posts: 1,457
Blog Entries: 5
Thanks: 45
Thanked 549 Times in 102 Posts
karthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to all
Reputation: 629
Default Trailing Stoploss Indicator

Friends

Here is the formula for a simple Trailing stop indicator

The formula draws a stoploss loss line which will be 7% below the highest close within a lookback period of 20 bars.

The Stoploss % and the Lookback period can be varied. When you plot the indicator you will be prompted for Look back period and Stoploss%. The defaults are set to 20 bars and 7%.

LB:= Input("Enter lookback period",15,30,20);
PERIOD:= Input("ENTER % STOPLOSS",2,10,7);
HHV(C ,LB)-(HHV(C,LB)*(PERIOD/100))

A chart is enclosed just to give an idea how this one looks

regards

karthik

Last edited by karthikmarar; 20th May 2008 at 12:42 AM.
Reply With Quote
Sponsored Links
  #2  
Old 21st October 2005, 12:43 AM
Moderator
 
Join Date: Mar 2005
Posts: 2,829
Thanks: 86
Thanked 478 Times in 138 Posts
AMITBE is a glorious beacon of lightAMITBE is a glorious beacon of lightAMITBE is a glorious beacon of lightAMITBE is a glorious beacon of lightAMITBE is a glorious beacon of lightAMITBE is a glorious beacon of light
Reputation: 509
Default Re: Trailing Stoploss Indicator

Quote:
Originally Posted by karthikmarar
Friends

Here is the formula for a simple Trailing stop indicator

The formula draws a stoploss loss line which will be 7% below the highest close within a lookback period of 20 bars.

The Stoploss % and the Lookback period can be varied. When you plot the indicator you will be prompted for Look back period and Stoploss%. The defaults are set to 20 bars and 7%.

LB:= Input("Enter lookback period",15,30,20);
PERIOD:= Input("ENTER % STOPLOSS",2,10,7);
HHV(C ,LB)-(HHV(C,LB)*(PERIOD/100))

A chart is enclosed just to give an idea how this one looks

regards

karthik
Hi Karthik, nice one.
Have been working on a similar formula for my Amibroker too. Just to add another point, when the scrip is low in liquidity and mostly low in volatility for that reason, one may try with a 5% or even 4% trailing stop. With low volatility, 4 or 5% change would be enough deviation. You may want to try it out on a counter like Madras Cement. Do let me know.
Thanks.
Reply With Quote
  #3  
Old 21st October 2005, 02:56 AM
Moderator
 
Join Date: Jul 2005
Location: kuwait
Posts: 1,457
Blog Entries: 5
Thanks: 45
Thanked 549 Times in 102 Posts
karthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to allkarthikmarar is a name known to all
Reputation: 629
Default Re: Trailing Stoploss Indicator

Hi Amit

You are correct. In case of Madras Cements a 4% stoploss would be appropriate. That is why I gave the option of changing the percentage. By the way...Even the 7% default figure based on your post on stoploss..

regards

karthik
Reply With Quote
  #4  
Old 4th May 2008, 09:06 AM
Member
 
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sidzaw is on a distinguished road
Reputation: 10
Default Re: Trailing Stoploss Indicator

Dear karthikmarar

Simple and best and I like it much

thanks for your contribution

cheers
sidzaw
Reply With Quote
  #5  
Old 4th May 2008, 11:50 PM
Moderator
 
Join Date: Nov 2005
Posts: 10,235
Thanks: 1,014
Thanked 1,941 Times in 773 Posts
uasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond repute
Reputation: 2017
Default Re: Trailing Stoploss Indicator

sidzaw,

A warm Welcome to the Forum.

Asish
Reply With Quote
  #6  
Old 5th May 2008, 08:54 AM
Member
 
Join Date: Sep 2004
Posts: 1,532
Thanks: 622
Thanked 921 Times in 385 Posts
rkkarnani is a splendid one to beholdrkkarnani is a splendid one to beholdrkkarnani is a splendid one to beholdrkkarnani is a splendid one to beholdrkkarnani is a splendid one to beholdrkkarnani is a splendid one to beholdrkkarnani is a splendid one to beholdrkkarnani is a splendid one to behold
Reputation: 982
Default Re: Trailing Stoploss Indicator

Quote:
Originally Posted by karthikmarar View Post
Friends

Here is the formula for a simple Trailing stop indicator

The formula draws a stoploss loss line which will be 7% below the highest close within a lookback period of 20 bars.

The Stoploss % and the Lookback period can be varied. When you plot the indicator you will be prompted for Look back period and Stoploss%. The defaults are set to 20 bars and 7%.

LB:= Input("Enter lookback period",15,30,20);
PERIOD:= Input("ENTER % STOPLOSS",2,10,7);
HHV(C ,LB)-(HHV(C,LB)*(PERIOD/100))

A chart is enclosed just to give an idea how this one looks

regards

karthik
Hello sir, Nice input.
Seeing the attached graph it seems the SL is for LONG ONLY positions and not for SHORT sold trades. Could not test it in my Metastock as it needs to be reloaded!!!
Regards.
R K Karnani
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: Trailing Stoploss Indicator
Thread Thread Starter Forum Replies Last Post
Which indicator comes closest to being the most complete one? sh50 Technical Analysis 11 13th October 2007 07:59 PM
Trailing stop losses snowy Brokers & Demat Matters 16 22nd July 2006 04:39 PM
How to plot trailing & rolling pe chart bond008 Software 0 30th August 2005 06:29 PM
Some TA Indicator Formulae nautilus Technical Analysis 1 18th August 2005 12:42 AM


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