ceyhun

Accurate Swing Trading System

Accurate Swing Trading System
הערות שחרור: bugs fixed
הסר מסקריפטים מועדפים הוסף לסקריפטים מועדפים

תגובות

Hi ceyhun,

Thank you for your work.

I placed these two lines at the end of your script and created the alerts but they fail to trigger, am I missing something?
alertcondition(Buy, title='Alert on Buy', message='Buy!')
alertcondition(Sell, title='Alert on Sell', message='Sell!')
+17 השב
does the signal repaint?
+14 השב
Best timeframe charts for intraday ?
+11 השב
if any chance plz bilt multy accurate swing
like 15 m & 5 m if 15 trend bullish-5 m is buy=long
if 15 trend bullish -5 m is sell=long cover
15 trend =bearish -5 m is sell = short sell
15 trend = bearish -5 m is buy = short cover
+2 השב
ceyhun GANTAKRISH
@GANTAKRISH, thank
I am trying to test Mtf
השב
ceyhun GANTAKRISH
@GANTAKRISH, I don't understand from MTF, but I wrote a formula like this

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © ceyhun

//@version=4
strategy("Accurate Swing Trading System Strategy MTF by ceyhun",overlay=true)

D_High1 = security(syminfo.tickerid, '15', high)
D_Low1 = security(syminfo.tickerid, '15', low)
D_Close1 = security(syminfo.tickerid, '15', close)
D_Open1 = security(syminfo.tickerid, '15', open)

D_High2 = security(syminfo.tickerid, '5', high)
D_Low2 = security(syminfo.tickerid, '5', low)
D_Close2 = security(syminfo.tickerid, '5', close)
D_Open2 = security(syminfo.tickerid, '5', open)

no=input(3,title="Swing")
Barcolor=input(false,title="Barcolor")
Bgcolor=input(false,title="Bgcolor")

res1=highest(D_High1,no)
sup1=lowest(D_Low1,no)
avd1=iff(D_Close1>res1,1,iff(D_Close1<sup1,-1,0))
avn1=valuewhen(avd1!=0,avd1,0)
tsl1=iff(avn1==1,sup1,res1)

res2=highest(D_High2,no)
sup2=lowest(D_Low2,no)
avd2=iff(D_Close2>res2,1,iff(D_Close2<sup2,-1,0))
avn2=valuewhen(avd2!=0,avd2,0)
tsl2=iff(avn2==1,sup2,res2)

Long15 = D_Close1>tsl1
Long5 = D_Close2>tsl2
Longcover15 = D_Close1<tsl1
Longcover5 = D_Close2<tsl2

shortsell15 = D_Close1>tsl1
shortsell5 = D_Close2<tsl2
shortcover15 = D_Close1<tsl1
shortcover5 = D_Close2>tsl2

colr1 = D_Close1>=tsl1 ? color.blue : D_Close1<=tsl1 ? color.purple : na
colr2 = D_Close2>=tsl2 ? color.green : D_Close2<=tsl2 ? color.red : na

plot(tsl1, color=colr1, linewidth=3, title="TSL 15M")
plot(tsl2, color=colr2, linewidth=3, title="TSL 5M")

barcolor(Barcolor ? colr1 : na)
bgcolor(Bgcolor ? colr1 :na)
barcolor(Barcolor ? colr2 : na)
bgcolor(Bgcolor ? colr2 :na)

if Long15 and Long5
strategy.entry("Long", strategy.long, comment="Long")

if Longcover15 and Longcover5
strategy.entry("Short", strategy.short, comment="Short")

//if shortsell15 and shortsell5
//strategy.entry("Short Sell", strategy.long, comment="Short Sell")

//if shortcover15 and shortcover5
//strategy.entry("Short Cover", strategy.short, comment="Short Cover")
השב
sir can u add filters to avoid noice & chach major trend in this code like rsi filter &stocostick filter
+1 השב
please give demo for how to use this system, I am new into market.
+1 השב
ceyhun yogi1012
@yogi1012, The trading or investing logic is simple.... buy on close above 3 days high and sell on close below 3 days low.
השב
does this repaint?
השב
בית סורק מניות סורק מט"ח סורק מטבעות-קריפטו יומן כלכלי איך זה עובד‏ תכונות גרף מחירון הפנה חבר חוקי הבית מרכז תמיכה כלים לאתרים וברוקרים יישומונים פתרונות גרפיים ספריית גרפים קלי משקל בלוג וחדשות טוויטר‏
פרופיל הגדרות פרופיל חשבון וחיוב חברים מופנים מטבעות לשוניות התמיכה שלי מרכז תמיכה רעיונות שפורסמו עוקבים עוקב הודעות פרטיות צ'אט התנתק