4x2 Strategy
Author: rremick
Creation Date: 10/15/2012 2:11 PM
profile picture

rremick

#1
I am new to Wealth Lab and would like to create a strategy(assuming its not here somewhere) that says if a stock is down 4 days in a row, buy at the open of the 5th day and sell at the close of the 6th day. Like to then test other variables as well but would as like to at least get a basic strategy. What documentation would best tell me how to code it?
profile picture

Eugene

#2
Why not use the Rule Wizard then?

profile picture

rremick

#3
Eugene, appreciate the fast reply. I will try that but I do want to learn to code it anyway as I assume there will be much more flexibility. Where/what documentation would be best for me to read.
profile picture

Eugene

#4
Do you notice the "Open Code in new Strategy Window" button? The code output would not be necessarily as terse as if one'd code it manually, but it's a good way to learn.

Documentation:

* WealthScript Programming Guide
* QuickRef tool (F11)
* FAQ | Strategies and WealthScript > How do I start with C# ?
profile picture

Eugene

#5
Additionally, a similar code-based strategy is bundled with Wealth-Lab: "3x2 System" from the Chart Patterns folder.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).