Professional Documents
Culture Documents
CPR + EMA Intraday Set Up
CPR + EMA Intraday Set Up
0 at
https://mozilla.org/MPL/2.0/
// © D_CryptoKnight
//@version=4
//study(title="CPR + Pivots+ EMA by Dhavs ", shorttitle="CPR+Pivots+EMA by Dhavs",
overlay=true)
one_day = 1000 * 60 * 60 * 24
new_day = daily_cpr > 0 and timenow - time < one_day * daily_cpr and new_bar("D")
dpp_ = new_period(new_day, dpp)
dtc_ = new_period(new_day, dtc)
dbc_ = new_period(new_day, dbc)
dR1_ = new_period(new_day, dR1)
dS1_ = new_period(new_day, dS1)
dR2_ = new_period(new_day, dR2)
dS2_ = new_period(new_day, dS2)
dR3_ = new_period(new_day, dR3)
dS3_ = new_period(new_day, dS3)
dPH_ = new_period(new_day, dPH)
dPL_ = new_period(new_day, dPL)
plot( timeframe.isintraday ? (dtc_ >= dbc_ ? dtc_ : dbc_) : na, title="Daily TC",
style= plot.style_circles , color=#ffffff, linewidth=1)
plot( timeframe.isintraday ? dpp_ : na, title="Daily PP", style=
plot.style_circles, color=#ffffff, linewidth=1)
plot( timeframe.isintraday ? (dtc_ >= dbc_ ? dbc_ : dtc_) : na, title="Daily BC",
style= plot.style_circles, color=#ffffff, linewidth=1)
//Weekly
//Monthly pvts
// @version=5
//study(title="Colored EMA", shorttitle="Intraday Strategy-Dhavs", overlay=true)
// Script settings
emaLength = input(title="EMA Length", defval=200, minval=2)
emaSource = input(title="EMA Source", defval=close)
// This source code is subject to the terms of the Mozilla Public License 2.0 at
https://mozilla.org/MPL/2.0/
// © D_CryptoKnight
//@version=2
study(title="Intraday-Dhavs", shorttitle="Intraday-Dhavs", overlay=true)
ema1 = input(20,title='EMA-20')
ema2 = input(50,title='EMA-50')
//fil