Hi,
I want to write AFL code for below given stratergy trading systems..
buy = when all the below indicators are in order from top to bottom, trailing stop loss follow psar.
sell = when the psar starts downwards.
vice versa for short trades.
Order Sequence | Indicatior |
1 | Super Trend |
2 | PSAR |
3 | weighted MA - 50 days |
4 | weighted MA - 10 days |
5 | weighted MA - 5 days |
6 | Closing Price |