Donchian Channels for Amibroker (AFL)
rythm.arora over 15 years ago Amibroker (AFL)
Based on Turtle trading technique. Breakout trading system
Screenshots
Indicator / Formula
Copy & Paste Friendly
// Plots a 20 period Donchian channel
pds=20;
DonchianUpper =HHV(Ref(H,-1),pds);
DonchianLower = LLV(Ref(L,-1),pds);
DonchianMiddle = (DonchianUpper+DonchianLower)/2;
Plot(DonchianUpper,"DU",colorBlue,styleLine);
Plot(DonchianMiddle,"DM",colorGreen,styleLine);
Plot(DonchianLower,"DL",colorRed,styleLine); 0 comments
Leave Comment
Please login here to leave a comment.