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 ....
Trend Trigger Factor for Amibroker (AFL)
Rating:
5 / 5 (Votes 1)
Tags:
Allows you to follow the trend.
By Kelly Griffiths
Indicator / Formula
Copy & Paste Friendly
function TTF( periods )
{
BuyPower = HHV( High, periods ) - Ref( LLV( Low, periods ), -periods );
SellPower = Ref( HHV( High, periods ), -periods ) - LLV( Low, periods );
return 100 * (BuyPower - SellPower) / (0.5 * (BuyPower + SellPower));
}
ttf15 = TTF( 15 );
Plot( ttf15, "TTF(15)", colorRed );
bt = Optimize( "Buy Trigger", 125, 35, 150, 5 );
st = Optimize( "Sell Trigger", -40, -100, 25, 5 );
Buy = Cross( ttf15, bt );
Sell = Cross( -st, ttf15 );
Short = Sell;
Cover = Buy;
0 comments
Leave Comment
Please login here to leave a comment.
Back