i am trying to enter a combined custom formula and plot it on the chart.

0 votes
asked May 26, 2017 in AmiBroker by anonymous
i am trying to plot a combined chart for two scrips in percentage terms.  ie  i take a reference rate for two scrips eg 1 march 2017 closing price and see how much they have moved in percentage terms to date.  then plot the difference.  can anyone please tell me where and how i can enter the formula.

1 Answer

0 votes
answered May 26, 2017 by admin (9,260 points)

In AmiBroker, go to "Charts" window/tab and open Price/Relative Performance chart. Then if you right click and choose "Edit Formula" you will see the code that calculates relative performance in terms of percentage of change since certain point of time.

commented May 26, 2017 by angad
yes i know that .  i want on a single chart combined.  the difference in percentage.  for eg if scrip a has gone up 4 % from date x and scrip b has gone up 2.5% from same date x the differnce for that day is 1.5%.  this i want plotted in candlestick in the charts.  also i should be able to put indicators on it
commented May 27, 2017 by admin (9,260 points)
If you "want" then you may need to hire somebody to write that for you.
The information provided above is 100% sufficient for anybody with mediocre programing knowledge to write what you "want".
commented May 28, 2017 by angad
how can i hire somebody ?
...