Hi All,
I’m trying to construct an AUS version of my ETF strategy, and pretty sure I’m making a rookie error somewhere in the coding – anyone want to cast a brief eye over this?
Just trying to generate a simple buy / sell 200D MA strategy for one ETF – GEAR (just an example).
Pretty sure there’s an obvious error here, but I can’t wrap my head around it.
Import:
DataSource: Norgate
IncludeList: GEAR.AU
StartDate: 1/1/2003
EndDate: Latest
SaveAs: PBETF.rtd
Settings:
DataFile: PBETF.rtd
StartDate: 1/12/2013
EndDate: 12/31/2023
AccountSize: 20000
UseAvailableBars:False
BarSize: Daily
Data:
Trend: c>MA(C,200)
Alloc: item(“alloc{?}”, ?symbol)
Parameters:
AllocGEAR: 1
Strategy: AU ETF
Side: Long
EntrySetup: Trend
QtyType: Value
Quantity: S.Alloc * Alloc
MaxPositions: 1
Exitrule: not Trend
OrderSettings:
EndDate: 12/18/2023
OrdersMode:Text