Coding for AMI broker

hi sir

plz provide code for following strategy

Heikin Ashi

Buy signal When current candle close above high of previous candle

Sell signal When current candle close below low of previous candle

And

MACD

Average Exponential period 4

short Exponential period 17

Long Exponential period 33

Thanks

Hi Vilas,

Please check below link for afl code.

http://algobase.neotradeanalytics.com/base-camp/heiken-ashi-candlestick/

Regards

Vivith

www.neotradeanalytics.com

(Authorized realtime datavendor of NSE/BSE Supporting data feeds to Amibroker/Metastock/Ninjatrader and custom programming languages)