Skip to main content

ABKP Benchmark Bar for Amibroker (AFL)

amitabh about 16 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 2)
  • Tags:
    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

POWER BAR.

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

POWER BAR.

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

You cannot view the code for the following reasons:
  • You must be a member.

7 comments

about 16 years ago

Will you pl attach the foundation plug in please?

showing

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?

Regards

cnb

about 16 years ago

Hi,

Admin.

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
Regards,

cnbondre

about 16 years ago

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

about 16 years ago

Hi,
Admin.

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.

cnbondre

over 12 years ago

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.