DEMOULIN

Ichimoku YD Strategy

198 0 12
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)
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
ประเทศไทย
Việt Nam
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out