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:29:42 PM(UTC)
MS Support

Rank: Advanced Member

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

Thanks: 92 times
Was thanked: 155 time(s) in 150 post(s)

Ken Calhoun's article, “ADX Breakouts”, presented a strategy to trade high volatility breakouts. The system was designed to be run on15 minute data so it will not work on Daily Chart versions of MetaStock.

Below are two formulas for this system.  The first is an exploration to run at the end of day that searches for the setup criteria.  Any results would be stocks to watch on the following day for signals or you could place a buy-stop order at the entry price.  The second formula is suitable for an expert adviser or system test and will trigger when the trade should be executed.

The formulas for are: 

Exploration formulas:

Column A

Column Name:

formula:

Code:
HighestSince(1, ROC(DayOfWeek(),1,$)<>0, H) + 0.5

Filter formula:

Code:
new:= ROC(DayOfWeek(),1,$)<>0;
r15:= (HighestSince(15, new, H)-LowestSince(15, new, L));
setup:= C >= 20 AND C <= 70 AND r15 > 5 AND
HighestSince(1, new, Cross(ADX(14), 40))=1

Expert Advisor or System Test formula:

Code:
new:= ROC(DayOfWeek(),1,$)<>0;
r15:= (HighestSince(15, new, H)-LowestSince(15, new, L));
dh:= HighestSince(1, new, H);
setup:= C >= 20 AND C <= 70 AND r15 > 5 AND
HighestSince(1, new, Cross(ADX(14), 40))=1;
ValueWhen(1, new, Ref(setup,-1)) AND
Cross(dh,ValueWhen(1, new, Ref(dh,-1) + 0.5))

Users browsing this topic
Guest (Hidden)
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.