New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Scan using multiple math equations
Hi, I am having trouble creating a scan with multiple equations. I was hoping someone could help. Here is what I am trying to achieve.
1. I want the close to have crossed above the following combined level, therefore
2. The level I want the close to exceed the sum of three periods and I have tried to express this in the following equation;
The average of yesterday's H/L/C times 2 minus yesterdays low, represented below;
[[[[Yesterday's High + Yesterday's Low + Yesterday's Close]/3]*2] - Yesterday's Low]
but that is not the end, I also want to add the average of two days ago H/L/C times 2 minus 2 days ago low, represented below;
+ [[[[2 days ago High + 2 days ago Low + 2 days ago close]/3]*2] – 2 days ago Low]
Finally, I want to add a third days average of three days ago H/L/C times 2 minus 3 days ago low, represented below;
+ [[[[3 days ago High + 3 days ago Low + 3 days ago close]/3]*2] - 3 days ago Low]/3]
I want cross above level to be represented by the equation output of the three days, not just the first day. That is why I have tried to group them in this manner.