Taxman 2 posts msg #138348 - Ignore Taxman |
9/24/2017 8:50:35 PM
I would like to create a search if possible that would work on a 90 day chart that would identify and count the occurance of 4 up days, (green candles) followed in a row.
If doesn't matter what happended on the 6th day.
If there were 11 up days, or any number over 5 in a row it would only be counted and identified as one occurance.
It should begin with a down day or a day where the open and close are the same.
Here is the logic in computer verbiage:
if the close on day 1 is <= to the open on day 1 then begin testing
begin
if close on day 2 is > close on day 1
and close on day 3 is > close on day 2
and close on day 4 is > close on day 3
and close on day 5 is > close on day 4
Then Highlight,(underline or just identify on chat chart)
Increase MyCount by 1
Start the process again so that every day in the 90 day chart is accounted for. Again the process should identify for upticks in a row.
It should list every chart where there is at least 1 occurance in a row.
Any help would be greatly appreciated. If somethine similar exist pleas direct me to it.
|