4XRandalll

5X EMA Trend Follower

////////////////////////////////////////////////////////////
// Copyright by Randalll.com v1.0 09/03/2016
// This indicator provides 5 Exponential Moving Averages.
// Works well on 1D,4H,1H TF
// To be used with traditional trend following strategies.
// Example
// If 50/100/200 trending in same direction. Then buy/sell
// with trend direction. Use PA, pinbar , news catalyst
// or pullback to 50E for Entry signal.
// Use 2x ATR for SL, set no TP. Ride the trend to the end.
// Exit when 10 crosses 20, or 20 crosses 50
// in volitile markets.
// As always use at your own risk and stay awesome.
// by randalll.com
////////////////////////////////////////////////////////////
study(title="5X EMA Trend Follower", overlay=true)
short1 = ema (close, 10)
short2 = ema (close, 20)
long1 = ema (close, 50)
long2 = ema (close, 100)
long3 = ema (close, 200)
plot(short1, color = green)
plot(short2, color = red)
plot(long1, color = blue)
plot(long2, color = purple)
plot(long3, color = black)
Remove from Favorite Scripts Add to Favorite Scripts
////////////////////////////////////////////////////////////
//  Copyright by Randalll.com v1.0 09/03/2016
//    This indicator provides 5 Exponential Moving Averages.
//    Works well on 1D,4H,1H TF
//    To be used with traditional trend following strategies. 
//  Example
//    If 50/100/200 trending in same direction. Then buy/sell
//    with trend direction. Use PA, pinbar or news catalyst
//    for Entry signal.
//    Use 2x ATR for SL, set no TP. Ride the trend to the end.
//    Exit when 10 crosses 20, or 20 crosses 50 
//    in volitile markets.
//    As always use at your own risk and stay awesome.  
//    by randalll.com 
////////////////////////////////////////////////////////////
study(title="5X EMA Trend Follower", overlay=true)
short1 = ema(close, 10)
short2 = ema(close, 20)
long1 = ema(close, 50)
long2 = ema(close, 100)
long3 = ema(close, 200)
plot(short1, color = green)
plot(short2, color = red)
plot(long1, color = blue)
plot(long2, color = purple)
plot(long3, color = black)
hi...randall, how to put this to MT4 ?
Reply
I have not tried writing any script for MT4 as I don't use it. (I use Oanda's FX Trader). I will have a look and see.
Reply
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