OPEN-SOURCE SCRIPT

Simple Moving Average Crossover

已更新
This strategy uses two moving averages of 21 and 8 to generate buy or sell signal.

This is for purely intraday trades and best use in 15 min time frame

This strategy uses angle/slope of ma to filter out period of sideways movement and only generate signals when the stock starts trending in one direction


How to use this

1) Buy when the buy is generated

2) Sell when the sell is generated

Properties you can tweak to adjust this strategy to your needs are

1) angle -> Adjust this properties to define how much slope would be considered to generate the signals, higher the values lesser the trades generated.

2) atr period-> this is to adjust the atr period

3) ma source -> close is considered as source , you can use open or high or low
版本注释
Long means BUY
short means SELL
版本注释
just updated
crossoverintradayMoving Averagesprofitabletrending

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明