Showing posts with label stop loss. Show all posts
Showing posts with label stop loss. Show all posts

Tuesday, March 17, 2015

MetaStock Formula - Trailing Stop Limit Formula - %

Knowing when to exit your stock position is an important part of any traders trading method. One strategy is to exit when the stock drops x% below the highest close since entering the trade.


Trailing Stop Limit %- MetaStock Formula (Indicator Builder)
pday:=Input("day of month", 1,31,1);
pmonth:= Input("Month", 1,12,1);
pyear:=Input("Year", 2005,2015,2013);
ppercent:=Input("percentage fall", 1,20,5);
TSD1:=BarsSince(DayOfMonth()=PDay AND Month() = pMonth AND Year()=pyear);
TSD2:=HighestSince(1,TSD1=0,H);
TSD3:=TSD2-.01*ppercent*C;

HighestSince(1,TSD1=1,TSD3)

With this indicator you simple need to enter the date you entered the trade and your percentage.

Saturday, March 7, 2015

MetaStock Formula - Trailing Stop - %


Knowing when to exit your stock position is an important part of any traders trading method. One strategy is to exit when the stock drops x% below the highest close since entering the trade.

Trailing Stop %- MetaStock Formula (Indicator Builder)
pday:=Input("day of month", 1,31,1);
pmonth:= Input("Month", 1,12,1);
pyear:=Input("Year", 2005,2015,2013);
ppercent:=Input("percentage fall", 1,20,5);
TSD1:=BarsSince(DayOfMonth()=PDay AND Month() = pMonth AND Year()=pyear);
TSD2:=HighestSince(1,TSD1=0,H);
TSD3:=TSD2-.01*ppercent*C;

HighestSince(1,TSD1=1,TSD3)

With this indicator you simple need to enter the date you entered the trade and your percentage.


Buy Your Own Lifetime MetaStock Data Supply
buy

Wednesday, March 4, 2015

Trading Formula - Trailing Stop - with average true range

Knowing when to exit your stock position is an important part of any traders trading method. An alternative to the percentage method is the Average True Range (ATR) trailing stop.

Trailing Stop ATR - MetaStock Formula (Indicator Builder)

pday:=Input("day of month", 1,31,1);
pmonth:= Input("Month", 1,12,1);
pyear:=Input("Year", 2000,2015,2013);
ATRmult:=Input("ATR mult", 1,20,7);

TSD1:=BarsSince(DayOfMonth()=PDay AND Month() = pMonth AND Year()=pyear);
TSD2:=HighestSince(1,TSD1=0,H);
TSD3:=TSD2-(ATRmult*ATR(15));

HighestSince(1,TSD1=1,TSD3)

With this indicator you simple need to enter the date you entered the trade and your multiplier of the ATR.