DEMOULIN

Ichimoku YD Strategy

146 0 9
Essai
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
strategy("Ichimoku YD Strategy", overlay=true)

// Définition des périodes et décalage
PeriodTenkan = input(9, minval=1),
PeriodBase = input(26, minval=1)
PeriodSenkouB = input(52, minval=1),
decalage = input(26, minval=1)

// Définition des lignes
donchian(len) => avg(lowest(len), highest(len))

Tenkan = donchian(PeriodTenkan)
Kijun = donchian(PeriodBase)
SenkouA = avg(Tenkan, Kijun)
SenkouB = donchian(PeriodSenkouB)

// Stratégie
if (close > Tenkan) 
    strategy.entry("Tenkan", strategy.long)
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out