MakisMooz

Open Close Middle Line Chart Overlay PineScript v.1.0

244 2 13
Finds Open Close Middle Points.
Comment: Finds Open Close Middle Points.
Plots overlay the financial instrument chart an Open Close Middle Points Line.
General purpose script.

How to Use it
Add to Favorite Scripts.
Inside Chart window Right Click.
Select Insert Indicator -> Favorites -> Script Name
SCRIPTS
https://www.tradingview.com/study-script-reference/#op_{question}{colon}


IF current close > previous close then
Indicator Value = +1 else Indicator Value = -1
Comment: <-- THIS IS THE CORRECT INFO -->

Open Close Middle Line Chart Overlay PineScript v.1.0
Finds Open Close Middle Points.
Plots overlay the financial instrument chart an Open Close Middle Points Line.
General purpose script.

How to Use it
Add to Favorite Scripts.
Inside Chart window Right Click.
Select Insert Indicator -> Favorites -> Script Name
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
// Open Close Middle Line Chart Overlay PineScript v.1.0
// by gerasimos mouzakitis
// build 1 30 Sep 2015

study("Open Close Middle Line v.1.0", overlay = true)
c = close >= open ? green : red
// candlestick Open Close Middleline
candlestick_Open_Close_Middle_Point = close >= open ? open + (close - open) / 2 : close + (open - close) / 2
plot(candlestick_Open_Close_Middle_Point, color = c)

Hi,
could you make this with bigger timeframe calculation than the current one? Example: Daily bars calculation in lower timeframe...
Thanks
DK
Reply
MakisMooz DanielKovacik
Do you want to plot open - close middle in a daily chart for EURUSD?
+1 Reply
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
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