OPEN-SOURCE SCRIPT

Triple SMA Strategy with entries based on sma price closes

Hi! :)

This strategy is made for intraday trades, especially on 5 sec - 5 min charts to follow the trend.

I have not tested on higher timeframes, but feel free to play with the values.

I have set a basic value for the 3 SMA at
-200
-400
-600

We will use an oscillator for entries which is not mine. Link ->
https://www.tradingview.com/script/5Aoz0yMh-Stochastic-based-on-Closing-Prices-Identify-and-Rank-Trends/

The oscillator mentioned above is just for visualization purposes, You do not need to get the signals, but You can see how scripts are generated with different values.

When the price above/below all the 3 SMA and oscillator crosses above/below "value you set" - You will get the buy or sell signal.
Your stop will be where the slowest SMA is.

Pyramiding is set for 10.

You can manually set 3 take profit and quantity levels.
Basic values are 1 %, 2 %, and 6 % for taking profits - You can change it based on how volatile the asset is.
Basic quantity values are 30 % at each level.


Hope You find it useful :)
Simple Moving Average (SMA)smastrategytestingTrend Analysistrends

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é