Franklin ATR Bar highlight by els (robotfarm.ru)

319 0
Script highlights signal bars for tfc3.ru school trading strategy. Working timeframe D.
Remove from Favorite Scripts Add to Favorite Scripts
study("Franklin barcolor ATR ", overlay=true)
i = input(title="Размер между хаем и (1=close, 2=high/low)", type=integer, defval=1)
a = input(title="Кол-во ATR для размера", type=integer, defval=1)
o = input(title="Макс. отступ в ATR от EMA", type=integer, defval=3)
atrover= high-atr(15)*a
atrunder= low+atr(15)*a
isover() => (i==2?low:close) < atrover and close>ema65 and close-ema65<atr(15)*o
isunder() => (i==2?high:close) > atrunder and close<ema65 and ema65-close<atr(15)*o
barcolor(isover() ? orange: na)
barcolor(isunder() ? purple: na)
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Get Help Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing TradingView Coins My Support Tickets Get Help Ideas Published Followers Following Private Messages Chat Sign Out