OPEN-SOURCE SCRIPT

Edge of Momentum

The script was designed for the purpose of catching the rocket portion of a move (the edge of momentum).

Long

--When RSI closes over 60, take long order 1 tick above that bar. The closed bar above RSI 60 will be colored "green" or whatever color the user chooses. (RSI > 60)

--On a long position, exit will be a closed bar below the ema (low, 10) [input available]. The closed bar below the ema will be colored "yellow." (Price < ema)

--Note: On a long position there is no need to exit when a closed bar is colored "purple." RSI is just below 60 but above 40. Pullback or chop

Short

--When RSI closes below 40, take a short order 1 tick below that bar. The closed bar below RSI 40 will be colored "red." RSI<40)

--On a short position, exit will be a closed bar above the ema (low, 10). The closed bar above the ema will be colored "purple." (Price > ema)

--Note: On a short position there is no need to exit when a closed bar is colored "yellow."


Note: You may see a series of purple and yellow bars, that is simply chop. I define chop as RSI moving between 60 and 40.
Trade should only be taken above green colored candle(long) and below red colored candle (short). No position should be taken off yellow or purple candle (chop)

Again this is designed to catch the momentum part of a move, and to help reduce some entries during chop. It is a simple systems that beginning traders can use and profit from.

Note: I don't no shit about coding scripts I just learn from reading others.

Enjoy. If you decide to use please drop me a line...suggestions/comments, etc.

Best of luck in all you do.
Exponential Moving Average (EMA)exponentialmomentumstrategymovingRelative Strength Index (RSI)swingtradingTrend Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明