[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Help for a novice?



PureBytes Links

Trading Reference Links

Hi untapped,

you can get the best learing in AmiBroker Help. Before
going to top level help, Take a look at tutorial
first, also in help, to get the basic idea.

Well, As far as I guess you may want to know which
securities had changed to Bullish,50/200-day MA
Crossovers, or Bearish at the last quotation. Below is
a formula which shows bullish securities bar chart in
GREEN & BEARISH in RED colour.

/*Colour Bar Chart*/

a1=ma(close,50);/*You can change 50/200 with other
time periods*/
b1=ma(close,200);
graph0=close;
graph0style=128;
graph0barcolor=iif(a1>b1,8,4);
graph1=ma(close,50);
graph2=ma(close,200);
graph2style=1;

/*end*/

Now, goto the "Analysis" select "Indicator Builder",
here you'll see few indicators and "Custom50..55...66.
Select any custom and look right
side there will be nothing. This is the place where
you have to paste the above mentioned formula. After
pasting look bottom & press the "Apply". Here is
colourful bar chart.

You can also set, 50/200-day MA Crossovers, in Main
Chart. Goto "Tools"
menu select the "Preferences", you'll get here other
options also. you can put your desired time period in
"Short-time" period & "Mid-time", you can further
select whether you want simple or Exponential aveages
and lastly don't forget to tick, Now press Apply.

You can also try a 13/55-day EMA Crossovers for medium
term.

GoodLuck
Johnny





__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/