Australian (ASX) Stock Market Forum

Amibroker Indicator - Help with installing

Joined
17 August 2009
Posts
8
Reactions
0
I'm having trouble working out how to get "Elder's Impulse Indicator" to work with Amibroker.
I'm certainly no expert in this field, and it's probably simple to do, but i need some help getting the thing installed and working. It should show bars with different colours.

I've included a txt copy show what it is i want.

Can i have an explanation of how to get it working, please?

cheers.....Archie.
 

Attachments

  • Elder's Impulse IndicatorV2 with exploration.txt
    5.3 KB · Views: 33
Hello Archibald.

1) copy and paste indicator into Analysis --> Formula Editor
2) click on the AFL symbol to verify correct syntax
3) if syntax incorrect then fix it
4) when syntax is correct then File --> Save As --> Indicator or (I use a custom folder)
5) close Formula Editor
6) click on "Charts" (left hand side of screen or View --> tick "Charts")
7) locate the folder that you saved the indicator in (No. 4)
8) drag and drop the indicator onto a price chart
9) right click on chart and click on "Parameters" up at the top
10) in Elders Impulse change the "Bar+Arrows-1" to 1 (2 is the other option)
 
I'm certainly no expert in this field, and it's probably simple to do, but i need some help getting the thing installed and working. It should show bars with different colours.

Archie.

Colours ......

Once the Elders Impulse is on the screen ...


1) right click on chart "delete indicator" ---> "Price"

leave the "Elders Impulse" only.
 
Thanks very much wizz.........

I've been using Metastock and now i'm trying to work out Amibroker. It's much faster and seems quite good, just different.

It was the syntax errors, etc, that were there causing it not to work. Now i know how to check for them. I mucked around for a while and eventually worked out how to fix them. (Lots more study required in this area!)

Turns out i didn't like that style, but i found another indicator with the correct bar colour display. Just had to fix up syntax errors, etc, and finally got it working.

Thanks again for your help, you saved me a lot of !@#%ing around!

Before i go though......
Can i change the bar colours, on a normal OHLC bar chart, from the single colour bars to: green for higher close days and red for lower close days?
If i go into - parameters - the only option is a single colour bar.
I've looked at the help file, but can't find any info on how to do it.

Cheers..... Archie.
 
Thanks very much wizz.........
Before i go though......
Can i change the bar colours, on a normal OHLC bar chart, from the single colour bars to: green for higher close days and red for lower close days?
If i go into - parameters - the only option is a single colour bar.
I've looked at the help file, but can't find any info on how to do it.

Cheers..... Archie.

That is okay. I'm a beginner with Amibroker too so have only the basics. You probably had "word wrap" as the error. That is when some of the previous line of code is presented on the next line. For example.

Code:
Plot(10, "ribbon", kol, styleOwnScale|styleArea|styleNoLabel, WR_P1, WR_P2);	//
Weekly trend

Note "Weekly trend" has rolled onto the next line with the copy & paste move. For other simple syntax errors if they are only comment lines, like "Weekly trend" above, then two forward slashes will "comment out" the syntax.

Red/Green bars.

This is the code to plot red, green bar colours. Scroll down to the code plot as below and comment out as I have and place the red/green bar colour plot code in there. In future you can uncomment the original syntax and comment out the plot green/red bars syntax to have the original back.

PHP:
{
    Plot( Close, "Price", IIf( Close > Open, colorGreen, colorRed ), styleBar | styleThick );
//	bar_kol	=	IIf(impulse_UP, colorBlue, IIf(impulse_Down, colorRed,
//  colorWhite));
//	Plot(C, "Close", bar_kol, styleBar);
}
 
Excellent work, Wizz. You're a champion!

I got it loaded and even managed to work out how to get rid of the thick bars and put the standard ones in there!

I'm very close to getting the screen set-up the way i want it. BUT.

Can you help me with one more thing?

When i hold the curser over a price bar, i want to have the OHL and Close prices displayed in the tooltip display. I used to have it displayed but with all the rooting around i've done, i can't seem to get the OHLC prices displayed anymore.
Don't know what's happened, but I only get the closing price of the bar and the indicators i have displayed and not the OHLC prices of the price bar.

I have the "price data tooltips" box in the "display options" checked.

Any ideas how to fix this one? I've spent hours trying to get it right....

cheers.......Archie
 
Here's the tooltip formula from the basic price chart, insert in your formula and adjust to what you need:

Code:
ToolTip=StrFormat("Open: %g\nHigh:  %g\nLow:   %g\nClose:  %g (%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1 )));
 
Can you help me with one more thing?

When i hold the curser over a price bar, i want to have the OHL and Close prices displayed in the tooltip display. I used to have it displayed but with all the rooting around i've done, i can't seem to get the OHLC prices displayed anymore.
Don't know what's happened, but I only get the closing price of the bar and the indicators i have displayed and not the OHLC prices of the price bar.

I have the "price data tooltips" box in the "display options" checked.

Any ideas how to fix this one? I've spent hours trying to get it right....

cheers.......Archie

I helped myself here too because I did not realise more tooltip data can be displayed.

Drag and drop the "Price(All in one)" chart onto the window pane and then cursor over the bar will give heaps of info. You can delete any indicators you don't want on the chart.

Also in "Parameters" window you can choose from "all values" or "only price"

"Price" chart alone does not reveal all the data tooltips.

Thanks. :)
 
You blokes are legends!!

Thanks very much for your help.
I really appreciate your time taken to set me on the right path.
For the moment, all is good with the world.:D

cheers.......Archie
 
Top