Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
PRICE PROJECTION AFL for Amibroker (AFL)
Using daily pivot points to estimate future price levels.
Screenshots
Indicator / Formula
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ph = TimeFrameGetPrice ( "H" , inDaily , -1 ); pl = TimeFrameGetPrice ( "L" , inDaily , -1 ); pc = TimeFrameGetPrice ( "C" , inDaily , -1 ); PP = ( PH + PL + PC )/3; R1 = 2 * PP - PL; R2 = PP + PH - PL; R3 = R1 + PH - PL; S1 = 2 * PP - PH; S2 = 2 * PP - PH - PL; S3 = S1 - PH - PL; Plot ( C , "Price" , colorDefault , styleBar | styleThick ); Plot ( PH, "PH" , colorGreen , styleNoRescale ); Plot ( PL, "PL" , colorViolet , styleNoRescale ); Plot ( PP, "PP" , colorBlack , styleNoRescale ); Plot ( R1, "R1" , colorBlue , styleDashed | styleNoRescale ); Plot ( R2, "R2" , colorLightBlue , styleDashed | styleNoRescale ); Plot ( R3, "R3" , colorAqua , styleDashed | styleNoRescale ); Plot ( S1, "S1" , colorRed , styleDashed | styleNoRescale ); Plot ( S2, "S2" , colorOrange , styleDashed | styleNoRescale ); Plot ( S3, "S3" , colorDarkYellow , styleDashed | styleNoRescale ); |
3 comments
Leave Comment
Please login here to leave a comment.
Back
@SPASHA
Bro two correction in code
replace line 9 and 10 by the following lines
S2 = PP – PH + PL;
S3 = S1 – PH + PL;
u mistaken in mathematical calculations…..
PL UNDERSTAND IT IS WHAT I REQ ,BUT OFFCOUSRE YOUR THOUGHTS MAY DIFFER WITH ME, MEANWHILE THANKS
this afl is from here. direct lift :)
http://www.traders.com/Documentation/FEEDbk_docs/2014/11/TradersTips.html#item6
nothing wrong in lifting afl from public sites, but please do give them their dues/acknowledgement :)