OPEN-SOURCE SCRIPT
Updated J-BUY & SELL

Introduction
I have been tracking the technical indicator for a long time. In my experience, I have tried various combinations of the existing indicators in the chart but have not been able to get satisfactory results.
The trend analysis method needs a lot of focus and time. Therefore, rather than speculating the future trend, I focused on building a code which will be continuous in terms of indications and remove the speculation out of the strategy. Hence, allow for automation.
Indicator Strategy
This is a simple, yet powerful indicator primarily based on price action and its relationship with SMAs .
Each candle is compared with the moving averages and the output is shown as a buy and sell signal through Up & Down arrows. Up arrow is a buy indicator and Down arrow is a sell indicator.
However, you might see in some case there is no Buy or Sell signals indication on the candle. No worries, please follow the previous signal in these cases.
How to add the indicator into your chart
1. Click the “Indicators” tab in the Trading view chart Tool Bar.
2. In the “Indicator & Strategies” menu, click on Public Library option.
3. Search for the “J-BUY & SELL” in the search box.
4. Add the indicator by clicking on the result.
How to add Buy & Sell alert
In addition to the indicator, you can also set BUY & SELL alerts for any of the stock/ index/ commodities etc.
1. Hover your mouse cursor over the indicator on the chart.
2. Click on the three dots captioned as “More”
3. Choose the option “Add alert on J-BUY & SELL”
4. You can choose the alert “Buy Bar/ Sell Bar or both as per your requirement by pressing the “Create” button.
Change the Color of the Up & Down arrows
For changing the color of the arrows, please “double click” on the arrow and the color as per your choice.
I have been tracking the technical indicator for a long time. In my experience, I have tried various combinations of the existing indicators in the chart but have not been able to get satisfactory results.
The trend analysis method needs a lot of focus and time. Therefore, rather than speculating the future trend, I focused on building a code which will be continuous in terms of indications and remove the speculation out of the strategy. Hence, allow for automation.
Indicator Strategy
This is a simple, yet powerful indicator primarily based on price action and its relationship with SMAs .
Each candle is compared with the moving averages and the output is shown as a buy and sell signal through Up & Down arrows. Up arrow is a buy indicator and Down arrow is a sell indicator.
However, you might see in some case there is no Buy or Sell signals indication on the candle. No worries, please follow the previous signal in these cases.
How to add the indicator into your chart
1. Click the “Indicators” tab in the Trading view chart Tool Bar.
2. In the “Indicator & Strategies” menu, click on Public Library option.
3. Search for the “J-BUY & SELL” in the search box.
4. Add the indicator by clicking on the result.
How to add Buy & Sell alert
In addition to the indicator, you can also set BUY & SELL alerts for any of the stock/ index/ commodities etc.
1. Hover your mouse cursor over the indicator on the chart.
2. Click on the three dots captioned as “More”
3. Choose the option “Add alert on J-BUY & SELL”
4. You can choose the alert “Buy Bar/ Sell Bar or both as per your requirement by pressing the “Create” button.
Change the Color of the Up & Down arrows
For changing the color of the arrows, please “double click” on the arrow and the color as per your choice.
Release Notes
Added some more line items.Release Notes
Some upgradations to the code.Release Notes
Some more additions.Release Notes
Added new updates. Happy Trading!!Release Notes
Some improvements and additional lines. Happy Trading!! Release Notes
Added some improvements in the code. HAPPY TRADING!!Release Notes
Updated with RSI EMA comparison.Release Notes
UpdatedRelease Notes
UpdatedRelease Notes
UpdatedOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.