Hausky

Hausky Simple MA Strategy EURUSD 1H

Dilihat 1075
78
Here is my simple Moving Average crossover strategy for EURUSD 1H
Hilangkan dari Skrip-Skrip Favorit Tambahkan ke Skrip-Skrip Favorit
//@version=2
strategy("Hausky Simple MA Strategy", overlay=true)
fastLength = input(11)
slowLength = input(26)
price = close

mafast = sma(price, fastLength)
maslow = sma(price, slowLength)

if (crossover(mafast, maslow))
    strategy.entry("MA2CrossLE", strategy.long, comment="MA2CrossLE")
    strategy.exit("MA2CrossLE", profit = 1040, trail_points = 731) 

if (crossunder(mafast, maslow))
    strategy.entry("MA2CrossSE", strategy.short, comment="MA2CrossSE")
    strategy.exit("MA2CrossSE", profit = 1040, trail_points = 731) 

//plot(strategy.equity, title="equity", color=red, linewidth=2, style=areabr)

Komentar

Beranda Penyaring Saham Penyaring Forex Penyaring Crypto Kalender Ekonomi Bagaimana Cara Kerjanya Fitur-Fitur Chart Harga Akun Refer seorang teman Tata Tertib Pusat Bantuan Solusi Website & Broker Widget-Widget Solusi Charting Perpustakaan Charting Ringan Blog & Berita Twitter
Profil Pengaturan Profil Akun dan Penagihan Teman yang di refer Koin Tiket Dukungan Saya Pusat Bantuan Ide Terpublikasikan Pengikut Mengikuti Pesan Pribadi Obrolan Keluar