Hệ thống CM Sling Shot

Tác giả:ChaoZhang, Ngày: 2022-05-07 16:35:49
Tags:EMA

Hệ thống Sling Shot + Hệ thống thậm chí còn tốt hơn.

Tôi nhận được email này về một hệ thống theo dõi xu hướng bán với giá 1000 đô la nhưng tôi có thể nhận được nó vào ngày đó chỉ với 500 đô la!!!

Tôi xem video cho thấy hệ thống tuyệt vời này mà có thể tôi đã mất cả một phút để tìm ra mã.

Tôi mã hóa nó. và Hey... nó không phải là một hệ thống xấu. nó tốt cho những người có thể cần một tín hiệu vào để có được họ trong một xu hướng di chuyển, và giữ cho họ trong một xu hướng di chuyển trong khi cung cấp một dừng xác định.

Vì vậy, tôi nghĩ rằng tôi sẽ tiết kiệm cho cộng đồng giá rất công bằng chỉ 500 đô la cho một hệ thống bao gồm một vài EMA và một vài quy tắc... và cung cấp cho bạn miễn phí.

Xem liên kết bên dưới cho biểu đồ chính cho thấy hệ thống thứ hai!!!

backtest

img


/*backtest
start: 2021-05-06 00:00:00
end: 2022-05-05 23:59:00
period: 15m
basePeriod: 5m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//Created by ChrisMoody on 10-05-2014
//Known as SlingShot Method that keeps Traders on Trending Side of Market.
study("CM_SlingShotSystem", overlay=true)
sae = input(true, title="Show Aggressive Entry?, Or Use as Alert To Potential Conservative Entry?")
sce = input(true, title="Show Conservative Entry?")
st = input(true, title="Show Trend Arrows at Top and Bottom of Screen?")
def = input(false, title="Only Choose 1 - Either Conservative Entry Arrows or 'B'-'S' Letters")
pa = input(true, title="Show Conservative Entry Arrows?")
sl = input(true, title="Show 'B'-'S' Letters?")

//EMA Definitions
emaSlow = ta.ema(close, 62)
emaFast = ta.ema(close, 38)
//Aggressive Entry or Alert To Potential Trade
pullbackUpT() => emaFast > emaSlow and close < emaFast
pullbackDnT() => emaFast < emaSlow and close > emaFast
//Conservative Entry Code For Highlight Bars
entryUpT() => emaFast > emaSlow and close[1] < emaFast and close > emaFast
entryDnT() => emaFast < emaSlow and close[1] > emaFast and close < emaFast
//Conservative Entry True/False Condition
entryUpTrend = emaFast > emaSlow and close[1] < emaFast and close > emaFast ? 1 : 0
entryDnTrend = emaFast < emaSlow and close[1] > emaFast and close < emaFast ? 1 : 0
//Define Up and Down Trend for Trend Arrows at Top and Bottom of Screen
upTrend = emaFast >= emaSlow
downTrend = emaFast < emaSlow
//Definition for Conseervative Entry Up and Down PlotArrows
codiff = entryUpTrend == 1 ? entryUpTrend : 0
codiff2 = entryDnTrend == 1 ? entryDnTrend : 0
//Color definition for Moving Averages
col = emaFast > emaSlow ? color.lime : emaFast < emaSlow ? color.red : color.yellow
//Moving Average Plots and Fill
p1 = plot(emaSlow, title="Slow MA", style=plot.style_linebr, linewidth=4, color=col)
p2 = plot(emaFast, title="Slow MA", style=plot.style_linebr, linewidth=2, color=col)
//fill(p1, p2, color=silver, transp=50)


if sl and codiff
    strategy.entry("SELL", strategy.short)
else if sl and codiff2
    strategy.entry("BUY", strategy.long)
    
    
    

Có liên quan

Thêm nữa