找回密码
 立即注册
楼主: A5影视论坛

[动作] [香港][终极猎杀][高清MKV/DVDRip.x264/1.4G]1994年[粤语中字幕][百度云网盘资源下载]

 火.. [复制链接]
  • TA的每日心情
    擦汗
    4 天前
  • 签到天数: 682 天

    [LV.9]榜眼

    0

    主题

    1万

    回帖

    341万

    积分

    三品督御史

    积分
    3411088
    发表于 2022-1-20 21:41:56 | 显示全部楼层
    主,我身在江湖
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2021-7-11 16:11
  • 签到天数: 1 天

    [LV.1]书童

    0

    主题

    1461

    回帖

    19万

    积分

    二品巡抚

    积分
    193241
    发表于 2022-3-16 20:40:29 | 显示全部楼层
    感谢楼主分享
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    0

    主题

    13

    回帖

    4万

    积分

    四品知府

    积分
    42289
    发表于 2022-4-12 23:27:10 | 显示全部楼层
    感谢资源分享
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    0

    主题

    51

    回帖

    10万

    积分

    二品巡抚

    积分
    102125
    发表于 2022-7-30 18:09:35 | 显示全部楼层
    // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
    // © PtGambler

    //@version=5
    strategy("[Pt] Premarket Breakout Strategy", shorttitle="PM Break Strategy", overlay=true, pyramiding=1, initial_capital=4000, commission_type=strategy.commission.cash_per_contract, slippage = 3)

    // ******************** Trade Period **************************************
    startY = input(title='Start Year', defval=2011, group = "Trading window")
    startM = input.int(title='Start Month', defval=1, minval=1, maxval=12, group = "Trading window")
    startD = input.int(title='Start Day', defval=1, minval=1, maxval=31, group = "Trading window")
    finishY = input(title='Finish Year', defval=2050, group = "Trading window")
    finishM = input.int(title='Finish Month', defval=12, minval=1, maxval=12, group = "Trading window")
    finishD = input.int(title='Finish Day', defval=31, minval=1, maxval=31, group = "Trading window")
    timestart = timestamp(startY, startM, startD, 00, 00)
    timefinish = timestamp(finishY, finishM, finishD, 23, 59)
    t1_session = input.session("0945-1545", "Entry Session", group="Sessions")
    t1 = time(timeframe.period, t1_session)
    window = time >= timestart and time <= timefinish and t1 ? true : false


    margin_req = input.float(11, title="Margin Requirement / Leverage", step=0.1, group = "Trading Options")
    reinvest = input.bool(defval=false,title="Reinvest profit", group = "Trading Options")
    reinvest_percent = input.float(defval=100, title = "Reinvest percentage", group="Trading Options")

    //-------------------------------------------------------------------------------------
    profit = strategy.netprofit

    trade_amount = math.floor(strategy.initial_capital*margin_req / close)

    BSLE() =>
        strategy.opentrades > 0 ? (bar_index - strategy.opentrades.entry_bar_index(strategy.opentrades-1)) : na

    BSLEx() =>
        strategy.opentrades == 0 ? (bar_index - strategy.closedtrades.exit_bar_index(strategy.closedtrades-1)) : na

    if strategy.netprofit > 0 and reinvest
        trade_amount := math.floor((strategy.initial_capital+(profit*reinvest_percent*0.01))*margin_req/ close)
    else
        trade_amount := math.floor(strategy.initial_capital*margin_req / close)


    // ***************************************************************************************************** Daily ATR *****************************************************
    atrlen = input.int(14, minval=1, title="ATR period", group = "Daily ATR")
    iPercent = input.float(1.6, minval=0.01, maxval=100, step=0.2, title="% ATR to use for SL / PT", group = "Daily ATR")


    percentage = iPercent * 0.01
    datr = request.security(syminfo.tickerid, "1D", ta.rma(ta.tr, atrlen))
    datrp = datr * percentage

    atr = ta.rma(ta.tr, atrlen)


    // --------------------------------------------- Pre-market Session HL ------------------------------------====
    pm_session = input.session("0900-0930", "Pre-Market Session", group="Sessions")
    pm_t = time(timeframe.period, pm_session)

    var pm_h = 0.0
    var pm_l = 9999.9

    if pm_t
        pm_h := high > pm_h ? high : pm_h
        pm_l := low < pm_l ? low : pm_l

    pm_range = pm_h - pm_l

    bgcolor(pm_t?color.new(color.white,95):na)

    // ------------------------------------------------ Stochastic RSI --------------------------------------------------------

    string TT_stochLen =    "For 1 min time frame, use default 14." + "\nFor 5 min time frame, use 3."

    smoothK = input.int(3, "K", minval=1, group = "Stochastic RSI")
    smoothD = input.int(3, "D", minval=1, group = "Stochastic RSI")
    lengthRSI = input.int(14, "RSI Length", minval=1, group = "Stochastic RSI", tooltip = TT_stochLen)
    lengthStoch = input.int(14, "Stochastic Length", minval=1, group = "Stochastic RSI", tooltip = TT_stochLen)
    src = input(close, title="RSI Source")
    rsi1 = ta.rsi(src, lengthRSI)
    k = ta.sma(ta.stoch(rsi1, rsi1, rsi1, lengthStoch), smoothK)
    d = ta.sma(k, smoothD)


    // -------------------------------------------------------- RSI MA Cross -----------------------------------------------------

    ma(source, length, type) =>
        switch type
            "SMA" => ta.sma(source, length)
            "Bollinger Bands" => ta.sma(source, length)
            "EMA" => ta.ema(source, length)
            "SMMA (RMA)" => ta.rma(source, length)
            "WMA" => ta.wma(source, length)
            "VWMA" => ta.vwma(source, length)

    len = input.int(14, minval=1, title="RSI Length", group="RSI Settings")
    len2 = input.int(3, title="Smooth period", group="RSI Settings")
    maType = input.string("SMA", title="MA Type", options=["SMA", "Bollinger Bands", "EMA", "SMMA (RMA)", "WMA", "VWMA"], group="RSI Settings")
    malen = input.int(100, title="MA Length", group="RSI Settings")

    up = ta.rma(math.max(ta.change(src), 0), len)
    down = ta.rma(-math.min(ta.change(src), 0), len)
    rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
    rsiSM = ta.sma(rsi,len2)
    rsiMA = ma(rsi, malen, maType)

    rsi_bull = rsiSM > rsiMA and rsi > 50 and rsi > rsiSM
    rsi_bear = rsiSM < rsiMA and rsi < 50 and rsi < rsiSM


    // --------------------------------------------- Define Trend - PM HL breakout -------------------------------------------------------------------

    var trend = 0

    // reset trend at PM
    if pm_t
        trend := 0
    else
        trend := trend == 0 ? (close > pm_h ? 1 : close < pm_l ? -1 : 0) : trend
       
    plot(trend,"Trade direction")

    //---------------------------------------------------------------------------------------------------------------

    stoch_h_limit = input.int(82, "Stochastic K must be above before entry", group="Entry parameters")
    stoch_l_limit = input.int(18, "Stochastic K must be above before entry", group="Entry parameters")

    plot(time(timeframe.period, "0930-1600:23456") or pm_t? pm_h : high, title="PM High", color= time(timeframe.period, "0930-1600:23456") or pm_t? color.blue : color.new(color.black,100), linewidth=2, trackprice = true)
    plot(time(timeframe.period, "0930-1600:23456") or pm_t? pm_l : low, title="PM Low", color= time(timeframe.period, "0930-1600:23456") or pm_t? color.orange : color.new(color.black,100), linewidth=2, trackprice = true)


    // ------------------------------------------------------------ Entry --------------------------------------------

    var traded = false

    L_entry1 = trend == 1 and traded == false and d[1] < stoch_l_limit and ta.crossover(k,d)
    S_entry1 = trend == -1 and traded == false and d[1] > stoch_h_limit and ta.crossunder(k,d)

    if L_entry1 and window
        strategy.entry("Long", strategy.long,trade_amount)
        traded := true

    if S_entry1 and window
        strategy.entry("Short", strategy.short,trade_amount)
        traded := true

    // ------------------------------------------------------------- SL & PT -------------------------------------------
    RRR = input.float(2.0, "Reward to Risk Ratio", step=0.1, group="Trading Options")

    entry_price = strategy.opentrades.entry_price(0)

    L_SL = entry_price > pm_h ? pm_l - datrp : entry_price - pm_range - datrp
    S_SL = entry_price < pm_l ? pm_h + datrp : entry_price + pm_range + datrp

    L_risk = entry_price - L_SL
    S_risk = S_SL - entry_price

    L_PT = entry_price + L_risk * RRR
    S_PT = entry_price - S_risk * RRR

    p0 = plot(strategy.opentrades.size(0) == 0 ? close : entry_price, "Entry Price", color= strategy.opentrades.size(0) == 0 ? na : color.gray, linewidth=1)
    p1 = plot(strategy.opentrades.size(0) > 0? L_SL : low, "Long SL", color= (t1 or pm_t) and strategy.opentrades.size(0) > 0 and BSLE() > 0? color.red : color.new(color.black,100), linewidth=3)
    p2 = plot(strategy.opentrades.size(0) > 0? L_PT : high, "Long PT", color= (t1 or pm_t) and strategy.opentrades.size(0) > 0 and BSLE() > 0? color.green : color.new(color.black,100), linewidth=3)
    p3 = plot(strategy.opentrades.size(0) < 0? S_SL : high, "Long SL", color= (t1 or pm_t) and strategy.opentrades.size(0) < 0 and BSLE() > 0? color.red : color.new(color.black,100), linewidth=3)
    p4 = plot(strategy.opentrades.size(0) < 0? S_PT : low, "Long PT", color= (t1 or pm_t) and strategy.opentrades.size(0) < 0 and BSLE() > 0? color.green : color.new(color.black,100), linewidth=3)

    fill(p1, p0, color.new(color.red,95))
    fill(p2, p0, color.new(color.green,95))
    fill(p3, p0, color.new(color.red,95))
    fill(p4, p0, color.new(color.green,95))

    // ------------------------------------------ Exit ----------------------------------------------------------

    L_exit1 = d > 80 and strategy.opentrades.profit(0) <=0 and rsi_bear
    S_exit1 = d < 20 and strategy.opentrades.profit(0) <=0 and rsi_bull


    if strategy.opentrades.size(0) > 0
        strategy.exit("Exit", "Long", limit=L_PT, stop=L_SL)
        if L_exit1
            strategy.close("Long", comment="Exit Early")

    if strategy.opentrades.size(0) < 0
        strategy.exit("Exit", "Short", limit=S_PT, stop=S_SL)
        if S_exit1
            strategy.close("Short", comment="Exit Early")   



    if time(timeframe.period, "1555-1600:23456") or time(timeframe.period, "0755-0800:23456")
        strategy.close_all()
        traded := false
        pm_h := 0.0
        pm_l := 9999.9
    回复 支持 反对

    使用道具 举报

  • TA的每日心情

    1 小时前
  • 签到天数: 1293 天

    [LV.10]状元

    1

    主题

    3744

    回帖

    274万

    积分

    三品督御史

    积分
    2742780

    最佳新人活跃会员铜币达人灌水之王金币达人

    发表于 2022-7-30 18:21:45 | 显示全部楼层

    感谢支持支持支持
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2023-9-5 07:55
  • 签到天数: 1 天

    [LV.1]书童

    0

    主题

    476

    回帖

    25万

    积分

    一品尚书

    积分
    259926

    最佳新人活跃会员铜币达人金币达人

    发表于 2022-8-3 22:08:01 | 显示全部楼层
    双方各,健康;。恐龙;‘、看;olygjkhg
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    郁闷
    2023-1-25 23:22
  • 签到天数: 1 天

    [LV.1]书童

    0

    主题

    17

    回帖

    7万

    积分

    四品知府

    积分
    72669
    发表于 2023-1-28 00:57:07 | 显示全部楼层
    感谢楼主分享
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    昨天 08:04
  • 签到天数: 773 天

    [LV.10]状元

    3

    主题

    1030

    回帖

    135万

    积分

    三品督御史

    积分
    1358104
    发表于 2023-2-3 15:44:43 | 显示全部楼层
    没有国语版的嘛。。。
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    0

    主题

    2

    回帖

    1524

    积分

    九品主薄

    积分
    1524
    发表于 2023-2-10 12:01:56 | 显示全部楼层
    楼主666,感谢分享!!!!!!!!!!!!!!!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    昨天 08:04
  • 签到天数: 773 天

    [LV.10]状元

    3

    主题

    1030

    回帖

    135万

    积分

    三品督御史

    积分
    1358104
    发表于 2023-2-17 09:40:07 | 显示全部楼层



                  这个有点黄。。。
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    Archiver|手机版|小黑屋|A5影库

    GMT+8, 2025-5-3 08:15 , Processed in 0.315561 second(s), 35 queries .

    免责声明:A5影视论坛(WWW.A5LT.COM)全站所有资源均收集自互联网,没有提供影片资源存储,也未参与录制等。若本站收录的资源涉及您的版权或知识产权或其他利益,请附上版权证明邮件告知,在收到邮件后48小时内删除【站长邮箱:179420592@qq.com】

    快速回复 返回顶部 返回列表