SuddenFX

PA ScratchiCloud v2

580 0 95
I've added the central pivot (white line) for traders who like to trade mean reversion.

I've also added the hourly open so you can see which way price is trending. If price is above the hourly then look to take long breakouts. If under hourly look to take short breakouts.
Remove from Favorite Scripts Add to Favorite Scripts
// Based on the study by Golgistain
// Modified by CharlieMax for price action scalping

study(title="HB H/L", shorttitle="PA ScratchiCloud", overlay=true)
len = input(4, minval=1, title="Length")
len2 = input(4, minval=1,title="Length")
    
h = highest(len)
h1 = dev(h, len) ? na : h
hpivot = fixnan(h1)
   
openprice = valuewhen(minute == 0, security(ticker, "60", open), 0)
l = lowest(len2)
l1 = dev(l, len2) ? na : l
lpivot = fixnan(l1)

mean = (hpivot+lpivot)/2

plot(mean, color=white, linewidth=2)
plot(hpivot, color=green, linewidth=2)
plot(lpivot, color=red, linewidth=2)
plot(openprice, color=purple, linewidth=2)
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
Việt Nam
日本
한국
简体
繁體
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 My Support Tickets Priority Support Contact Support Ideas Published Followers Following Private Messages Chat Sign Out