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

ABKP Benchmark Bar for Amibroker (AFL)
about 14 years ago
Amibroker (AFL)

3 / 5 (Votes 2)
amibroker, stop loss

the Benchmark Bar Up must exceed the High of the prior two bars AND close above the high of the prior two bars. And, naturally Fast 2 must be blue to confirm the momentum strength of the


the Benchmark Bar Down must exceed the low of the prior two bars AND close below the low of the prior two bars. And, naturally Fast 2 must be red to confirm the momentum strength of the


be a change in color in for the Power Bar. For an up Power Bar then you can have Red|Yellow, Red|Blue, or Yellow|Blue. For the down Power Bar you can have Blue|Yellow, Blue|Red, or Yellow Red.

Needs the The Foundation plugin to run. Which can be downloaded here:
Download Plugin

Similar Indicators / Formulas

Submitted by allexiss almost 13 years ago
Submitted by saas almost 11 years ago
JMA Stoploss
Submitted by kuzukapama almost 13 years ago
TSL & HL & New
Submitted by morgen about 12 years ago
Stop Loss Indicator
Submitted by nabcha about 14 years ago
Profit Trailing Stoploss
Submitted by drpragnesh40 about 11 years ago
You cannot view the code for the following reasons:
  • You must be a member.


1. cnbondre

Will you pl attach the foundation plug in please?


Error 30 at
Ctmpl = E_TSKPCOLORTMPL(Open,High,Low,Close,Volume);
line 65 col 24

Error 29 at
total = total + IIf(tskp_colortmplcnd0 > 0, 1, -1);
total = total + IIf(tskp_colortmplcnd1 > 0, 1, -1);
total = total + IIf(tskp_colortmplcnd2 > 0, 1, -1);
total = total + IIf(tskp_colortmplcnd3 > 0, 1, -1);
total = total + IIf(tskp_colortmplcnd4 > 0, 1, -1);
total = total + IIf(tskp_colortmplcnd5 > 0, 1, -1);
total = total + IIf(tskp_colortmplcnd6 > 0, 1, -1);
total = total + IIf(tskp_colortmplcnd7 > 0, 1, -1);
KPScoreCard = total + IIf(tskp_colortmplcnd8 > 0, 1, -1);

“tskp_colortmplcndo” to "tskp_colortmplcnd8 ", used without having been initialised

Error 30 at,Line 76 col 21
Error 30 at line 109 col 5

“kpa900”,used without having been initialised

Will you pl check it or I am missing something?



2. administrator

cnbondre i updated the post with a link to where you can find the plugin.

3. cnbondre



Thanks a lot for the prompt response.

I am getting this error will you pl. help me?

1) “Ln 110 col 5 syntax Error 30”

{a 5 period simple moving average

2) “kpa900”, used without having been initialised

Ln 112 col 33
Ln 113 col 33

Thanks once again


4. administrator

Fixed sorry about that. You need to apply it to a price chart and go to parameters and enable the stuff you need.

5. cnbondre


Sorry to bother you for small correction. I am still a learner and not well versed with afl writtings, hence could not correct it myself. Now the afl works well for me.

Thanks a lot for you time.


6. administrator

Not a problem cnbondre I’m glad you pointed it out to me.

7. macerina

getting error on this line in ami 5.6

ObjAB = CreateObject(“Broker.Application”);

pls correct the issue.

Thanks in advance

Leave Comment

Please login here to leave a comment.