I want to to know how to convert this strategy to afl before deciding to buy the full version.
The strategy uses 3 ETF's:
1) NIFTYBEES
2) GOLDBEES
3) LIQUIDBEES
Pseudo code for the strategy to be used on weekly data:
The strategy uses 3 ETF's:
1) NIFTYBEES
2) GOLDBEES
3) LIQUIDBEES
Pseudo code for the strategy to be used on weekly data:
PHP Code:
if (niftybees ROC(30) > 3) and (niftybees ROC(30) > goldbees ROC(30)):
buy stocks in nifty50 index which have ROC(30) > 30 and volume > 10,000,000
elif (niftybees ROC(30) < 3) and (niftybees ROC(30) < goldbees ROC(30)):
sell stocks and buy goldbees
else:
sell everything and buy liquidbees
Need help with afl before buying amibroker
Aucun commentaire:
Enregistrer un commentaire