MarxBabu

STOCHASTICS

232 1 14
Can some Pine Sript editor help me to get the following needs

When blue==Red and below overbought line and blue just crosses above redline plot up arrow
when blue == red and above overbought line and blue started corrosing above to below on the redline plot down arrow

The code is here,only plotshape need to be added


Remove from Favorite Scripts Add to Favorite Scripts
For this request Mr.Ricardo replied with update
very perfect

RicardoSantos PROUSDWTI4 hours ago
@MarxBabu add this to the bottom of the script:

ma = sma(stoch, lengthMA)
arrow_green = crossover(stoch, ma) and ma < over_sold ? ma : na
arrow_red = crossunder(stoch, ma) and ma > over_bought ? ma : na
plotshape(series=arrow_green, title='B', style=shape.triangleup, location=location.absolute, color=green, size=size.normal)
plotshape(series=arrow_red, title='S', style=shape.triangledown, location=location.absolute, color=red, size=size.normal)

Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Forex Signal Finder 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 Account and Billing Sign Out