yourmattie

Open Close Cross Strategy R6.1 revised by yourmattie

‎4108‎ مشاهدة
424
Original version: Open Close Cross Strategy R5 revised by JustUncle.


Change: script changed to a study script with custom alerts.

This revision is an open Public release, with just some minor changes. It is a revision of the Strategy "Open Close Cross Strategy R2" originally published by @JayRogers.
Revised by JustUncleL


Description:
Strategy based around Open-Close Moving Average Crossovers optionally from a higher time frame.

Read more about the indicator original script
Klik here


##USE AT YOUR OWN RISK##

Use this as overlayer on the original strategy to set custom alerts.
Info: with this study script no buy/sell arrows show up op the chart.

Does some know a solution for this issue:
Issue: sometimes it gives a false signal because even when you set "one per bar close" the custom set alert might come halfway the bar....and it might be a false signal when the bar is closed
Does somone know a fix for this? I tried with barstate.iscomfirmed but it didn't work for me.

Ps. I'm not a developer...just changed the scipt by watching a youtube tutorial.
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟

التعليقات

To avoid repaint, you can just use an offset in security function here.

reso(exp, use, res) => use ? security(tickerid, res, exp, gaps=barmerge.gaps_off, lookahead=barmerge.lookahead_on) : exp

Instead of this, use

reso(exp, use, res) => use ? security(tickerid, res, exp, gaps=barmerge.gaps_off, lookahead=barmerge.lookahead_on) : exp

Have some explanation in one of script on how to avoid repainting in strategies:
+2 رد
yourmattie HeWhoMustNotBeNamed
@HeWhoMustNotBeNamed, thanks for the advice, but if I lookt at the line of code that you gave me: both are the same😅
Could you give me the correct line of code?
It will be really helpful.
Thanks!

Or is this the correct code?
f_secureSecurity(_symbol, _res, _src) => security(_symbol, _res, _src, lookahead = barmerge.lookahead_(xxx)) : exp

(Xxx)= should i put there "on" or "off"?
رد
@yourmattie, oh sorry. It looks like square brackets are not allowed in the comments and it TV is automatically removing it.

Instead of exp use exp(1). This means you will be using last confirmed bar for calculation instead of current bar.

Note: replace with square brackets.
+3 رد
can we know what are the differences between your version and JustUncle version ?

Does it repaint at the moment ?

Thank you.
رد
yourmattie LucaTortiglione
@LucaTortiglione, yes, as you can see in the notes. I changed the script from strategy to study. With this change you can set custom alerts on buy and sell signals😁
رد
Does it repaint?
Can it be use for all markets and all time frame?
رد
yourmattie Mriruvie
@Mriruvie, yes it is repaind. And yes it can be used for all markets on all time frame.

It works for me really good with 3commas bot.

If you want a non repaind let me know...
رد
Mriruvie yourmattie
@yourmattie, I want non repaint indicator that can work very well on crypto market and all time frames
رد
lovelycococo yourmattie
@yourmattie,
I want non repaint indicator,
me too.
رد
sdatir yourmattie
@yourmattie, Yes I want please give access to no repaint version
رد
الصفحة الرئيسية منصة الأسهم منصًة العملات منصّة العملات الرقمية جدول الأعمال الاقتصادي حول مميزات الرسم البياني أسعار العضوية إحالة صديق قوانين الموقع مركز المساعدة حلول المواقع الإلكترونية والوسطاء الأدوات حلول الرسوم البيانية مكتبة الرسوم البيانية صغيرة الحجم المدوّنة والأخبار تويتر
ملف التعريف إعدادات الصفحة الشخصية الحساب وإعداد الفواتير الأصدقاء المُحالون العملات الافتراضية تذاكر الدعم الخاصة بي مركز المساعدة رسالة خاصة المحادثة تسجيل الخروج