TradingView
rhawshemi
2020年11月4日午後5時42分

Borjas Tarh Horizontals S/R 

GBP/JPYOANDA

詳細

Borjas Tarh Horizontals


Automatically Plot Horizontals Support and Resistance.

In the Setting, you should optimize the values according to each time frame of the ticker.


Pivot Length : Number of bars to use to calculate pivot
Max Breaks : Maximum number of times a line can be broken before it's invalidated
Max Distance % : Maximum distance PA can move away from line before it's invalidated
Frontrun/Overshoot Threshold % : If PA reverses within this distance of an existing S&R line, consider it a Frontrun / Overshoot


You can copy it and make it better.
コメント
Vishant_Meshram
Hi ! Can you help me how to draw lines from (H+L)/2 i.e., midpoint of red or green bar instead of auto populated S R levels which are getting drawn on chart.
Instead of highest/ lowest (ph = m == highest(c, bl) ? true : false or pl = m == lowest(c, bl) ? true : false) I want midpoint of signal red or green bar.
How to change code so that, it will draw lines from red or green bar midpoint ( say every big red or green bar which is more than 150% larger than lookback period of 50 bars). Please guide. Thanks.
THELEGENDSINGH
great bro :)
MEHDICHIMOKU
Thanks bro for the indicator, just one question, how can i make every pivot show the price value, because now its only the line i want to add price + % up / down

Thank youuu
The_Gunslinger
Thanks for this! Is there a way to be able to set an alert when a new s/r line is created?
MovingTargetGo
Thanks for the effort! Why do I get these errors when I try to save to the Chart?

line 88: The function 'anonym_function_0' should be called on each calculation for consistency. It is recommended to extract the call from the ternary operator or from the scope.

line 88: The function 'anonym_function_1' should be called on each calculation for consistency. It is recommended to extract the call from the ternary operator or from the scope.

Line 87: isbreakfailure() =>
Line 88: issfp(sr01) ? true : issfp(sr02) ? true : issfp(sr03) ? true : issfp(sr04) ? true : issfp(sr05) ? true : issfp(sr06) ? true : issfp(sr07) ? true : issfp(sr08) ? true : issfp(sr09) ? true : issfp(sr10) ? true : issfp(sr11) ? true : issfp(sr12) ? true : issfp(sr13) ? true : issfp(sr14) ? true : issfp(sr15) ? true : isfros(sr01) ? true : isfros(sr02) ? true : isfros(sr03) ? true : isfros(sr04) ? true : isfros(sr05) ? true : isfros(sr06) ? true : isfros(sr07) ? true : isfros(sr08) ? true : isfros(sr09) ? true : isfros(sr10) ? true : isfros(sr11) ? true : isfros(sr12) ? true : isfros(sr13) ? true : isfros(sr14) ? true : isfros(sr15) ? true : false
TarikO
Is this working for you?
I cannot set it up for 30min timeframe.
Please help.
rhawshemi
@TarikO, You should play with the inputs to find what is the best numbers for each timeframe.
詳細