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精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明