mesandipchavan

EMA Strategy For Index Futures

260 0 14
This is a simple long-term strategy based on EMA crossover basically designed for Index futures
Remove from Favorite Scripts Add to Favorite Scripts
// @version=2
// Written By Sandip Chavan
// Use in 1D timeframe for NSE - BankNifty And Nifty
//
strategy("EMA Strategy", overlay=true)

longCondition = crossover(ema(close, 30), ema(close, 35))
if (longCondition)
    strategy.entry("Buy", strategy.long)

shortCondition = crossunder(ema(close, 30), ema(close,35))
if (shortCondition)
    strategy.entry("Sell", strategy.short)
United States
United Kingdom
India
Deutschland
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
中国
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Priority Support Ideas Published Followers Following Private Messages Chat Sign Out