Uneeb

Transient Zones and Recurrent Zones by M.Uneeb

441 3 40
This is a Transient and Recurrent Zone Script. Study the following links to dig deeper in to this statistical idea:
  • http://penguintraders.com/2014/12/11/transient-recurrent-zones/

  • http://www.forexfactory.com/showthread.php?t=509195

  • https://lgtrades.wordpress.com/2014/08/18/transient-bars/

  • http://penguintraders.com/forums/topic/the-similarity-system-discussion/

  • https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0ahUKEwifvPm7g6bRAhUKqo8KHXJzDK0QFgggMAE&url=http%3A%2F%2Fwww.forexfactory.com%2Fattachment.php%3Fattachmentid%3D1551651&usg=AFQjCNH3Dt9-TGrA5h0hC1oSYUweEH6DGg

  • http://www.forexfactory.com/showthread.php?t=434603

  • http://forex0k.blogspot.my/2015/09/forex-strategy-transient-zones.html
Remove from Favorite Scripts Add to Favorite Scripts
I tested it but it seems useless unfortunately. Why do the big arrows appear so late? They appear/ paint long after the moves have been made. Thanks though
Reply
@M0101X, Hi, yap you are right the arrows are meant to be appear in past data when move is done, it helps to predict next move. please visit the following website for your better understanding. Good Luck. http://revolutionarybinar.wixsite.com/financialtrading/transient-zones-and-recurrent-zones
Reply
I will reveal the actual script of this Transient Zones and Recurrent Zones here in this comment:

//Start of code
//TZ and RZ percent occurrence by Muhammad Uneeb
study("Transient Zones and Recurrent Zones by M.Uneeb", "TZ and RZ by M.Uneeb", overlay=true)

//inputs
h_left = input(title="H left", type=integer, defval=10)
h_right = input(title="H right", type=integer, defval=10)
sample_period = input(title="Sample bars for % TZ", type=integer, defval=5000)
show_ptz = input(title="Show PTZ", type=bool, defval=true)
show_channel = input(title="Show channel", type=bool, defval=true)

//barCount = nz(barCount) + 1
//check history and realtime PTZ
h_left_low = lowest(h_left)
h_left_high = highest(h_left)
newlow = low <= h_left_low
newhigh = high >= h_left_high
plotshape(newlow and show_ptz, style=shape.triangledown, location=location.belowbar, color=red)
plotshape(newhigh and show_ptz, style=shape.triangleup, location=location.abovebar, color=green)
channel_high = plot(show_channel ? h_left_low : 0, color=silver)
channel_low = plot (show_channel ? h_left_high : 0, color=silver)

//check true TZ back in history
central_bar_low = low
central_bar_high = high
full_zone_low = lowest(h_left + h_right + 1)
full_zone_high = highest(h_left + h_right + 1)
central_bar_is_highest = central_bar_high >= full_zone_high
central_bar_is_lowest = central_bar_low <= full_zone_low
plotarrow(central_bar_is_highest ? -1 : 0, offset=-h_right-1)
plotarrow(central_bar_is_lowest ? 1 : 0, offset=-h_right-1)

//TZ probability calc
x = central_bar_is_highest ? 1 : 0
high_bar_tz_count = cum(x)

y = central_bar_is_lowest ? 1 : 0
low_bar_tz_count = cum(y)

total_tz = high_bar_tz_count + low_bar_tz_count
percent_tz_high = (high_bar_tz_count / sample_period) * 100
//plot(percent_tz_high, color = lime, transp=100)
percent_tz_low = (low_bar_tz_count / sample_period) * 100

//plot(low_bar_tz_count, color=red, transp=100)
percent_total_tz = (percent_tz_high + percent_tz_low)
plot(percent_total_tz, color=black, transp=100)

//PTZ probability calc
i = newhigh ? 1 : 0
high_bar_ptz_count = cum(i)

j = newlow ? 1 : 0
low_bar_ptz_count = cum(j)
total_ptz = high_bar_ptz_count + low_bar_ptz_count
percent_ptz_high = (high_bar_ptz_count / sample_period) * 100

//plot(percent_ptz_high, color=green, transp=100)
percent_ptz_low = (low_bar_ptz_count / sample_period) * 100

//plot(percent_ptz_low, color=maroon, transp=100)
percent_total_ptz = (percent_ptz_high + percent_ptz_low)
plot(percent_total_ptz, color=navy, transp=100)

//PTZ resolving probability calc
percent_ptz_resolved = (1 - (total_tz / total_ptz)) * 100
plot(percent_ptz_resolved, color=gray, transp=100)

//Median Channel
plot(show_channel ? (h_left_high + h_left_low) / 2 : 0, color=silver)

//MA 20
MA20 = interval > 1500 ? na : isintraday ? security(ticker, "1", sma(close,20)) : na
plot(MA20, color=blue, style=line, title="MA 20")

//MA 50
MA50 = interval > 1500 ? na : isintraday ? security(ticker, "1", sma(close,50)) : na
plot(MA50, color=red, style=line, title="MA 50")

//End of Code

You all can follow my website to learn how to apply this strategy in Binary Options Trading!
The relevant link of this particular strategy is as follows:
http://revolutionarybinar.wixsite.com/financialtrading/transient-zones-and-recurrent-zones
Reply
United Kingdom
United States
India
Deutschland
España
France
Việt Nam
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Support Priority Support Report Issue Ideas Published Followers Following Private Messages Chat Sign Out