Trading view Pine script
Budget: $30 – $250 USD
You will code an automatic pattern indicator for Trading View based on this part #1 scope
scope is split into 5 parts
ONLY SENIOR CODER
DO NOT APPLY IF YOU ARE NOT SENIOR WITH HIGH EXPERIENCE
I WILL NOT ANSWER
start with the lowest point far in the past, let’s use BTC WEEKLY TF for example
this point must be an indisputable BOTTOM , we will call it Swing Low point
1- we test the next TOP candle week, till we find a TOP where the following Price action retraced by more than 30% (actually i use a fibo for this) this point will be called SWING HIGH
3- we trace a range from swing low point and swing high point
4-when a candle (not a wick) break this range, upper or lower, then we have to re adjust, says that we we have candle that break the Low of this range
then draw a line (i will give specified color code later) labelled "w" for weekly
this line will go from the swing low ---> to the candle who broke the range ( remember it have been broken on the low line of the range)
4-now we have a swing low point, and the BOS line labelled “W” going to the candle who broke the previous low range, you can delete the range created
5- we must find the new swing high point ( the highest TOP wick between the BOS line)
just get the highest TOP wick between the BOS line we just created, do not include the candle that is the starting point of the BOS (this is a rule exception)
6-now from the new swing high found, we must find the new Swing low, again we use the 30% retracement rule ( i use fibo in this case) and. test all the wick that are creating a BOTTOM till see which bottom retraced more than 30%
7- repeat from step 1 till the end of the graph
Note: we can start with a TOP also, then to find the swing low, use fibo30% but test Bottom
At the end of the cycle, when there no more candle to test , on the chart must appear only BOS, latest swing high and swing low (that will be basically if the indicator work well, the highest and lowest point of the chart TF) and the Weekly range (High / 50% / Low)
scope is split into 5 parts
ONLY SENIOR CODER
DO NOT APPLY IF YOU ARE NOT SENIOR WITH HIGH EXPERIENCE
I WILL NOT ANSWER
start with the lowest point far in the past, let’s use BTC WEEKLY TF for example
this point must be an indisputable BOTTOM , we will call it Swing Low point
1- we test the next TOP candle week, till we find a TOP where the following Price action retraced by more than 30% (actually i use a fibo for this) this point will be called SWING HIGH
3- we trace a range from swing low point and swing high point
4-when a candle (not a wick) break this range, upper or lower, then we have to re adjust, says that we we have candle that break the Low of this range
then draw a line (i will give specified color code later) labelled "w" for weekly
this line will go from the swing low ---> to the candle who broke the range ( remember it have been broken on the low line of the range)
4-now we have a swing low point, and the BOS line labelled “W” going to the candle who broke the previous low range, you can delete the range created
5- we must find the new swing high point ( the highest TOP wick between the BOS line)
just get the highest TOP wick between the BOS line we just created, do not include the candle that is the starting point of the BOS (this is a rule exception)
6-now from the new swing high found, we must find the new Swing low, again we use the 30% retracement rule ( i use fibo in this case) and. test all the wick that are creating a BOTTOM till see which bottom retraced more than 30%
7- repeat from step 1 till the end of the graph
Note: we can start with a TOP also, then to find the swing low, use fibo30% but test Bottom
At the end of the cycle, when there no more candle to test , on the chart must appear only BOS, latest swing high and swing low (that will be basically if the indicator work well, the highest and lowest point of the chart TF) and the Weekly range (High / 50% / Low)