GrantPeace

Grant's PSAR Signal

Open and close signals for long positions on XJO             .
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
strategy("Grant's PSAR Signal", overlay=true)

start = input(0.013)
increment = input(0.005)
maximum = input(0.2)

psar = sar(start, increment, maximum)

if (psar > high)
    strategy.entry("ParLE", strategy.long, stop=psar, comment="Buy Long")
else
    strategy.cancel("ParLE")

if (psar < low)
    strategy.exit("ParSE", stop=psar, comment="Close Long")
else
    strategy.cancel("ParSE")

//plot(strategy.equity, title="equity", color=red, linewidth=2, style=areabr)
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out