APSAT Assignment 2

The following assignment from APSAT makes you learn AFL coding in sequential way. When you submit the assignment questions (AFLs), we will email you the solutions 🙂

Question 3(A): Code a strategy using for loop using following buy/sell rules Indicator: Code ATR Bands. UpperBand: MA(C,20) + 2*ATR(),

LowerBand: MA(C,20) – 2*ATR() Buy: When prices cross above UpperBand Sell: When prices cross below LowerBand

Question 6: Write a code for strategy discussed in http://algoji.com/rsi-crossover-system/ without using loop. Use exrem instead of loop and identify. Note carefully any limitations with exrem. Write them in simple text file and upload it with AFL files.
[ARForms id=137]