logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
MS Support  
#1 Posted : Friday, July 28, 2017 9:36:45 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,929

Thanks: 85 times
Was thanked: 154 time(s) in 150 post(s)

Ken Calhoun's article, “Trading Gap Reversals”, presented a strategy to take advantage of large gap downs. The system was designed to be run on intraday data so it will not work on the Daily Chart version of MetaStock.

Below are the formulas for an exploration to find these trading opportunities.  This should be run shortly after the market opens.  It will require data from the two prior days for the calculations to work correctly so it is recommended to use either 5 or 10 minute data.  Be sure to set the exploration to load at least 250 records.

The formulas for are:  Exploration formulas:

Column A

Column Name: Close

formula:

Code:
{current close}
C

Column B

Column Name: Open

formula:

Code:
{Open of the current day}
new:= ROC(DayOfWeek(),1,$)<>0;
ValueWhen(1, new, O )

Column C

Column Name: Prev C

formula:

Code:
{Close of the previous day}
new:= ROC(DayOfWeek(),1,$)<>0;
ValueWhen(1, new, Ref(C, -1) )

Column D

Column Name: range

formula:

Code:
{High - Low range of previous day}
new:= ROC(DayOfWeek(),1,$)<>0;
HighestSince(1, new, H)-LowestSince(1, new, L)

Column E

Column Name: target

formula:

Code:
{target entry price}
new:= ROC(DayOfWeek(),1,$)<>0;
ValueWhen(1, new, O + 0.50 )

Filter formula:

Code:
new:= ROC(DayOfWeek(),1,$)<>0;
r:= HighestSince(1, new, H)-LowestSince(1, new, L);
C >= 20 AND C <= 70 AND ValueWhen(1, new, Ref(r >= 1, -1)) AND ValueWhen(1, new, (Ref(C, -1) - O) > (Ref(C, -1)/10))

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.