OHLC indicator for Amibroker (AFL)
godisbogus about 16 years ago Amibroker (AFL)
This indicator should be used only for intraday trading. It is very simple. As soon as the price crosses 0.5% on upper side from previous close just buy. And if the price crosses 0.5% on the down side from previous close initiate short.
You cannot view the code for the following reasons:
- You must be a member.
4 comments
Leave Comment
Please login here to leave a comment.
Many thanks.
formula is showing error 54 please correct it
Add “n” before Low, High & PCL
Replace above lines with below lines:
i am getting below error
Error 701. Missing buy/sell variable assignments.
The formula that you are trying to backtest does not contain proper Buy and Sell rules. Buy and Sell rules should be written as assignments as shown below:
Buy = Cross( Close, MA );
Sell = Cross( MA, Close ) );
For more details see Tutorial: Backtesting your trading ideas