Bác nào cover tradingview sang amibroker được không

Discussion in 'Thảo luận chung' started by DOAN VUNG, Jul 20, 2023.

Lượt xem : 985

  1. DOAN VUNG

    DOAN VUNG New Member

    Joined:
    Dec 6, 2022
    Messages:
    2
    Likes Received:
    0
    Gender:
    Male
    Bác nào cover tradingview sang amibroker được không. Code nay hay

    //@version=5
    strategy("Volty Expan Close Strategy", overlay=true)
    length = input(5)
    numATRs = input(0.75)
    atrs = ta.sma(ta.tr, length)*numATRs
    if (not na(close[length]))
    strategy.entry("VltClsLE", strategy.long, stop=close+atrs, comment = "VltClsLE")
    strategy.entry("VltClsSE", strategy.short, stop=close-atrs, comment = "VltClsSE")
    //plot(strategy.equity, title="equity", color=color.red, linewidth=2, style=plot.style_areabr)
     
  2. Loading...


Lượt bình luận : 0

Share This Page