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 ....
my trend indicator for Amibroker (AFL)
Rating:
3 / 5 (Votes 6)
Tags:
amibroker, trend
Similar Indicators / Formulas
Trend Following Indicator
Submitted
by trek over 14 years ago
Seasionality
Submitted
by saiflingkon over 13 years ago
PROFIT TRADING SYSTEM
Submitted
by Muralikrishna over 11 years ago
An n bar Reversal Indicator
Submitted
by kaiji almost 15 years ago
Vertical Horizontal Filter
Submitted
by mahesh.aranake over 14 years ago
TrendChart v2.0 by rmike
Submitted
by rmike over 14 years ago
Indicator / Formula
Copy & Paste Friendly
r1 = PDI(14); r2 = MDI (14); Period = Param("Period",20,1,100,1); TI = WMA( 2*WMA((r1-r2),int(Period/2))- WMA((r1-r2),Period),int(sqrt(Period))); for( i = 1 ; i < BarCount-2; i++ ) { if (TI[i] <TI[i-1] &&TI[i] <TI[i+1]) Lpml[i]=1; else Lpml[i] =0; if (TI[i] >TI[i-1] &&TI[i] >TI[i+1]) Lpmh[i]=1; else Lpmh[i] =0; } GR =ExRem(LpmH,Lpmh); RD =ExRem(Lpml,Lpml); Plot( TI, _DEFAULT_NAME(), ParamColor( "Color", colorBlue ), ParamStyle("Style") );
13 comments
Leave Comment
Please login here to leave a comment.
Back
Excellent results on back testing. Thanks for sharing it.
Hi
in which time frame it give max
navin….
Hi , Can you pls give me the limit like it should be in which range .
Like if it will go above 30-40 then oversold and it suppose to come back lke this. As such indicator looks very good .
Thanks for sharing.
Rajeev
Hi,
Please elaborate how to use the indicator for live trading.
Thanks
Sudha
Rajeev , it works in all time frames . In case of equities , it can go upto 50 level and in indexes , i have seen it to go upto 40 level .That is my experince and i would like to share your experience . Regarding its use for live trading
-—- I hold my position till it is going up or down . But it may turn flat a little later than the price tops or bottoms.That is only for a few points .But when it reverses , one should take an opposite position , too , for a good profit.I have seen it fail only once in one year , when price was moving in a channel upwards and slowly. But lower time frame confirmed the movement .HI “Tsarvjit” IT LOOKS A GOOD & SMOOTH INDICATOR TO ME . GREAT WORK BUT IT IS CONFUSING … SO IF YOU COULD EXPLAIN ….
IS IT POSSIBLE TO ADD BUY SELL ARROWS TO THIS INDICATOR? IF NOT KINDLY EXPLAIN US HOW DO YOU USE IT PARAM SETTINGS FOR ANY MOSTLY TRADED COMMODITY /STOCK. OR YOU CAN MAIL ME THE DETAILS TO SHAAN_1000@YAHOO.CO.IN ….THANX IN ADVANCE.Hi, This indicator is very very good. I never expect this type of performance. Really Very good.
Thank you very much “Tsarvjit” .
it will be good if the style will be line with dots
it will be good if the style will be line with dots
i had tried something hope u ol like it
r1 = PDI;
r2 = MDI (14);
OverBought = Param(“Over Bought Line”,64,0,100,1);
OverSold = Param(“Over Sold Line”,-64,-100,0,1);
ColOB = ParamColor(“Over Bought Color”,colorRed);
ColOS = ParamColor(“Over Sold”,colorGreen);
Period = Param(“Period”,20,1,100,1);
TI = WMA,int(Period/2))- WMA,Period),int(sqrt(Period)));
for( i = 1 ; i < BarCount-2; i++ )
{
if (TI[i] <TI[i-1] &&TI[i] <TI[i+1])
Lpml[i]=1;
else
Lpml[i] =0;
if (TI[i] >TI[i-1] &&TI[i] >TI[i+1])
Lpmh[i]=1;
else
Lpmh[i] =0;
}
GR =ExRem(LpmH,Lpmh);
RD =ExRem(Lpml,Lpml);
Plot( TI, _DEFAULT_NAME(), ParamColor( “Color”, colorBlue ), styleLine,styleDots );
Plot( TI, _DEFAULT_NAME(), ParamColor( “Color”, colorBlue ), styleHistogram,styleDots );
Plot(OverBought,“OB Line”,ColOB,8+16);//|styleNoLabel);//8+16
Plot(OverSold,“OS Line”,ColOS,8+16);//|styleNoLabel);
hi tsarvjit, nice indicator.. thank u very much for sharing such a good stuff
Have u checked ur ver of this afl? Is it plotting?
change this line
r1 = pdi(14);