synapticEx

Fractal Support Resistance (Fixed Volume) 2

Fractal Support Resistance (Fixed Volume ) 2

http://synapticex.com
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
//synapticex.com
study("Fractal Support Resistance", shorttitle="FSR", overlay=true)
tf = input(title="Resolution", type=resolution, defval = "current")
vamp = input(title="VolumeMA", type=integer, defval=6)
vam = sma(volume, vamp)

up = high[3]>high[4] and high[4]>high[5] and high[2]<high[3] and high[1]<high[2] and volume[3]>vam[3]
down = low[3]<low[4] and low[4]<low[5] and low[2]>low[3] and low[1]>low[2] and volume[3]>vam[3]
fractalup =  up ? high[3] : fractalup[1] 
fractaldown = down ? low[3] : fractaldown[1]

fuptf = security(tickerid,tf == "current" ? period : tf, fractalup)
fdowntf = security(tickerid,tf == "current" ? period : tf, fractaldown)

plot(fuptf, "FractalUp", color=lime, linewidth=1, style=cross, transp=0, offset =-3, join=false)
plot(fdowntf, "FractalDown", color=red, linewidth=1, style=cross, transp=0, offset=-3, join=false)

Comments

Thankyou so much!! May i ask, what is the difference between Red line and Green Line?
+48 Reply
@tonyyunz, The red line is Demand, green line is Supply
Reply
updated?
+8 Reply
Does anyone have this indicator for metaTrader 4 ?
Reply
Thanks :)
Reply
Is this the latest version? Thanks.
Reply
synapticEx TonyCampbell
lol absolutely. If you find an error let me know. Thanks.
Reply
TonyCampbell synapticEx
OK......great, thanks. I googled this S/R for background info....articles etc, but didn't find much......do you know of anything?
Reply
synapticEx TonyCampbell
what do you want to know?
+2 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out