SeaSide420

ZendicatoR

Hull MA cross & Daily close cross

+ 3 MA's
Hilangkan dari Skrip-Skrip Favorit Tambahkan ke Skrip-Skrip Favorit
//@version=2
strategy("ZendicatoR", overlay=true, calc_on_order_fills= true, calc_on_every_tick=true, default_qty_type=strategy.percent_of_equity, default_qty_value=15, pyramiding=0)
dt = input(defval=0.0010, title="Decision Threshold", type=float, step=0.0001)
keh=input(title="Double HullMA Cross",type=integer,defval=7, minval=1)
che1=input(title="MA 1",type=integer,defval=34,minval=1)
che2=input(title="MA 2",type=integer,defval=144,minval=1)
che3=input(title="MA 3",type=integer,defval=377,minval=1)
amnt=input(title="TP ($)",type=integer,defval=4200,minval=1)
wma1=wma(close,che1)
wma2=wma(close,che2)
wma3=wma(close,che3)
tms=10000000000000
A=security(tickerid, 'D', close)*tms
B=security(tickerid, 'D', close[1])*tms
C=A>B?green:red
D=wma2>wma3?green:red
plot(wma1,style=line,color=C,linewidth=4)
p1=plot(wma2,style=line,color=D)
p2=plot(wma3,style=line,color=D)
fill(p1, p2, color=D, transp=75)
n2ma=2*wma(close,round(keh/2))
nma=wma(close,keh)
diff=n2ma-nma,sqn=round(sqrt(keh))
n2ma1=2*wma(close[2],round(keh/2))
nma1=wma(close[2],keh)
diff1=n2ma1-nma1,sqn1=round(sqrt(keh))
n1=wma(diff,sqn)*tms
n2=wma(diff1,sqn)*tms
closelong = A*tms<B*tms and n2*tms>n1*tms and strategy.openprofit>amnt
if (closelong)
    strategy.close("Long")
closeshort = A*tms>B*tms and n1*tms>n2*tms and strategy.openprofit>amnt
if (closeshort)
    strategy.close("Short") 
longCondition = A*tms>B*tms and n1*tms>n2*tms
if (longCondition)
    strategy.entry("Long",strategy.long)
shortCondition = A*tms<B*tms and n1*tms<n2*tms
if (shortCondition)
    strategy.entry("Short",strategy.short)

Komentar

does this strategy repaint?
+8 Jawab
Yes.
+4 Jawab
@cjszbd, whenever u saw profit factor more than 1.5-2, be alert...
what is the meaning to write indicator which repaint...?
useless hardworking and waste of time....
Jawab
SeaSide420 SumitJain
@SumitJain, please input correct code here to stop repainting *:/>*
+3 Jawab
SeaSide420 SumitJain
@SumitJain, has no repaint
Jawab
SeaSide420 SeaSide420
@SeaSide420, its a indicator i made not a chart
Jawab
I'm testing it and seems that works better in crypto than in indices. Of course, it's because of the volatility. Still, those stats are not the same for every volatile asset.
Jawab
Hello i like the coding you made very much. However , i have some problems , for example , Buy and Sell oders dont come at the time of the transaction., but come delayed . Sometimes it doesnt perceive oders and oders are formed 3-4 hours in advance. In addition , orders not arrive during day and every night between 1- 2 hours.what should i di to make the order arrive within days.i would apreciate it , if you answer my questions. Thank you
Jawab
This is gavno
Jawab
SeaSide420 coo1zero
@coo1zero, are you an expert about Gavno?
:D
Jawab
Beranda Penyaring Saham Penyaring Forex Penyaring Crypto Kalender Ekonomi Bagaimana Cara Kerjanya Fitur-Fitur Chart Harga Akun Refer seorang teman Tata Tertib Pusat Bantuan Solusi Website & Broker Widget-Widget Solusi Charting Perpustakaan Charting Ringan Blog & Berita Twitter
Profil Pengaturan Profil Akun dan Penagihan Teman yang di refer Koin Tiket Dukungan Saya Pusat Bantuan Ide Terpublikasikan Pengikut Mengikuti Pesan Pribadi Obrolan Keluar