uno= high[8] < high[7] AND high[7] < high[6]
// low croissant
uno1 = low[8] < low[7] AND low[7] < low[6]
due = high[6] > high[5] AND high[5] > high[4] AND high[4] >= high[3]
due1 = low[6] > low[5] AND low[5] > low[4] And low[4] > low[3]
tre = high[3] < high[2] AND high[2] < high[1] AND high[1] > high
tre1 = low[3] < low[2] AND low[2] < low[1] AND low[1] > low
unolow= high[8] > high[7] AND high[7] > high[6]
unolow1 = low[8] > low[7] AND low[7] > low[6]
duelow = high[6] < high[5] AND high[5] < high[4] AND high[4] <= high[3]
duelow1 = low[6] < low[5] AND low[5] < low[4] And low[4] < low[3]
trelow = high[3] > high[2] AND high[2] > high[1] AND high[1] < high
trelow1 = low[3] > low[2] AND low[2] > low[1] AND low[1] < low
IF uno and due and tre and uno1 and due1 and tre and tre1 then
Ross=1
Elsif unolow and duelow and trelow and unolow1 and duelow1 and trelow and trelow1 then
Ross=-1
ELSE
Ross = 0
Endif
SCREENER[Ross]