Tâche terminée
Temps d'exécution 3 jours
Commentaires de l'employé
He sets the deadline for the work to be 1 day, but checks the work for several days. I asked him several times to increase the deadline for completing the work, but in the end he insulted me.
Commentaires du client
Five stars. No comments . He only needs to learn how to use the right words to the right person. All the best.
Spécifications
indicator("Average Daily Range/Supply & Demand Zones/MarketMakerEMA's",overlay=true)
//@version=5
//plot(close)
// Inputs:
//
// Number of ADR Back - Set the number of calendar days back to plot historical ADR. The default value is 7.
// Non-trading days are not taken into account.
// A value of 7, for example, would display only 5 ADR for a 24x5 market.
// ADR Length parameter - Set the length parameter of ADR. The default value is 1.
//indicator(title="SD - Average Daily Range - Daily Weekly Monthly Yearly", shorttitle="BackTestAdrLevels", overlay=true)
daily_adr_10 = input.int(title="Number of ADR Back", defval=250, minval=0)
daily_adr_5 = input.int(title="Number of ADR Back", defval=250, minval=0)
daily_adr_length = input.int(title="ADR Length parameter", defval=1, minval=1)
new_bar(res) => ta.change(time(res)) != 0
new_period(condition, src) =>
result = 0.0
result := condition ? src : result[1]
result
adr(length) =>
range0 = high-low
ta.ema (range0[1], length)
adr_high(adr_length) =>
adr_ = adr(adr_length)
(high - low) < adr_ ? low + adr_ : close >= open ? low + adr_ : high
adr_low(adr_length) =>
adr_ = adr(adr_length)
(high - low) < adr_ ? high - adr_ : close >= open ? low : high - adr_
//
// Daily
//
day_adr_high = request.security(syminfo.tickerid, 'D', adr_high(daily_adr_length), lookahead=barmerge.lookahead_on)
day_adr_low = request.security(syminfo.tickerid, 'D', adr_low(daily_adr_length), lookahead=barmerge.lookahead_on)
one_day = 1000 * 60 * 60 * 6
new_day_10 = daily_adr_10 > 0 and timenow - time < one_day * daily_adr_10 and new_bar("D")
new_day_5 = daily_adr_5 > 0 and timenow - time < one_day * daily_adr_5 and new_bar("D")
day_adr_high_10 = new_period(new_day_10, day_adr_high)
day_adr_high_5 = new_period(new_day_5, day_adr_high)
day_adr_low_10 = new_period(new_day_10, day_adr_low)
day_adr_low_5 = new_period(new_day_5, day_adr_low)
plot(timeframe.isintraday or timeframe.isdaily ? day_adr_high_10 : na, title="Supply Zone", style=plot.style_circles, color=color.new(#c71f16,0), linewidth=3)
plot(timeframe.isintraday or timeframe.isdaily ? day_adr_low_10 : na, title="Demand Zone", style=plot.style_circles, color=color.new(#10590c,0), linewidth=3)
plot(timeframe.isintraday or timeframe.isdaily ? day_adr_high_5 : na, title="Supply Zone5",style=plot.style_circles, color=color.new(#c71f16,0), linewidth=3)
plot(timeframe.isintraday or timeframe.isdaily ? day_adr_low_5 : na, title="Demand Zone5", style=plot.style_circles, color=color.new(#10590c,0), linewidth=3)
Répondu
1
Évaluation
Projets
485
40%
Arbitrage
82
11%
/
63%
En retard
77
16%
Gratuit
Publié : 1 code
2
Évaluation
Projets
4
0%
Arbitrage
0
En retard
0
Gratuit
3
Évaluation
Projets
499
67%
Arbitrage
5
40%
/
0%
En retard
4
1%
Gratuit
Publié : 8 codes
4
Évaluation
Projets
355
72%
Arbitrage
7
43%
/
29%
En retard
20
6%
Travail
Informations sur le projet
Budget
30+ USD