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

Re: [amibroker] Help Pleae



PureBytes Links

Trading Reference Links

Hello,

There are many ways you can write formulas to get Buy / Sell signals. At the end of the day, its about the logic you want to apply, ie what conditions should be fullfilled for Buy / Sell.

Here is a simple Moving Average Crossover

Buy=Cross(MA(C,5),MA(C,15));
Sell=Cross(MA(C,15),MA(C,5));

Normally, Sell is also used to Short and Buy for Cover though you may prefer different timescales for the same.

Cheers

Prashanth

  ----- Original Message ----- 
  From: srinidharanala 
  To: amibroker@xxxxxxxxxxxxxxx 
  Sent: Saturday, June 24, 2006 7:57 PM
  Subject: [amibroker] Help Pleae


  Hi I am new to Amibroker. Just I am trying to use back test function 
  to know the buy & sell signal and short & cover signals. I dont know 
  how to write the code for that. Can some one send me the relevent code 
  please?

  Srini