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 ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

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

Weekly and pivots for Amibroker (AFL)

Rating:
5 / 5 (Votes 1)
Tags:
amibroker, pivots

Weekly pivots calculated based on whether the price is a certain amount above the linear regression of the price.

Similar Indicators / Formulas

Pivots and prices
Submitted by kaiji almost 15 years ago
Pivots
Submitted by kkumar over 12 years ago
Pivots And Prices And Swing Volume
Submitted by esnataraj over 14 years ago
Camarilla Pivots
Submitted by novicetraders over 14 years ago
Pivot Trading All-In-One
Submitted by kirthi1987 over 14 years ago
Daily, Weekly and Monthly Pivots
Submitted by sam_u6 over 14 years ago

Indicator / Formula

Copy & Paste Friendly
Enter = 30; 
Exit = 20; 

TimeFrameSet(inWeekly); 
ROAR = int(5200 * LinRegSlope(Close,26)/LinearReg(Close,26)); 
roar30 = int(LinearReg(roar, 5));  
RAW = ROAR; 
for (i = 1; i < BarCount; i++ ) 
{ 
if (ROAR[i] >= Enter AND roar30[i] >= Enter) 
ROAR[i] = roar30[i]; 
if (ROAR[i] < Exit) // if below Exit value 
ROAR[i] = 0; // then set to zero 
if (ROAR[i] < Enter AND ROAR[i-1] == 0) 
ROAR[i] = 0; 
} 
TimeFrameRestore(); 

Plot(ROAR,"ROAR",colorBlue,1); 
ROAR = TimeFrameExpand(ROAR,inWeekly); 

Plot(RAW,"RAW",colorPink,1);  

Plot(Enter,"",colorGreen,1); 
Plot(Exit,"",colorRed,1);

0 comments

Leave Comment

Please login here to leave a comment.

Back