Stock Portfolio Organizer
The ultimate porfolio management solution.
Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
DETECTING DOUBLE TOPS for Amibroker (AFL)
Rating:
5 / 5 (Votes 1)
Tags:
trading system, amibroker
Detects Double Tops
Similar Indicators / Formulas
weighted moving average scan
Submitted
by naninn almost 14 years ago
Kase Peak Osc. V2 batu
Submitted
by batu1453 over 10 years ago
Kase CD V2batu
Submitted
by batu1453 over 10 years ago
Ichimoku
Submitted
by prashantrdx over 10 years ago
EMA System Ribbon
Submitted
by yo123 almost 14 years ago
Three-Bar Inside Bar Pattern
Submitted
by EliStern almost 14 years ago
Indicator / Formula
Copy & Paste Friendly
percdiff = 5; /* peak detection threshold */ fwdcheck = 5; /* forward validity check */ mindistance = 10; validdiff = percdiff/400; PK= Peak( H, percdiff, 1 ) == HIGH; x = Cum( 1 ); XPK1 = ValueWhen( PK, x, 1 ); XPK2 = ValueWhen( PK, x, 2 ); peakdiff = ValueWhen( PK, H, 1 )/ValueWhen( PK, H, 2 ); doubletop = PK AND abs( peakdiff - 1 ) < validdiff AND (XPK1 - XPK2)>mindistance AND HIGH > HHV( Ref( H, fwdcheck ), fwdcheck - 1 ); buy = doubletop; sell = 0; writeif( highest( doubletop ) == 1, "AmiBroker has detected some possible double top patterns for " + name() + "\nLook for green arrows on the price chart.", "There are no double top patterns for " + name() );
1 comments
Leave Comment
Please login here to leave a comment.
Back
Detecting Double Tops Code