MarxBabu

STOCHASTICS

364 1 23
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
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 Contact Support Ideas Published Followers Following Private Messages Chat Sign Out