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

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項