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

All Time High Exploration for Amibroker (AFL)
husni
about 13 years ago
Amibroker (AFL)

Rating:
5 / 5 (Votes 2)
Tags:
amibroker, exploration

Explore to inform : Highest Price, Close Price, Difference Value, Percent Difference , time duration

Similar Indicators / Formulas

GapUp and Bearish Close (Reversal) _Daily
Submitted by indraji2001 almost 10 years ago
General Market Exploration by XeL
Submitted by xel almost 12 years ago
Scanning Gap Up and Gap Down
Submitted by vinodsk over 10 years ago
Deel - Average Dollar Price Volatility
Submitted by kaiji over 14 years ago
Vol Peak 5 Day [Scan only]
Submitted by lusmomoney over 10 years ago
TEMA_Regression Crossover
Submitted by marcheur over 10 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("All Time Hi Explorer");
ATH = IIf( H > Ref(Highest(H),-1), H , Ref(Highest(H),-1));
Diff = IIf( ATH > C , C - ATH , 0 );
PctDiff = IIf( ATH > C , ( Diff / ATH )*100 , 0 );

Plot(Diff , "Diff" , colorDefault , stylehidden);
Plot(PctDiff , "% Diff" , colorDefault , stylehidden);
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 
Plot( Volume,"Volume",colorBlack,styleHidden);
//Coded by Christopher Tahir, Idea by Ben//
Chg = C - Ref(C,-1);
Title = "  •  " + Name() + "  •  ||  " + Interval(2) + "  ||  •  " + Date() + "  •  Open " + Open + "  •  Hi " + H + "  •  Lo " + L + "  •  Close " + Close + " (" + WriteVal(Chg,1.2) + " pts  " + WriteVal(ROC(C,1),1.2) + "%)  •  Vol "+WriteVal(V,1.0)
+ EncodeColor(colorBlue) + "\n\n  •  Differences from All Time High = " + WriteVal(Diff,1.2) + " pts (" + WriteVal(PctDiff , 1.2) + "%)";;

Filter = ATH OR C < ATH;
SetOption("NoDefaultColumns", True );
AddTextColumn(Name(),"Ticker",1.0,colorDefault,colorDefault,60);
AddColumn( DateTime(), "Date", formatDateTime,colorDefault,colorDefault,68 );
AddColumn(ATH , "All Time High" , 1.0 , colorDefault , IIf( PctDiff > 66 , colorRed , IIf( PctDiff > 0 AND PctDiff < 33 , colorBrightGreen , colorYellow )) , 68 );
AddColumn(C , "Close ", colorDefault, colorWhite,60 );
AddColumn(-Diff , "Difference from All Time High" , 1.2 , colorDefault , IIf( PctDiff > 66 , colorRed , IIf( PctDiff > 0 AND PctDiff < 33 , colorBrightGreen , colorYellow )) , 68 );
AddColumn(-PctDiff , "%" , 1.2 , colorDefault , IIf( PctDiff > 66 , colorRed , IIf( PctDiff > 0 AND PctDiff < 33 , colorBrightGreen , colorYellow )) , 68 );
_SECTION_END();

4 comments

1. Tunan

Hello
Thanks for this upload…

Pls Can u modified this AFL into “All Time High-Low Exploration” or “All Time Low Exploration”

I’ll b grateful to u…

Thank You in Advance…

2. emf912

Thank you for this. But in my market, there are alot of penny stocks. How to add decimals? Thanks again!

3. Suren

Nice share.

4. Suren

Nice share.

Leave Comment

Please login here to leave a comment.

Back