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 ....
Find Out More Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Marva Mid R-Line Signal for Amibroker (AFL)
isfandi
almost 7 years ago
Amibroker (AFL)

Rating:
3 / 5 (Votes 6)
Tags:
trendline, amibroker

This is single Line function with Buy/Sell Arrow.
Note: Pls grab this formula into price chart
Hopefully usefull.
Isfandi

Screenshots

Similar Indicators / Formulas

Automatic Trend-line
Submitted by kaiji almost 8 years ago
trend price
Submitted by ashokwins over 4 years ago
Price With Regression and Trend
Submitted by Boknoy9999 almost 6 years ago
Advanced Trend Lines
Submitted by Arun over 6 years ago
Trendline Multiple TimeFrame
Submitted by vargasc1 over 5 years ago
ALT
Submitted by Miraz about 7 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Marva Mid R-Line Signal");
x = Cum(1);
lastx = LastValue( x ); 
Daysback = 10; 
aa = LastValue( LinRegIntercept( Close, Daysback) );
bb = LastValue( LinRegSlope( Close, Daysback ) );

y = Aa + bb * ( x - (Lastx - DaysBack) ); 
//Plot( Close, "Close", colorRose, styleCandle );
Plot( IIf( x >= (lastx - Daysback), y, -1e10 ), "LinReg", colorYellow );
per1=Param ("per1", 0.325,0.1,50,0.10);

perc=per1;
x1=BarIndex();xx=SelectedValue(x);
t1=SelectedValue(ValueWhen(PeakBars(C,perc)==0,x)) ;
H1=SelectedValue(ValueWhen(PeakBars(C,perc)==0,C)) ;
t11=SelectedValue(ValueWhen(TroughBars(C,perc)==0, x));
H11=SelectedValue(ValueWhen(TroughBars(C,perc)==0, C));
g=t1>t11;
shape=IIf(g,shapeHollowDownTriangle*(x==t1),shapeHollowUpTriangle*(x ==t11));
Color=IIf(g,colorRed,colorBrightGreen);
PlotShapes(shape,color);

_SECTION_END();

9 comments

1. isfandi

Please use “bar reply” for looking how to operation.

2. cnbondre

Hi,
isfandi
You are a innovative person. Always try to share something interesting!
Thanks a lot.
May God bless you

3. gopal

Hi,

What is the bottom indicator in this screen shot.Can you please post the AFL?

4. SRIKANTAN

Hi Isfandi,
Good AFL…thanks for sharing the same..

5. ashraf8423

Isfandi——-thank u very much for sharing the nice AFL. Is it for intraday trading afl?

6. vishalsbharati

will u please explain how it works

7. mamunbaf9117

interesting…… nice afl…thnx for sharing.

8. anandnst

Admin please post how to read this AFL

9. eurosiva

very useful indicator, thank you very much.

Leave Comment

Please login here to leave a comment.

Back