OPEN-SOURCE SCRIPT

Trend Trade ( in W, D, H, 15M )

Condition:
Uptrend, EMA5 > EMA8 > EMA13
Downtrend, EMA5 < EMA8 < EMA13

EMA# input can be changed by user.

Trading Plan:
1. Long in Uptrend when Price croseover EMA5;
Buy EMA5 + 0.03 (Do not wait for close), initial stop EMA13-0.03
If it is a big Gap up, do not chase. Let it go;

2. Short in Downtrend when Price croseunder EMA5;
Short EMA5 - 0.03 (Do not wait for close), initial stop EMA13+0.03
If it is a big Gap Down, do not chase. Let it go;

3. No target strategy in this study;

Back test Weekly, daily, hourly, 15M chart for ES1!, CL1!, GC1!, SPY, QQQ, TLT, IWM, XLF, XLK, XOP, GS, IBM, APPL, AMD, MMM, WBA
When side way move, Entry could be stopped quickly with small loss;
When entry in trending move, the position could be hold for a good range, and keep adding to winner.
Using this study, Futures and ETFs are better than single stock. Big Gap can break the trend, and trigger big stop loss;

This study is designed to join an existing trend. Try not use this in the time frame below 15 min.
To catch the turning point of a swing, Price action (Demand/Supply Confirmation) and trendlineBreak could be more accurate than EMA/SMA lines.
Exponential Moving Average (EMA)trend

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité