I recently listened to a “Better System Trader” podcast about Market Phases, where the person interviewed talked about 6 different market phases. I coded these quickly and thought I would share it with you. Feel free to add in any other ideas or code snippets you use to define market phases to improve your algos.
To use this snippet, I add the “and $mp[x]” to my buy conditions and then optimize x between 1-6, to see if any market phases are bad for the particular system.
Market Phases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//Market Phases
// based off https://www.youtube.com/live/pXxmhZsqbzA?si=UbPSOTYNvrVpvc-v
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok