I have been looking into candlestick patterns but am having a little trouble. I am trying to combine a bearish pattern (three crows) but only apply it when the stocks price is within the lower third of its 52 week low.
How do i accomplish this in the drag and drop interface?
Size:
Color:
The Rules Wizard has its limitations and it seems that expressing this idea may be one of them. Therefore this can be accomplished in Strategy code. How do you define if a stock is at its
lower third of the 52 week low, precisely? Is this the distance between the current close and the yearly low divided into thirds, like the reddish 'cloud' in this example?
CODE:
Please log in to see this code.
Size:
Color:
Lower third example
52 Week High= 100$
52 Week Low= 1$
if the price is between 1$ and 33$ it is in the lower third
Size:
Color:
I got it right so there you have it.
To combine my code above with the candlestick pattern of your choice, check out the WealthScript Programming Guide chapter > WealthLab.Rules Classes > Candlesticks.
Size:
Color: