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

Price Predict for Amibroker (AFL)

Rating:
4 / 5 (Votes 5)
Tags:
amibroker

To predict tomorrow’s price based on velocity change.

Similar Indicators / Formulas

Kavach Of Karna v2
Submitted by hbkwarez over 10 years ago
Advanced Elliott Waves
Submitted by MarcosEn almost 13 years ago
3_6Day GuaiLiLv
Submitted by motorfly almost 13 years ago
Williams Alligator System
Submitted by durgesh1712 about 13 years ago
*Level Breakout system*
Submitted by Tinych about 13 years ago
Horizontal Live Priceline Tool
Submitted by northstar about 13 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("PrePrice");
// Joewang Predict price
//PrePrice=Ref(C,-1)+(Ref(C,-1)-Ref(C,-4)-Ref(C,-7)+Ref(C,-10))/6;

Price=Close
+(Close-Ref(Close,-1)-Ref(Close,-2)+Ref(Close,-3))/6
+(Ref(Close,-1)-Ref(Close,-2)-Ref(Close,-3)+Ref(Close,-4))/6
+(Ref(Close,-2)-Ref(Close,-3)-Ref(Close,-4)+Ref(Close,-5))/6
+(Ref(Close,-3)-Ref(Close,-4)-Ref(Close,-5)+Ref(Close,-6))/6
+(Ref(Close,-4)-Ref(Close,-5)-Ref(Close,-6)+Ref(Close,-7))/6;

xPrice=Ref(Price,-1);

Price=MA(Price,3);
xPrice=MA(xPrice,3);

Plot(Price,"Price",ParamColor("Price",colorcycle),styleLine);
Plot(xPrice,"xPrice",ParamColor("xPrice",colorcycle),styleLine|styleThick);

Plot(C,"Close",ParamColor("Candle",colorcycle),styleCandle);
_SECTION_END();

8 comments

1. marcheur

Thanks a lot, a very interesting indicator.

2. dustyreagan

To; jowwang12
good indicator
could you add buy & sell arrows at crossoveers
thanks
Dan – Member Wisestocktrader

3. marcheur

@ dustyreagan

You could paste the following code at the end of the formula:

Buy= Cross(price,xprice);
Sell=Cross(xprice,price);

shape = Buy * shapeUpArrow + Sell * shapeDownArrow;

PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High ) );
4. joewang12

Thanks…

5. rumibepari

dear marcheur

Not working ur code. showing error.

thanks

6. marcheur

Dear rumibepari
Should be working in ver. 5.50 . Could you please post the error message perhaps it can be helped.

7. marcheur

This is the exact code that works fine for me in ver 5.50

_SECTION_BEGIN("PrePrice");
// Joewang Predict price
//PrePrice=Ref(C,-1)+(Ref(C,-1)-Ref(C,-4)-Ref(C,-7)+Ref(C,-10))/6;
 
Price=Close
+(Close-Ref(Close,-1)-Ref(Close,-2)+Ref(Close,-3))/6
+(Ref(Close,-1)-Ref(Close,-2)-Ref(Close,-3)+Ref(Close,-4))/6
+(Ref(Close,-2)-Ref(Close,-3)-Ref(Close,-4)+Ref(Close,-5))/6
+(Ref(Close,-3)-Ref(Close,-4)-Ref(Close,-5)+Ref(Close,-6))/6
+(Ref(Close,-4)-Ref(Close,-5)-Ref(Close,-6)+Ref(Close,-7))/6;
 
xPrice=Ref(Price,-1);
 
Price=MA(Price,3);
xPrice=MA(xPrice,3);
 
Plot(Price,"Price",ParamColor("Price",colorcycle),styleLine);
Plot(xPrice,"xPrice",ParamColor("xPrice",colorcycle),styleLine|styleThick);
 
Plot(C,"Close",ParamColor("Candle",colorcycle),styleCandle);
_SECTION_END();


Buy= Cross(price,xprice);
Sell=Cross(xprice,price);

shape = Buy * shapeUpArrow + Sell * shapeDownArrow;

PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High ) );
8. themillionaire

hello everybody

which is tomorrows price in the graph blue or orange line

thanks

Leave Comment

Please login here to leave a comment.

Back