SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : The Darvas Box Thread - Using the Nicholas Darvas system

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: MechanicalMethod who wrote (451)11/25/2002 5:44:42 PM
From: booters   of 498
 
This idea looks interesting. MM I looked at your logic as listed below but see a problem with the assumption. I also made the same mistake when I first looked at it.

var: trendUp(false), top(0), bottom(0), pyramid(false), shadow(0);

if h > highest(h,250) then trendUp=true;

if trendUp=true then begin
...if marketPosition=0 then buy next bar at open;
...if h > highest(h,3) then pyramid=true else pyramid=false;
...if h > highest(h,3) then top = h;
...if h < highest(h,3) and L < lowest(L,3) then bottom=L; {bug}
...shadow = .95 * bottom;
...if L < shadow then trendUp=false; {?}
end;

if marketPosition > 0 then begin
...if trendUp=true and pyramid=true then buy next bar at open;
...if L < shadow then exitLong stop at shadow;
...if trendUp=false then exitLong at market:
end;

This is determining if the high is greater than the high of the last 3 bars but in the description ( I forget now where I read it ) it was not the high of the last three bars, it was more of a 3 bar top he was looking for. I may not understand your code here but if that is what you are looking for then I think it is wrong. All this would do is create a channel based on 3HH/LL lines.

Anyhow......am interested in your comments.

boots
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext