Back to basics - how do I write 'custom logic' in WL 9? For example, create a strategy comparing average daily percentage price increase or loss for shares using linear regression of the last 20 days etc.
I see the indicators do not include linear regression now.
I see the indicators do not include linear regression now.
Rename
QUOTE:That sounds like a simple Rotation strategy (New Strategy > Rotation), but you could also give the AI Strategy Generator a shot at it:
how do I write 'custom logic' in WL 9?
And, if you need that as a Condition in Blocks, see Building BLocks > Conditions > Symbol Ranking by Indicator.
QUOTE:Search for it with the Filter -
I see the indicators do not include linear regression now.
Thanks Cone. No way can I create a strategy thus hoping I can manage it with AI. Attached screenshot mentions 'Load data'?
You'll need to enable a data provider that can deliver the data you're trying to backtest. Watch this WL University video about data...
https://youtu.be/STRx7fDXg3w
https://youtu.be/STRx7fDXg3w
Definitely watch the WL U. videos ^^^
But for this you're just a step away. Strategy Settings tab (hit F1 for help) > Portfolio Mode > select the DataSet > Run Backtest.
Also, for easily configurable options, you'd be better served by using a Rotation Strategy. New Strategy > Rotation, strike F1 for help with the settings.
But for this you're just a step away. Strategy Settings tab (hit F1 for help) > Portfolio Mode > select the DataSet > Run Backtest.
Also, for easily configurable options, you'd be better served by using a Rotation Strategy. New Strategy > Rotation, strike F1 for help with the settings.
Your Response
Post
Edit Post
Login is required